CoverflowAltTab icon indicating copy to clipboard operation
CoverflowAltTab copied to clipboard

Alt + tab freezes screen

Open Subodh-Bny opened this issue 1 year ago • 19 comments

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

Subodh-Bny avatar Jun 14 '24 03:06 Subodh-Bny

Same here.

eexpress avatar Jun 19 '24 16:06 eexpress

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

czareq089 avatar Jun 19 '24 19:06 czareq089

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

Subodh-Bny avatar Jun 21 '24 14:06 Subodh-Bny

I got this bug too

blueoc-phucpham avatar Jun 25 '24 02:06 blueoc-phucpham

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?

JE-Amouel avatar Jun 30 '24 13:06 JE-Amouel

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?

dsheeler avatar Jun 30 '24 17:06 dsheeler

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

czareq089 avatar Jun 30 '24 17:06 czareq089

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

JE-Amouel avatar Jun 30 '24 18:06 JE-Amouel

Same here

ghost avatar Jul 19 '24 11:07 ghost

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

nutuxedo avatar Aug 02 '24 06:08 nutuxedo

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.

Sputnik2a avatar Sep 04 '24 12:09 Sputnik2a

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

dsheeler avatar Sep 05 '24 00:09 dsheeler

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 avatar Sep 05 '24 00:09 dsheeler

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

dsheeler avatar Sep 05 '24 01:09 dsheeler

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 avatar Sep 07 '24 16:09 dsheeler

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

dsheeler avatar Sep 07 '24 16:09 dsheeler

@dsheeler You're welcome.

I had patched your commit 940b2a95 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.

Sputnik2a avatar Sep 07 '24 21:09 Sputnik2a

I'm using version 76. Occasionally, the window freezes, and in very rare cases, the entire desktop crashes. The following is the log information.

 1:59:10 PM gnome-shell: JS ERROR: TypeError: this._subSwitchers is null _activateSelected@file:///home/haye/.local/share/gnome-shell/extensions/[email protected]/switcher.js:943:34 _keyReleaseEvent@file:///home/haye/.local/share/gnome-shell/extensions/[email protected]/switcher.js:878:22 @resource:///org/gnome/shell/ui/init.js:21:20

Linux titan 6.12.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 14:31:57 +0000 x86_64 GNU/Linux

wonderfulyeah avatar Dec 13 '24 07:12 wonderfulyeah

@wonderfulyeah, thanks for the report. I haven't seen this one yet. I'll have to think about why this might be happening.

dsheeler avatar Dec 17 '24 04:12 dsheeler