[Interest] screen number problem on windows...

Alban Pellet alban.pellet at sescoi.fr
Wed May 2 15:45:26 CEST 2012


Since Qt 4.8.0 QWidget::restoreGeometry function doens’t restore the widget on the right screen.

The bug has been reported on september 9 2011, https://bugreports.qt-project.org/browse/QTBUG-21371
but it’s still on “not evaluated” state....
the problem seems to come from new added #ifndef Q_WS_WIN at line 7130 in QWidget.cpp for restoreGeometry function, to correct another bug....

// Skip on windows: the window is restored into a broken
// half-maximized state.
#ifndef Q_WS_WIN
setGeometry(restoredNormalGeometry);
#endif

Is there a way to make this bug taken in consideration, because it’s very annoying to use Qt applications on Dual screens (designer, assistant, and all Qt applications linked

with Qt 4.8.0 and 4.8.1...

Thanks in advance for responses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120502/f72eed26/attachment.html>


More information about the Interest mailing list