[Qt-interest] setUnifiedTitleAndToolBarOnMac and Cocoa Qt cause problems
Israel Brewster
israel at frontierflying.com
Tue Jul 14 23:37:26 CEST 2009
Using the setUnifiedTitleAndToolBarOnMac option with a cocoa build of
Qt appears to cause issues when attempting to save/restore window
positions. With this combination, when attempting to restore the size
and position of a window, the window invariably (at least on my
machine) appears shifted and/or resized. This is the case when using
any of the standard resize options, such as setGeometry(),
restoreGeometry() or resize() and move(). Using a carbon build all
methods work properly, as does the Cocoa build when not using the
unified title and toolbar option. Is the
setUnifiedTitleAndToolBarOnMac option deprecated with the cocoa build?
Or is this a bug? I have attached a QTest test case demonstrating
these issues.
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 397 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090714/4277b917/attachment.bin
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testWindow.cpp
Type: application/octet-stream
Size: 3770 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090714/4277b917/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testWindow.h
Type: application/octet-stream
Size: 495 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090714/4277b917/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testWindow.pro
Type: application/octet-stream
Size: 260 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090714/4277b917/attachment-0002.obj
More information about the Qt-interest-old
mailing list