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

NonClientAreaMouseButtonRelease is not generated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • Some future release
    • 4.7.0
    • Core: Event loop
    • None
    • MacOSX 10.6.5

      I think this is very major issue with the way how QT handles events on the mac. Steps to reproduce:

      • Create QMainWindow
      • Intercept event method
      • Put console messages for NonClientAreaMouseButtonPress and NonClientAreaMouseButtonRelease

      Mouse down on window title will generate NonClientAreaMouseButtonPress.
      Mouse up on window title will generate NonClientAreaMouseButtonRelease.

      Mouse down on one of the buttons in title bar (such as close or minimize) will generate NonClientAreaMouseButtonPress.
      Move out the mouse pointer from the button and release it.
      NonClientAreaMouseButtonRelease - is not generated. As a result - child widgets do not receive mouse messages anymore, since mouse was captured but not released.

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

            Unassigned Unassigned
            matveev-ruslan Ruslan Matveev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes