Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
4.8.1
-
None
-
Mac OS X 10.6.8, Qt Creator 2.4.1, i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Description
Sample:
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QtCore/QDebug> #include <QtGui/QMoveEvent> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pushButton_clicked() { move(100, 100); } void MainWindow::moveEvent(QMoveEvent* e) { qDebug() << e->pos(); }
After pushButton clicked output:
QPoint(100,99) - strange point
QPoint(100,100) - why twice?
Attachments
Issue Links
- relates to
-
QTBUG-32590 two move events per move call, one in subsequent message loop
- Closed