pbxqdown / gnome-shell-extension-transparent-window

Gnome shell extension which changes the opacity of window through mouse operation.
48 stars 14 forks source link

gnome 46.2 #28

Open maarutan opened 3 months ago

maarutan commented 3 months ago

System information

очень жду обнову брат не оставляй это расширения прошу без него жить не могу

pbxqdown commented 3 months ago

Thanks for your trust and support! I will definitely trying to provide gnome46 support this year. Due to lack of development resources I can only support LTS Gnome version.

maarutan commented 3 months ago

спасибо очень жду ❤️

BlueBeret commented 2 months ago

I also can't live without this extension, I am using 46.0. I would like to contribute if it's possible.

pbxqdown commented 2 months ago

@BlueBeret Thanks! You are very welcomed to contribute or test. After extension is installed, source code is located under ~/.local/share/gnome-shell/extensions . It can then being modified and reloaded. See Debug Section of Readme Doc for how to debug the extension.

Russell-Jones-OxPhys commented 2 weeks ago

I made a fork started on the import syntax updates and restructuring, but there's more to do beyond that which I would need to spend more time on to finish. The fork doesn't work yet. IIRC it runs, but the preference pane is not created correctly. I'm only targeting 45+ at most, I may well end up with something that only works on 46.2 (i.e. the version that comes with ubuntu 24.04) and only on XWayland windows. However, I hope it's useful and saves a bit of grunt work, even in the broken state. If I do get it working, I'll make a PR.

pbxqdown commented 2 weeks ago

@Russell-Jones-OxPhys Thanks for helping with this!

I also upgraded to ubuntu24.04 and gnome46 a bit ago and tried to do the migration. In addition to import syntax, I think the hardest part is usage of keymap API. The extension creates an overlay whenever modifier key is pressed. The overlay then listens to mouse scroll event and change opacity of window below. GDK4 abandoned keymap API and thus it doesn't listen to the key press event correctly(Gdk.Display.get_default() returns null). I think there may be a new way to do this but didn't figure it out. Need to consult expert of Gnome community whether this is feasible.

Some doc that may be helpful:

Let me know if you have progress, we can work on pushing it forward.