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

Application override cursor fails to take effect upon re-entering application window during mouse drag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.2.1
    • GUI: Look'n'Feel
    • None
    • OS X 10.6 and 10.9
    • macOS

    Description

      The application override cursor fails to take effect upon re-entering an application window during a mouse drag that was initiated within that window.

      The problem can be reproduced by running the MainWindow Application example (qtbase/examples/widgets/mainwindows/application) on Mac OS X, with a QApplication::setOverrideCursor(Qt::OpenHandCursor) call added to the MainWindow constructor.

      The open hand cursor is correctly displayed while the cursor moves within the boundaries of the main window.

      However:

      Initiate a mouse drag within the window and leave the window during the drag; the cursor changes to an arrow as it exits. Continue the drag, moving the cursor back within the window. The arrow cursor continues to be displayed until the conclusion of the mouse drag rather than being replaced with the open hand cursor as it re-enters the window.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            mkegan Melissa Egan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes