Hi all,

It appears that bug #210912 is still present in the Qt-4.5.0-tp1  
version of Qt for MacOS/X.  (in the bug-tracker it says it was "Fixed  
for 4.4.x")

Specifically, if you run the following program, and then minimize the  
window to the Dock and then un-minimize it, and then repeat, you will  
only ever see one "ShowEvent" message printed to stdout.  Expected  
behavior is to have "ShowEvent" printed every time the window is un- 
minimized.

This bug would be a bit of a show stopper if left unfixed, so I hope  
you can fix it before the 4.5.0 "real" release!

Thanks,
Jeremy

-----------------------------

#include <QWidget>
#include <QApplication>

class MyWidget : public QWidget
{
public:
    MyWidget() {/* empty */}

    virtual void showEvent(QShowEvent * e) {QWidget::showEvent(e);  
printf("ShowEvent!\n");}
    virtual void hideEvent(QHideEvent * e) {QWidget::hideEvent(e);  
printf("HideEvent!\n");}
};

int main(int argc, char *argv[])
{
     QApplication application(argc, argv);

     MyWidget w;
     w.show();
     return application.exec();
}


_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to