Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.10.0
-
None
-
Detected on Qt 5.10, Windows 7 64, mingw 5.3.
No problem on Qt 5.10 (Linux) and Qt 5.9.3 (Windows and Linux)
Description
Example:
Main window override cursor and execute dialog
void MainWindow::on_pushButton_clicked() { QApplication::setOverrideCursor(Qt::WaitCursor); TestDialog d; d.exec(); }
Dialog restore cursor
void TestDialog::setVisible(bool visible)
{
QDialog::setVisible(visible);
if (visible)
QApplication::restoreOverrideCursor();
}
In this particular case (restoreOverrideCursor after QDialog::setVisible) dialog still have WaitCursor
Attachments
Issue Links
- duplicates
-
QTBUG-65001 REG 5.9->5.10/Windows: Override cursors are not restored when nested or in dual monitor setup
- Closed