helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
805 stars 58 forks source link

Current settings with cmd key make it impossible to switch tabs in applications #371

Open Slater91 opened 2 years ago

Slater91 commented 2 years ago

Describe the bug As cmd replaces ctrl, its use in conjunction with tab to cycle through applications means that those can't use ctrl+tab to cycle through tabs. This is especially noticeable in browsers such as Firefox.

To Reproduce Steps to reproduce the behavior:

  1. Open Firefox
  2. Try to use cmd+tab or any other combination of keys to switch tabs

Expected behavior A combination of keys allows tab switching.

Version (please complete the following information):

Computer (please complete the following information):

probonopd commented 2 years ago

What happens if you uncheck "Use the ⌘ key for menu shortcuts (this swaps alt and cmd)" in the Keyboard preferences application?

This is the code in question:

https://github.com/helloSystem/Utilities/blob/9c14c7aeece260e3f5bd352f2128e74553796116/Preferences/Keyboard.app/Keyboard#L242-L245

We are merely swapping keys. No shortcuts should get "lost" by this...

Slater91 commented 2 years ago

If I disable the option, any combination of keys (cmd/alt/ctrl + tab) stops working entirely. I've tested this with both the MacBook keyboard and an external keyboard with the usual Windows keys.

probonopd commented 2 years ago

I don't know what is going on or how to fix this. Any debugging/hints would be highly welcome.

Possibly kwin_x11 and/or kglobalaccel5 are claiming some shortcuts globally, which makes them unavailable for use by applications? (Can we get rid of kglobalaccel5 while still keeping KWin?)

grahamperrin commented 1 year ago

We are merely swapping keys. No shortcuts should get "lost" by this...

This seems contrary to https://github.com/helloSystem/ISO/issues/423 where

using Keyboard Layout to swap keys (not wanted) is not a workaround.