GithubHelp home page GithubHelp logo

Comments (11)

notpeelz avatar notpeelz commented on August 20, 2024 1

I just tested 3f9b717 again (tested if the bug repros before and after) and it seems like everything works fine now. Thanks a lot :)

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

Sorry, forgotten condition in the refactored _keyPressHandler. Sending fix..

from advanced-alttab-window-switcher.

notpeelz avatar notpeelz commented on August 20, 2024

Hmm, 3f9b717 doesn't seem to fix it on my end.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

It works for me with 'q' but not with 'w' or 'a'. The problem is outside of AATWS, these key combinations don't work even with the default switcher. Gnome Shell provides an action parameter to the switcher, if it is not a supported action, the keypress is treated as a possible internal hotkey. The only way around this would be to read the shortcuts from dconf, which I'd like to avoid.

from advanced-alttab-window-switcher.

notpeelz avatar notpeelz commented on August 20, 2024

It works now. I just tested with all other extensions disabled and made sure to double-check all of my shortcuts in the GNOME settings. It seems like I had conflicting shortcuts.
Interestingly, q, w and a all seem to work on my end. What version of GNOME are you on?

Edit: also it might be worth mentioning that I've cleared a ton of shortcuts I don't personally use (from both AATWS and the GNOME shell). It seems to help when it comes to these types of conflicts.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

Thanks for the info. My primary system is running 42.5, I tested it on Fedora 37 with GS 43.2 Wayland without AATWS and none of the keys work with Shift.

from advanced-alttab-window-switcher.

notpeelz avatar notpeelz commented on August 20, 2024

Ah it must be a conflict with the default GNOME shortcuts.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

I reset my keyboard shortcuts in GNOME Settings to defaults and 'q' stopped working, the action value is 0 which is NONE. But I didn't find any potentially conflicting shortcut..

from advanced-alttab-window-switcher.

notpeelz avatar notpeelz commented on August 20, 2024

That's strange. Back when I was still fiddling with my hotkeys, some would randomly stop working after initially appearing to work. Make sure to restart the GNOME shell between tests, in case it gets in an inconsistent state.

I also didn't do much testing with the vanilla switchers since w closes the selected window and I would often hit that by accident.

I can provide my GNOME dconf settings if you think that might help.

from advanced-alttab-window-switcher.

G-dH avatar G-dH commented on August 20, 2024

Yeah, it's behaving strangely. Without my input, the backward shortcut (with Shift) was assigned to the switch-panel-backward key when I tried to set the switch-windows shortcut (without Shift) in GNOME Settings, but now I'm unable to reproduce it. In any case, the switch-windows-backward key must be set and any conflicting shortcut found and removed, then it should work.

from advanced-alttab-window-switcher.

notpeelz avatar notpeelz commented on August 20, 2024

For completeness, here's my shortcut settings:

[/org/gnome/desktop/wm/keybindings]
begin-move=@as []
begin-resize=@as []
close=['<Alt>F4', '<Hyper>Backspace', '<Hyper><Shift>x']
cycle-group=@as []
cycle-group-backward=@as []
cycle-panels=@as []
cycle-panels-backward=@as []
cycle-windows=@as []
cycle-windows-backward=@as []
maximize=@as []
minimize=['<Hyper>x']
move-to-workspace-down=@as []
move-to-workspace-left=['<Hyper><Shift><Alt>Left', '<Hyper><Shift>Page_Up']
move-to-workspace-right=['<Hyper><Shift><Alt>Right', '<Hyper><Shift>Page_Down']
move-to-workspace-up=@as []
show-desktop=['<Hyper>d']
switch-applications=@as []
switch-applications-backward=@as []
switch-group=['<Hyper>w']
switch-group-backward=['<Shift><Hyper>w']
switch-input-source=['<Hyper>space', 'XF86Keyboard']
switch-input-source-backward=['<Shift><Hyper>space', '<Shift>XF86Keyboard']
switch-panels=@as []
switch-panels-backward=@as []
switch-to-workspace-1=@as []
switch-to-workspace-down=@as []
switch-to-workspace-last=@as []
switch-to-workspace-left=['<Hyper>Page_Up']
switch-to-workspace-right=['<Hyper>Page_Down']
switch-to-workspace-up=@as []
switch-windows=['<Hyper>q']
switch-windows-backward=['<Shift><Hyper>q']
toggle-fullscreen=['<Shift><Hyper>f']
toggle-maximized=['<Hyper>f']
unmaximize=@as []

from advanced-alttab-window-switcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.