G-dH / advanced-alttab-window-switcher

A highly customizable replacement for Gnome Shell's Alt-Tab window and app switchers.
GNU General Public License v3.0
151 stars 11 forks source link

App switcher not working #16

Closed javohir-abdusattorov closed 2 years ago

javohir-abdusattorov commented 2 years ago

I installed this extension, it works very well with dual monitors and typical window switching.

But for some reason, Application switcher (SUPER + TAB) is not working. It freezes in application switcher pop-up. In pop-up, manually clicking to some extensions not works either. And there is one more thing that is not working, same app windows switcher (ALT + `). It also freezes in pop-up window. Is there is a version that I needed to install specifically ?

OS: Pop!_OS 20.04 LTS x86_64 Desktop env: GNOME 3.36.7

G-dH commented 2 years ago

Pop! uses heavily customized Shell, therefore conflicts are expected. Open a terminal, execute following command

journalctl /usr/bin/gnome-shell -f -o cat

then try to use the app switcher and show me the log from the terminal.

G-dH commented 2 years ago

I did a test on Pop OS 20.04 and 21.10 with no problems. Probably another extension you have installed is in conflict with the AATWS.

javohir-abdusattorov commented 2 years ago

Output of command:

JS ERROR: TypeError: this._currentWindow is undefined
_finish@resource:///org/gnome/shell/ui/altTab.js:276:18
vfunc_key_release_event@/home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:1252:26

JS ERROR: TypeError: this._currentWindow is undefined
_finish@resource:///org/gnome/shell/ui/altTab.js:276:18
vfunc_key_release_event@/home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:1252:26

Object .Gjs_advanced-alt-tab_G-dH_github_com_windowSwitcherPopup_WindowSwitcher (0x55d0a46febf0), has been already deallocated — 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 0x55d09da218f0 ==
#0   55d09e323638 i   /home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:3054 (3eee4c1a1ad8 @ 167)
#1   7fff855f04f0 b   self-hosted:1009 (c40256a0cb8 @ 423)
Object .Gjs_advanced-alt-tab_G-dH_github_com_windowSwitcherPopup_WindowSwitcher (0x55d0a46febf0), has been already deallocated — 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 0x55d09da218f0 ==
#0   55d09e323638 i   /home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:3054 (3eee4c1a1ad8 @ 167)
#1   7fff855f04f0 b   self-hosted:1009 (c40256a0cb8 @ 423)
JS ERROR: TypeError: this._currentWindow is undefined
_finish@resource:///org/gnome/shell/ui/altTab.js:276:18
vfunc_key_release_event@/home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:1252:26

JS ERROR: TypeError: this._currentWindow is undefined
_finish@resource:///org/gnome/shell/ui/altTab.js:276:18
vfunc_key_release_event@/home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:1252:26

JS ERROR: TypeError: this._currentWindow is undefined
_finish@resource:///org/gnome/shell/ui/altTab.js:276:18
vfunc_key_release_event@/home/javohir/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/windowSwitcherPopup.js:1252:26

Usage of object.actor is deprecated for WorkspaceThumbnail
get@resource:///org/gnome/shell/ui/environment.js:287:29
_showTitles@/home/javohir/.local/share/gnome-shell/extensions/workspace_titles@ben.santalucia.me/extension.js:93:4
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_animateVisible@resource:///org/gnome/shell/ui/overview.js:594:14
show@resource:///org/gnome/shell/ui/overview.js:566:14
toggle@resource:///org/gnome/shell/ui/overview.js:689:18
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:223:22

Usage of object.actor is deprecated for WorkspaceThumbnail
get@resource:///org/gnome/shell/ui/environment.js:287:29
_showTitles@/home/javohir/.local/share/gnome-shell/extensions/workspace_titles@ben.santalucia.me/extension.js:93:4
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_animateVisible@resource:///org/gnome/shell/ui/overview.js:594:14
show@resource:///org/gnome/shell/ui/overview.js:566:14
toggle@resource:///org/gnome/shell/ui/overview.js:689:18
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:223:22

Usage of object.actor is deprecated for WorkspaceThumbnail
get@resource:///org/gnome/shell/ui/environment.js:287:29
_showTitles@/home/javohir/.local/share/gnome-shell/extensions/workspace_titles@ben.santalucia.me/extension.js:93:4
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_animateVisible@resource:///org/gnome/shell/ui/overview.js:594:14
show@resource:///org/gnome/shell/ui/overview.js:566:14
toggle@resource:///org/gnome/shell/ui/overview.js:689:18
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:223:22

Usage of object.actor is deprecated for WorkspaceThumbnail
get@resource:///org/gnome/shell/ui/environment.js:287:29
_hideTitles@/home/javohir/.local/share/gnome-shell/extensions/workspace_titles@ben.santalucia.me/extension.js:61:5
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_animateNotVisible@resource:///org/gnome/shell/ui/overview.js:658:14
hide@resource:///org/gnome/shell/ui/overview.js:633:14
toggle@resource:///org/gnome/shell/ui/overview.js:687:18
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:223:22

Usage of object.actor is deprecated for WorkspaceThumbnail
get@resource:///org/gnome/shell/ui/environment.js:287:29
_hideTitles@/home/javohir/.local/share/gnome-shell/extensions/workspace_titles@ben.santalucia.me/extension.js:61:5
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_animateNotVisible@resource:///org/gnome/shell/ui/overview.js:658:14
hide@resource:///org/gnome/shell/ui/overview.js:633:14
toggle@resource:///org/gnome/shell/ui/overview.js:687:18
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:223:22

Usage of object.actor is deprecated for WorkspaceThumbnail
get@resource:///org/gnome/shell/ui/environment.js:287:29
_hideTitles@/home/javohir/.local/share/gnome-shell/extensions/workspace_titles@ben.santalucia.me/extension.js:61:5
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_animateNotVisible@resource:///org/gnome/shell/ui/overview.js:658:14
hide@resource:///org/gnome/shell/ui/overview.js:633:14
toggle@resource:///org/gnome/shell/ui/overview.js:687:18
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:223:22
javohir-abdusattorov commented 2 years ago

I did a test on Pop OS 20.04 and 21.10 with no problems. Probably another extension you have installed is in conflict with the AATWS.

Yes, I have installed many extensions. And this bug happening because of extensions conflict. But I don't know which one of them is conflicting.

Can you tell what extensions might have conflict ?

javohir-abdusattorov commented 2 years ago

Can you tell what extensions might have conflict ?

I think, I found conflicting extension: Workspace titles: https://extensions.gnome.org/extension/4393/workspace-titles/

G-dH commented 2 years ago

Can you list all enabled extensions on your system? I'd say that the problem causes another extension which alters the AltTab switcher code, because it forces AATWS to crash in the function that shouldn't be executed at all.

javohir-abdusattorov commented 2 years ago

Can you list all enabled extensions on your system?

Extensions:

This is all extensions. But I already found conflicting one:

G-dH commented 2 years ago

Interesting, I didn't encounter any conflicts between AATWS and the Workspace Titles.