Skip to content
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

Alt + tab freezes screen #237

Open
Subodh-Bny opened this issue Jun 14, 2024 · 17 comments
Open

Alt + tab freezes screen #237

Subodh-Bny opened this issue Jun 14, 2024 · 17 comments

Comments

@Subodh-Bny
Copy link

Using alt tab sometimes freezes the whole screen and there is no way to solve it unless you force restart the PC

@eexpress
Copy link

Same here.

@czareq089
Copy link

Same here, in my case the only other option rather than force restarting is force closing all programs (ALT + F4)

@Subodh-Bny
Copy link
Author

Same here, in my case the only other option rather than force restarting is force closing all programs (ALT + F4)

i just stopped using the extension

@blueoc-phucpham
Copy link

I got this bug too

@JE-Amouel
Copy link

I had the same problem under gnome 45, but it turns out that it was due to a conflict with another extension which also triggered when I did alt+tab,

Do you think this could also be the case for you?

@dsheeler
Copy link
Owner

Sorry for my silence on this issue. I have never had a freeze myself. It probably is not a bug in the extension, but likely as @JE-Amouel suggests caused with a conflict with another extension.

Can anyone with this issue send steps to reproduce?

@czareq089
Copy link

For me personally, I can no longer reproduce this issue so it seems kind of weird. Anyway here are the extensions that I use and these are not the cause of conflict.

Screenshot from 2024-06-30 19-51-08

@JE-Amouel
Copy link

For me the conflict occurs with aatws which is also an alt+tab switch, and which also provides a dock mode which I find much more productive, so I do not use the alt+tab with this extension, and i prefer to use alt+tab with coverflow.

On version 42.9 of GNOME, the two extensions do not conflict, coverflow overwrite the alt+tab behavior of aatw, so I can use coverflow with alt+tab and at the same time , aatws with is dock mode.
But on GNOME versions 45+, when I install aatws and coverflow the two conflict;
reason why I made this feature request #239

so the steps to reproduce on my side are:

  • install aatws
  • install coverflow
  • press alt+tab

@pyhofficial
Copy link

Same here

@nutuxedo
Copy link

nutuxedo commented Aug 2, 2024

got this bug too, had to uninstall the extension till this gets fixed

@Sputnik2a
Copy link

On my system the freeze is nondeterministic. But it occurred with ALT-TAB as well as SUPER-TAB. If I wait after such freeze up to the system goes to sleep, the desktop is fully responsible again after waking up system.

I have activated the logging of the extension and found a NULL pointer access violation by the extension. If the extension freeze, it died every time with the same exception (log is in reverse order):

Aug 31 14:57:11 gnome-shell[2337]: JS ERROR: TypeError: this._settings is null
	lightenBackground@file:///home/user/.local/share/gnome-shell/extensions/[email protected]/platform.js:601:13
	animateClosed@file:///home/user/.local/share/gnome-shell/extensions/[email protected]/switcher.js:962:63
	activateSelected@file:///home/user/.local/share/gnome-shell/extensions/[email protected]/switcher.js:845:14
	_keyReleaseEvent@file:///home/user/.local/share/gnome-shell/extensions/[email protected]/switcher.js:789:22
	@resource:///org/gnome/shell/ui/init.js:21:20
Aug 31 14:57:10 gnome-shell[2337]: Ignoring length property that isn't a number at line 2461, col 24
Aug 31 14:57:10 gnome-shell[2337]: [[email protected]][LOG  ] Creating Switcher DONE
Aug 31 14:57:10 gnome-shell[2337]: [[email protected]][LOG  ]     Creating Sub-switchers DONE
Aug 31 14:57:10 gnome-shell[2337]: [[email protected]][LOG  ]     Creating Sub-switchers
Aug 31 14:57:10 gnome-shell[2337]: [[email protected]][LOG  ] Creating Switcher
...
Aug 31 12:47:06 gnome-shell[2337]: [[email protected]][LOG  ] DBus Name Acquired: org.gnome.Shell.Extensions.Coverflowalttab
Aug 31 12:47:06 gnome-shell[2337]: [[email protected]][LOG  ] DBus Bus Acquired: org.gnome.Shell.Extensions.Coverflowalttab
Aug 31 12:47:06 gnome-shell[2337]: [[email protected]][LOG  ] Enabling DONE
Aug 31 12:47:06 gnome-shell[2337]: [[email protected]][LOG  ]     Creating New Manager DONE
Aug 31 12:47:06 gnome-shell[2337]: [[email protected]][LOG  ]     Creating New Manager
Aug 31 12:47:06 gnome-shell[2337]: [[email protected]][LOG  ] Enabling

Hopefully, it can help you a little bit to find the bug.
Used Version: CoverflowAltTab v75 under Arch Linux with gnome-shell 46.4.

@dsheeler
Copy link
Owner

dsheeler commented Sep 5, 2024

@Sputnik2a Thank you for the logs!!! That's the best clue I have so far on this issue.

@dsheeler
Copy link
Owner

dsheeler commented Sep 5, 2024

It's a strange issue, but I can try a fix that might stop the crash without me understanding the reason it's happening, which is unsatisfying, but better than crashes.

@dsheeler
Copy link
Owner

dsheeler commented Sep 5, 2024

@Sputnik2a and all, I have committed something to the main branch that might fix this issue. Can anyone try it out?

@dsheeler
Copy link
Owner

dsheeler commented Sep 7, 2024

Hi All, I think with version 76, I have fixed the freezes. I understand why they were happening, too! Let me know if you try it and it fixes things for you please!

@dsheeler
Copy link
Owner

dsheeler commented Sep 7, 2024

@Sputnik2a special thanks for those logs. They were the clue that I needed!

@Sputnik2a
Copy link

@dsheeler You're welcome.

I had patched your commit 940b2a9 into my local v75 installation and tested it the last days. No freeze 😎 nor any side effect. Now, I test it with v76. Thanks for your great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

9 participants