-
Notifications
You must be signed in to change notification settings - Fork 270
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
fix: "Tile Windows" toggle causing recursion when using shortcut #1756
Conversation
Tested and fixes the issue on Debian trixie/sid Gnome 47.2 👍 |
Seems to be bugs on Fedora 41 Gnome 47.2 |
Running Line 70 in e25621e
Could it be causing the odd behaviour for you? On Nvidia my desktop always crashes if I run |
Now it's working after installing from tty3 and rebooting. |
Ctrl + Enter not coloring window blue , which causes confusion. |
This sounds like you have my |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to keep this straight in case it's important later, the bug in question affects GNOME 47 but not GNOME 46 and below. Ubuntu Noble (24.04) comes with GNOME 46, and we don't have an Oracular branch yet. However, this should be fine, because the fix doesn't seem to cause any regressions on GNOME 46. Toggling the state on and off with both the top-right icon and the keyboard shortcut (and a combination of the two) works normally with this branch on Pop!_OS 24.04 Alpha, as it did before.
On GNOME 47 (testing with EndeavourOS), I was able to recreate the issue before this fix (by simply toggling tiling off with the keyboard shortcut and observing a freeze), and am no longer seeing it occur after the fix.
This is not merging into a stable Pop!_OS branch and does not affect the currently supported 22.04 session.
Thank you for digging into this and contributing the fix!
Tested on Fedora 41 Gnome 47.2 and the issue is fixed. Thank you all! |
Fixes #1733, it was an infinite recursion issue that was caused by updating the state for the "Tile Windows" toggle in the indicator popup.
I fixed this by calling the appropriate
auto_tile_*
method inside theconnect
callback for the toggle. If this isn't the preferred way to go about it, then I'm happy to change it.Works on my machine, even if I press and hold the
toggle-tiling
shortcut key combination.