ChrisLauinger77 / gnome-shell-extension-HeadsetControl

Gnome Shell Extension to visualize headset status from HeadsetControl command line tool
GNU General Public License v3.0
22 stars 8 forks source link

Weird behaviour of menu button #15

Closed NintyS closed 1 year ago

NintyS commented 1 year ago

I saw something like this: image And when I click on that button then it moves: image

It's repairing itself when I close menu and open it again, but this is kinda annoying.

NintyS commented 1 year ago

PS. This behave this way when [QSTweak] Quick Setting Tweaker is on

ChrisLauinger77 commented 1 year ago

Not sure what causes this. I try to investigate. Could also be a bug in gnome-shell or QSTweak. I am on gnome-shell 43 - you are on 44 it seems. Hope that does not make a difference....

NintyS commented 1 year ago

Maybe the button is redrawed? Or you add element as last(?) And not in the special place. ( IDK I did a extension for tests only one ). I will try check why this happends.

ChrisLauinger77 commented 1 year ago

The only use of the toggle is to show / hide systemindicator icon. (Did not know what else I could use it for and it felt weird to click it and nothing happens). On toggle the indicator is destroyed and this causes the behaviour. AFAIK gnome-shell orders the extenions as they are loaded / enabled after the build-in stuff. On reopen gnome-shell seems to resort in the order the extensions are loaded. I doubt this can be changed inside the extension but I am not sure

ChrisLauinger77 commented 1 year ago

I think it is not worth spending time on this. How often you toggle the systemindicator ?