I’m porting a shell extension to GNOME 49. It has a BoxLayout containing a set of Buttons. The buttons individually handle ‘clicked’ events to do one thing while the BoxLayout handles ‘button-release-event’ for button 3 to do something else.
This has worked nicely for a long time. However, in GNOME 49 the button release doesn’t seem to be propagated from the Button to the BoxLayout, so right-clicking on a button no longer does anything.
I suspect this is related to the recent changes to Button to use ClutterClickGesture (commit dd694bf1a).
I have been having the same problem, but I fixed it by clearing the actions associated with the St.Button using button.clear_actions(). From there, button-press-event and button-release-event work correctly.