ISO icon indicating copy to clipboard operation
ISO copied to clipboard

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

Open Slater91 opened this issue 3 years ago • 3 comments

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):

  • 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

Slater91 avatar Feb 07 '22 22:02 Slater91

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...

probonopd avatar Feb 08 '22 17:02 probonopd

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.

Slater91 avatar Feb 08 '22 18:02 Slater91

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?)

probonopd avatar Feb 09 '22 20:02 probonopd

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.

grahamperrin avatar Dec 03 '22 15:12 grahamperrin