Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40122

Windows: Cursor change not propagated after closing modal dialog

    XMLWordPrintable

    Details

      Description

      See attached example.

      After showing a modal dialog, a call to QWidget::setCursor or QApplication::setOverrideCursor remains without effect. This is not the case if the cursor is shown in response to a button click, menu item etc.

      Please don't ask me to call QCoreApplication::processEvents. That is an unacceptable hack with potentially disastrous results, as it is largely unknown what code will be called by this low-level function.

        Attachments

        1. qtbug40122_5.log
          4 kB
        2. qtbug40122_diag5.diff
          3 kB
        3. qtbug40122.zip
          2 kB
        4. WaitCursor.zip
          2 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-40122
          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                peppe Giuseppe D'Angelo
                Reporter:
                jam Jakob Magiera
              • Votes:
                5 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes