Skip to content

Window Suggestion Feature Not Functional on Wayland #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pakucon opened this issue Apr 20, 2025 · 7 comments
Open

Window Suggestion Feature Not Functional on Wayland #320

pakucon opened this issue Apr 20, 2025 · 7 comments
Labels
bug Something isn't working next release

Comments

@pakucon
Copy link

pakucon commented Apr 20, 2025

Hi,

I'm currently using the Tiling Shell extension on GNOME 48 under Wayland. I've noticed that the "Window Suggestion" feature does not work as expected, even though I have explicitly enabled all related settings:

  • Window suggestion for the tiling system
  • Snap assistant
  • Screen edge snapping

No visual indicators or suggestions appear when I try to move a window to the screen edges or corners. I've tried reloading GNOME Shell, logging out and back in, and even restarting the system — but the issue persists.

  • Tiling Shell version: 52 (16.3)
  • GNOME version: 48
  • OS: CachyOS
  • Kernel version: 6.14.2

Let me know if there’s any debug info I can provide to help!

Thanks in advance for your support and great work on this extension 🙌

@pakucon
Copy link
Author

pakucon commented Apr 20, 2025

❯ journalctl --follow /usr/bin/gnome-shell
Apr 20 19:21:25 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:26 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:30 cachyos-ucon gnome-shell[1364]: JS ERROR: TypeError: this._scrollView.get_hscroll_bar is not a function
SuggestionsTilePreview@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:3508:22
buildTile@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:3654:12
draw_layout/this._previews<@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1276:19
draw_layout@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1253:41
relayout@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1320:10
_openWindowsSuggestions@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4521:35
_onWindowGrabEnd@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4493:10
enable/<@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4013:14
@resource:///org/gnome/shell/ui/init.js:21:20
Apr 20 19:21:30 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:31 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:33 cachyos-ucon gnome-shell[1364]: JS ERROR: TypeError: this._scrollView.get_hscroll_bar is not a function
SuggestionsTilePreview@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:3508:22
buildTile@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:3654:12
draw_layout/this._previews<@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1276:19
draw_layout@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1253:41
relayout@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1320:10
_openWindowsSuggestions@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4521:35
_onWindowGrabEnd@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4493:10
enable/<@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4013:14
@resource:///org/gnome/shell/ui/init.js:21:20
Apr 20 19:21:33 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:34 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:36 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:21:38 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:24:37 cachyos-ucon gnome-shell[1364]: Source ID 642114 was not found when attempting to remove it
Apr 20 19:28:55 cachyos-ucon gnome-shell[1364]: Object Gjs_ui_messageTray_Notification (0x614d61e75f20), has been already disposed — impossible to emit any signal on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x614d5d112c10 ==
#0 614d5d20af18 i resource:///org/gnome/shell/ui/messageTray.js:484 (1d7951b40a10 @ 74)
#1 614d5d20ae70 i resource:///org/gnome/shell/ui/messageTray.js:480 (1d7951b409c0 @ 63)
#2 614d5d20ade8 i resource:///org/gnome/shell/ui/messageList.js:735 (1d7951b55470 @ 33)
#3 614d5d20ad58 i resource:///org/gnome/shell/ui/init.js:21 (35d01fe7ea60 @ 48)
Apr 20 19:28:55 cachyos-ucon gnome-shell[1364]: Object Gjs_ui_messageTray_Notification (0x614d61e75f20), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x614d5d112c10 ==
#0 614d5d20af18 i resource:///org/gnome/shell/ui/messageTray.js:490 (1d7951b40a10 @ 148)
#1 614d5d20ae70 i resource:///org/gnome/shell/ui/messageTray.js:480 (1d7951b409c0 @ 63)
#2 614d5d20ade8 i resource:///org/gnome/shell/ui/messageList.js:735 (1d7951b55470 @ 33)
#3 614d5d20ad58 i resource:///org/gnome/shell/ui/init.js:21 (35d01fe7ea60 @ 48)
Apr 20 19:29:37 cachyos-ucon gnome-shell[1364]: Source ID 662113 was not found when attempting to remove it
Apr 20 19:32:06 cachyos-ucon gnome-shell[1364]: JS ERROR: TypeError: this._scrollView.get_hscroll_bar is not a function
SuggestionsTilePreview@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:3508:22
buildTile@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:3654:12
draw_layout/this._previews<@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1276:19
draw_layout@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1253:41
relayout@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:1320:10
_openWindowsSuggestions@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4521:35
_onWindowGrabEnd@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4493:10
enable/<@file:///home/jusron/.local/share/gnome-shell/extensions/[email protected]/extension.js:4013:14
@resource:///org/gnome/shell/ui/init.js:21:20
Apr 20 19:32:07 cachyos-ucon gnome-shell[1364]: Error in size change accounting.
Apr 20 19:32:10 cachyos-ucon gnome-shell[1364]: Error in size change accounting.

@momoRaza
Copy link

I have the same issue, I'm on Arch Linux and after upgrading from Gnome 47 to 48, tilling suggestions don't work

@domferr
Copy link
Owner

domferr commented Apr 21, 2025

Thank you for sharing this! I can confirm Windows Suggestions not working on GNOME 48. I hope to fix this soon!

@domferr domferr added the bug Something isn't working label Apr 21, 2025
@domferr
Copy link
Owner

domferr commented Apr 22, 2025

Here it is a fix! Let me know if it works, thank you!

[email protected]

@momoRaza
Copy link

@domferr working great on gnome 48, thank you!

@h44z
Copy link

h44z commented Apr 22, 2025

@domferr it works now in Gnome 48, thanks!!

I have one more suggestion/improvement: can we display the suggestions in all tiles, not just one?
If one suggestion is selected, only show the remaining ones in the remaining tiles.

E.g:

Before Tiling:

Image

Suggestions:

Image

@pakucon
Copy link
Author

pakucon commented Apr 23, 2025

Thank you so much for your quick response and for fixing the bug! I really appreciate the effort and time you put into improving the extension. It’s working great now!

Keep up the awesome work — your contributions make a big difference. Wishing you all the best in your development journey! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next release
Projects
None yet
Development

No branches or pull requests

4 participants