[Qt-interest] setUnifiedTitleAndToolBarOnMac and Cocoa Qt cause problems

Israel Brewster israel at frontierflying.com
Tue Jul 21 17:56:54 CEST 2009


Anyone? Anyone? Ok, so I realize this is a somewhat obscure usage  
case, but I wouldn't have though it would be so obscure as to get no  
response :-)
-----------------------------------------------
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/20090721/a8d252df/attachment.bin 
-------------- next part --------------


On Jul 14, 2009, at 1:37 PM, Israel Brewster wrote:

> 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
> -----------------------------------------------
> <Israel Brewster.vcf>
> < 
> testWindow 
> .cpp 
> > 
> < 
> testWindow 
> .h><testWindow.pro>_______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list