shell icon indicating copy to clipboard operation
shell copied to clipboard

Gnome 49 support

Open CodeAndGin opened this issue 5 months ago • 34 comments

Well my Gnome 47 fix had a good run but bye bye x11 I guess

While the extension does load when adding "49" to the metadata, toggling tiling does nothing.

CodeAndGin avatar Sep 22 '25 22:09 CodeAndGin

+1 ( archlinux wayland here)

Neo-29 avatar Sep 23 '25 09:09 Neo-29

+1 (cachyos wayland here) added "49" and pluggin is enabled but toggling tiling doesn't work

rafafrdz avatar Sep 23 '25 14:09 rafafrdz

+1 (cachyos wayland here) added "49" and pluggin is enabled but toggling tiling doesn't work

Same for me

LilMonk avatar Sep 23 '25 18:09 LilMonk

i've made several function modifications get_maximized to is_maximized and some others but can exactly remember what but here is a version that works. https://drive.google.com/file/d/1g_SzZyO6HeDX0hS7fhQTzeEsDUVaT98r/view?usp=sharing just unzip it and replace .local/share/gnome-shell/extensions/[email protected] or diff it and figure out

rr987-0 avatar Sep 24 '25 07:09 rr987-0

i've made several function modifications get_maximized to is_maximized and some others but can exactly remember what but here is a version that works. https://drive.google.com/file/d/1g_SzZyO6HeDX0hS7fhQTzeEsDUVaT98r/view?usp=sharing just unzip it and replace .local/share/gnome-shell/extensions/[email protected] or diff it and figure out

Why not a PR?

Neo-29 avatar Sep 24 '25 07:09 Neo-29

i've made several function modifications get_maximized to is_maximized and some others but can exactly remember what but here is a version that works. https://drive.google.com/file/d/1g_SzZyO6HeDX0hS7fhQTzeEsDUVaT98r/view?usp=sharing just unzip it and replace .local/share/gnome-shell/extensions/[email protected] or diff it and figure out

yes please, could you open a Pr with the changes? @rr987-0

rafafrdz avatar Sep 24 '25 08:09 rafafrdz

@rafafrdz @CodeAndGin @Neo-29 You can check out this PR https://github.com/pop-os/shell/pull/1795 . Let me know if there are any bugs or issues with it. Its working fine for me on cachyos. Note: Need to reboot after installation.

LilMonk avatar Sep 24 '25 09:09 LilMonk

@rafafrdz @CodeAndGin @Neo-29 You can check out this PR #1795 . Let me know if there are any bugs or issues with it. Its working fine for me on cachyos. Note: Need to reboot after installation.

This works for me on a VM with Gnome 49. Thanks!

chrisjonesBSU avatar Sep 24 '25 09:09 chrisjonesBSU

not good here> Once you try to move a window manually, the extension stops working and all is in floating mode

Archlinux wayland

Neo-29 avatar Sep 24 '25 11:09 Neo-29

not good here> Once you try to move a window manually, the extension stops working and all is in floating mode

Archlinux wayland

Good catch, I didn't try that out. The same is happening for me.

chrisjonesBSU avatar Sep 24 '25 11:09 chrisjonesBSU

I don't have that issue. I'm using V shell gnome extension for my vertical workspace setup.

LilMonk avatar Sep 24 '25 11:09 LilMonk

This is on a fresh VM installation of EndeavourOS with no other extensions.

This appears in the logs right after clicking and dragging a window

Sep 24 12:47:41 chris-end gnome-shell[1626]: JS ERROR: TypeError: (intermediate value).Rectangle is not a constructor
                                             cursor_status@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:2052:22
                                             on_grab_start/this.drag_signal<@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:1096:52
                                             @resource:///org/gnome/shell/ui/init.js:21:20
Sep 24 12:47:42 chris-end gnome-shell[1626]: JS ERROR: TypeError: (intermediate value).Rectangle is not a constructor
                                             cursor_status@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:2052:22
                                             on_drop@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/auto_tiler.js:249:39
                                             on_grab_end_@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:830:41
                                             on_grab_end@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:777:14
                                             signals_attach/</<@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:1605:45
                                             run@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/extension.js:154:23
                                             wake/<@file:///home/chris/.local/share/gnome-shell/extensions/[email protected]/executor.js:26:24
                                             @resource:///org/gnome/shell/ui/init.js:21:20

chrisjonesBSU avatar Sep 24 '25 11:09 chrisjonesBSU

