Header bar buttons remain in depressed state when right clicked
Steps to reproduce
- Open any GTK 4 application with a header bar.
- Right click on any header bar button (including the close button).
Reproducible for example with gtk4-demo
and the GTK inspector.
Current behavior
The button remains looking depressed, but is otherwise operational. Additionally, a second click is needed before other buttons can be pressed in the header bar (as if something invisible had focus).
Expected outcome
The button should return to the normal appearance after being let go.
Version information
GTK version: 4.6.2
Distro: Arch Linux
Additional information
This appears to be a regression from GTK 3. Example images with all buttons depressed below.
gtk4-demo
:
GTK inspector:
Edited by qookie