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

QApplication::mouseButtons out of sync after drag operation

XMLWordPrintable

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

      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.

        1. draggableicons.tar.gz
          1023 kB
          Chris Grebeldinger
        2. QTBUG-16635.zip
          4 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes