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

Conflict with Pop-shell #5

Closed FlyinPancake closed 2 years ago

FlyinPancake commented 2 years ago

Hi, I have been using your extension for some time, and sometimes the alt-tab menu doesn't show up. I discovered disabling pop-shell makes the problem go away and thus the alt-tab popup opens. Could you look into that? I'm running fedora 34 with gnome 40.3. The pop-shell is installed from the fedora repos, and this extension is installed from gnome.org

G-dH commented 2 years ago

Hi. First we need to find out if the switcher is actually called from the Shell. When you have the Pop Shell enabled and AATWS disabled, the problem goes away too?

FlyinPancake commented 2 years ago

Yes if I have pop-shell disabled AATWS works reliably but when I have it turned on it rarely works. I'll pull up a VM and see if the problem still occurs on a fresh fedora install

FlyinPancake commented 2 years ago

Just did that, and installing gnome-shell-extension-pop-shell from dnf and AATWS from the gnome extensions site did result in the same conflict. :disappointed:

I'd be happy to help any way possible :smile:

G-dH commented 2 years ago

Well, I did a quick review of the Pop Shell source code and found that the extension modifies the core function of both window and app switchers. So when AATWS is enabled before the Pop Shell, the problem emerges. I'll workaround this.

I'll let you know when the code is ready and you can test it before I'll send it to e.g.o.

FlyinPancake commented 2 years ago

Thanks for the advice, and the quick replies! I'll be fine living w/o pop-shell for some time :)

Edit: removed e-mail artifacts

G-dH commented 2 years ago

Done. You can download the code from the repository and unpack the new files to your extension directory

~/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com

Then restart the Shell.

This update includes an App switcher in addition to the Window switcher, you can use system shortcuts including Alt+;/~ for switching windows of focused application, and you can switch between those modes using Ctrl+;/~. Check README.MD on the code page.

FlyinPancake commented 2 years ago

The issue went away thanks :smile:

OFF: Can I set a separate keybinding to open AATWS in search mode? (to replace pop-shell run window)

G-dH commented 2 years ago

You can set in the AATWS preferences the Search mode as default..

FlyinPancake commented 2 years ago

Thanks gonna try out :)

FlyinPancake commented 2 years ago

And I'll close the issue since it's fixed

G-dH commented 2 years ago

One more thing - I now updated the code so the next release from e.g.o site will update the extension automatically, and removed debug prints. Download the code once again and replace the files. Thanks for testing.

Btw, with the Custom Hot Corners - Extended extension you can trigger the switcher with different settings using a mouse or custom keyboard shortcuts and you can use the App switcher popup as a Dock launcher with app search (with repository version of CHC-E).

For example, I set the CHC-E to left bottom edge of my monitor triggers the window switcher and the right bottom edge triggers the App switcher with favorite apps.

FlyinPancake commented 2 years ago

In essence this is what i'm looking for, just with KB shortcuts.

G-dH commented 2 years ago

No problem, CHC-E is an universal trigger. AATWS was actually born as a part of this extension :)