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

QApplication::mouseButtons out of sync after drag operation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 4.7.1, 5.0.0 Beta 2
    • Core: Event loop
    • None
    • Mac 10.6.6
      Ubuntu 12.04

    Description

      QApplication's internal state gets out of sync with respect to mouseButtons. This happens after a Drop has occured. The QEvent::MouseButtonRelease is never sent for the mouse release which triggered the drop.

      I've attached a modification of the standard dnd demo which demonstrates. The small window shows the state of the buttons, if you click-hold-release in an empty spot it toggles on and off normally. if you click on an image it triggers the DnD and the LMB state gets stuck on.

      Attachments

        Issue Links

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

          Activity

            People

              paeglis Gatis Paeglis
              chris.grebeldinger Chris Grebeldinger
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes