How to get GestureClick controller for AdwTabBar

Trying to resolve Broken accounting of active state for widget issue described here and here

Is any option get controller to emit release signal on pressed event?

Emitting release signal on pressed event is definitely a bad idea, and why are you trying to work around a GTK bug within an app in the first place?

Because this bug reported about 2 years ago, and even it would be fixed once, how long to wait for distributive include the fix.

if you want to fix it - fix it within GTK. It’s very unlikely to be fixable from within the app in the first place

If you don’t want to wait for distros - use flatpak, then you don’t need to wait

Hi,

The “Broken accounting” is just a warning.
Shouldn’t have a functional impact on your app, and can be safely ignored.

Every the warning is about wrong app implementation. Definitively this bug make context menu in AdwTabBar unuseful, on mouse move after secondary button click and before release it.

see my previous post edition (I have deleted for some reasons):

I’m trying to make application working for right now, by any hack with gestureclick capture, but not ready to contribute on Gitlab for right now as not familiar with C and GTK backend, as user.

ah, that’s indeed annoying…

I’ll have a look at the gtk bug if I find some time.

Are you on X11 or Wayland?

1 Like

As described in issue referenced, there is both - X11 and Wayland have this problem. Fedora 41, and Ubuntu 24.10 at least. It would be good, if you have experience to finally make this update.

1 Like