Current settings with cmd key make it impossible to switch tabs in applications
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:
- Open Firefox
- 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):
- Live ISO or installed system to disk: installed
- FreeBSD version (System --> About this Computer): 13.0
- helloSystem build (
cat /.url): https://github.com/helloSystem/ISO/commit/98b5631 - Running in a virtual machine: no
Computer (please complete the following information):
- Device: MacBook 4,1
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...
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.
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?)
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.