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

Wrong state for QAbstractButton when pressed and its context menu is closed

    XMLWordPrintable

Details

    Description

      Whether under X11 or under wayland (with wayland-egl), while, for example, a non-checkable tool-button is pressed, if its context menu is ALSO shown by pressing the right mouse button, then the pressed state of the button will persist after the menu is closed.

       

      I think this is a sign of a more general issue with (context) menus and isn't specific to buttons or the pressed state (see QTBUG-36862).

       

      toolbutton.cpp

      Attachments

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

        Activity

          People

            liaqi Liang Qi
            tsujan Tsu Jan
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes