[Qt-interest] Critical bug: QWidgets with size > 16383 break on OS X
Nikos Chantziaras
realnc at arcor.de
Thu Jun 24 10:26:58 CEST 2010
On 06/13/2010 12:47 AM, Nikos Chantziaras wrote:
> I thought the maximum size of a QWidget in Qt4 was something like 2^24
> (16 million-something) pixels on all platforms. But on OS X, this isn't
> the case. I have a widget inside a QScrollView, and that widget can grow
> very big in the Y (height) dimension (it's a text display where new text
> is added at the bottom all the time.) Heights over 40000 are not uncommon.
>
> However, on Mac OS X, I'm busted. When the widget grows over 16383
> pixels in height, it wraps back to 8191, and my application gets very
> messed up. Note that QWIDGETSIZE_MAX is 16777215 on OS X too, so this
> shouldn't happen.
I've opened a bug about this a while ago:
http://bugreports.qt.nokia.com/browse/QTBUG-11415
I'm surprised to see no one at least confirmed the bug, given the
seriousness of it. :-/
More information about the Qt-interest-old
mailing list