Let me take a look at it. Might be some API changes in gnome 49

LilMonk avatar Sep 24 '25 11:09 LilMonk

I have made the changes. It's working now. Reason for the error was The Meta.Rectangle is deprecated in gnome 49

Let me know if anything else breaks.

LilMonk avatar Sep 24 '25 13:09 LilMonk

I have made the changes. It's working now. Reason for the error was The Meta.Rectangle is deprecated in gnome 49

Let me know if anything else breaks.

Is it updated on tar version or just PR?

Neo-29 avatar Sep 24 '25 13:09 Neo-29

Its PR right now

LilMonk avatar Sep 24 '25 13:09 LilMonk

Its PR right now

Can you link the tar version updated? Easier to test

Neo-29 avatar Sep 24 '25 13:09 Neo-29

I think you need to do make local-install so that everything works correctly (keybindings). Just pull my PR branch and run make local-install and logout/reboot.

LilMonk avatar Sep 24 '25 13:09 LilMonk

The latest changes seem to fix the issue for me.

chrisjonesBSU avatar Sep 24 '25 13:09 chrisjonesBSU

@LilMonk lgtm ty

CodeAndGin avatar Sep 24 '25 13:09 CodeAndGin

Not here

EDIT : ok here too , didn't use the good branch, my bad

Neo-29 avatar Sep 24 '25 13:09 Neo-29

Thank you for the fix @LilMonk . Note to everyone who gets value from this fix that LilMonk has a buy me a coffee page. I have bought him a coffee, sorry that I could not provide the cream and sugar.

masmullin2000 avatar Sep 24 '25 15:09 masmullin2000

Thanks for the coffee @masmullin2000

LilMonk avatar Sep 24 '25 16:09 LilMonk

@LilMonk I still get occassionally this error

Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:20 fedora gjs[6711]: Gio.UnixOutputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.OutputStream instead.
                                  0 get() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":524:46]
                                  1 <TOP LEVEL> ["file:///home/nigurr/.local/share/gnome-shell/extensions/[email protected]/floating_exceptions/main.js":210:5]

nitin88 avatar Sep 25 '25 04:09 nitin88

@LilMonk I still get occassionally this error

Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:20 fedora gjs[6711]: Gio.UnixOutputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.OutputStream instead.
                                  0 get() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":524:46]
                                  1 <TOP LEVEL> ["file:///home/nigurr/.local/share/gnome-shell/extensions/[email protected]/floating_exceptions/main.js":210:5]

I think its a warning message rather than an error. Did you notice any abnormal behavior with the program? If any then mention the steps to reproduce it.

F.Y.I The above warning is because of a change in the GIO library structure, specifically concerning platform-specific components like UnixOutputStream. Gio.UnixOutputStream has been relocated to a dedicated, platform-specific library, now accessible as GioUnix.OutputStream.

LilMonk avatar Sep 25 '25 07:09 LilMonk

@LilMonk I still get occassionally this error

Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:17 fedora gnome-shell[3197]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
Sep 25 09:40:20 fedora gjs[6711]: Gio.UnixOutputStream has been moved to a separate platform-specific library. Please update your code to use GioUnix.OutputStream instead.
                                  0 get() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":524:46]
                                  1 <TOP LEVEL> ["file:///home/nigurr/.local/share/gnome-shell/extensions/[email protected]/floating_exceptions/main.js":210:5]

I think its a warning message rather than an error. Did you notice any abnormal behavior with the program? If any then mention the steps to reproduce it.

F.Y.I The above warning is because of a change in the GIO library structure, specifically concerning platform-specific components like UnixOutputStream. Gio.UnixOutputStream has been relocated to a dedicated, platform-specific library, now accessible as GioUnix.OutputStream.

Considering this, is there something to adapt in the source code of popshell? 🤔

Neo-29 avatar Sep 25 '25 07:09 Neo-29

perfectly working in fedora 43

SakibShahariar avatar Sep 26 '25 06:09 SakibShahariar

It works in CachyOs as well! ❤️

rafafrdz avatar Sep 26 '25 16:09 rafafrdz

Hi can you please tell me how to install this, i am noob

Noob-linux-user avatar Sep 27 '25 09:09 Noob-linux-user

  1. Clone my pr https://github.com/pop-os/shell/pull/1795
  2. Run make local-install
  3. Reboot/logout

For debugging, run make debug.

Refer readme for anything else.

LilMonk avatar Sep 27 '25 09:09 LilMonk