Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
Windows 7, Qt 5.1, MSVC 2010.
-
72259baa76a0f1faa1983c720621676e9c15e15f (dev, 4.2.2014, 5.3), revert c3e416296a1026d7ba99cf209f5e0720ff5050b1 (6.6.2014, stable, 5.3.1?), a1c5198387fdb7db44a02bb94c56187874e67304 6.6.2014, stable, 5.3.1?)
Description
Widgets now receive two move events per move. The first (correct) one is synchronous with the move and reports the correct pos and oldP. The second one occurs during the next event loop due to QGuiApplicationPrivate::processGeometryChangeEvent() and has incorrect coordinates, perhaps due to the offset of the title bar.
I've attached a small example app.
Note that this is a possible duplicate of bug QTBUG-25631, but I am experiencing this issue in Qt 5.1, though I was not experiencing it in Qt 4.8.x
Attachments
Issue Links
- is duplicated by
-
QTBUG-36232 Qt 5 changes QEvent::Move behavior on Windows
- Closed
- relates to
-
QTBUG-25631 QWidget::move() function make widget move twice, one with incorrect coordinates
- Closed
-
QTBUG-38768 When a widget is programatically resized then it will trigger a spontaneous event even though the event did not originate from the system
- Closed
-
QTBUG-30744 QWidget receives two resizeEvent's before its first paintEvent
- Closed
- replaces
-
QTBUG-36232 Qt 5 changes QEvent::Move behavior on Windows
- Closed