[Qt-interest] [4.5 BUG] QGraphicsSimpleTextItem update
Mihail Naydenov
mlists at ymail.com
Wed Apr 15 12:34:56 CEST 2009
Right now if a the text, displayed with QGraphicsSimpleTextItem is chaged (setText())
AND the old and the new texts, both have the same bounding rect, the Item is not updated (repainted):
if (br != boundingRect) {
q->prepareGeometryChange();
boundingRect = br;
q->update();
}
This is a bug, because in many situations two strings can have the same rect, but be different
*especially* with numbers!
MihailNaydenov
More information about the Qt-interest-old
mailing list