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
          Friedemann Kleint
        2. qtbug40122_diag5.diff
          3 kB
          Friedemann Kleint
        3. qtbug40122.zip
          2 kB
          Friedemann Kleint
        4. WaitCursor.zip
          2 kB
          Jakob Magiera

        Issue Links

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

          Activity

            People

              peppe Giuseppe D'Angelo
              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