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

A QPushButton triggered a menu, right click outside of window doesn't update the hover state of the button

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • QPA: Wayland
    • Uos,KDE,qt6.6、qt5.11.3
    • Linux/Wayland

    Description

      In wayland, calling out a menu inside a window and then left clicking to cancel the menu after moving the mouse out of the window will cause an exception in the window's hover state.

       

      In the demo attached below, I set the hover to red, which makes the problem more obvious.

      Attachments

        1. x11.gif
          x11.gif
          512 kB
        2. wayland.gif
          wayland.gif
          634 kB
        3. wayland
          634 kB
        4. demo.7z
          4 kB

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              tianshilin115 tianshilin tianshilin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes