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

QWidget::setCursor doesn't update the cursor correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.2, 5.1.1, 5.2.0 Alpha
    • Fix Version/s: 5.2.0
    • Component/s: GUI: Look'n'Feel
    • Labels:
    • Environment:
      OS X 10.8
    • Commits:
      d1114669e301e35cc4e9b2e4c8c4b9476180fb56

      Description

      The attached example creates a toplevel widget with a label that has a tool tip.
      It gives the toplevel widget a crosshair cursor.

      Qt 4: the widget and the label have crosshair cursor. when the tool tip appears, hovering over the tool tip shows arrow cursor, hovering elsewhere over the widget/label shows crosshair

      Qt 5.0.2: when moving the mouse in the widget, it keeps the arrow cursor until the mouse moves over the label, which changes the cursor to crosshair, also when then moving to the toplevel widget away from the label. when the tool tip appears, the mouse cursor is changed to arrow. when it vanishes, it stays arrow, and only switches to crosshair again when moving over the label.

      Qt 5.1.1 and 5.2: The mouse cursor is an arrow cursor everywhere and whatever is done.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              sorvig Morten Sørvig
              Reporter:
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes