Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.5.3, 4.6.0
-
None
-
-
0481c2dfbbcc59b76bde3f72fbe6d1e4003c913a
Description
When first showing a fullscreen widget and then hiding it and showing a normal sized widget, then the dock and menubar will remain hidden for the normal sized window.
Taking the focus off the application brings the dock and menubar back.
#include <QtGui> class Widget : public QWidget { Q_OBJECT public: Widget() { QTimer::singleShot(3000, this, SLOT(testSlot())); QTimer::singleShot(5000, this, SLOT(testSlot2())); QTimer::singleShot(7000, this, SLOT(testSlot3())); } public slots: void testSlot() { hide(); } void testSlot2() { dialog = new QDialog(0); dialog->showFullScreen(); } void testSlot3() { dialog->hide(); show(); } private: QDialog *dialog ; }; #include "main.moc" int main(int argc, char **argv) { QApplication app(argc, argv); Widget box; box.show(); return app.exec(); }
This bug was fixed in Qt 4.3.3, but is now present again in Cocoa.
See: http://qt.nokia.com/developer/task-tracker/index_html?id=179882&method=entry