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

Context Menu closed when clicking into an area without any widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.2
    • 5.1.0
    • None
    • OS:
      Arch Linux
      Linux ryoga 3.9.9-1-ARCH #1 SMP PREEMPT Wed Jul 3 22:45:16 CEST 2013 x86_64 GNU/Linux
      Window Manager:
      xfce4 4.10, xfce4-Window-Manager with X11
    • 76de1ac0a4cd384f608a14b5d77a8cf3ef1ec868

    Description

      Clicking outside the main window and outside andy widget when having a Context Menu open, results in closing the Context Menu.
      That's expected.
      But there are weird side effects:
      When left clicking outside any widget and Main Window with the left button, will result in only the immediate next mouse click event to be ignored. After that, it works again as before.
      Clicking this way with the right button will result in only the immediate next LEFT mouse click event to be ignored. The right button click isn't affected in this case only.

      I can reproduce this with the Menus Example from the Qt Docs.

      Attachments

        Issue Links

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

          Activity

            People

              peppe Giuseppe D'Angelo
              ryoga Ryoga Unryu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes