elementary / switchboard-plug-keyboard

Switchboard Keyboard Plug
GNU General Public License v2.0
28 stars 22 forks source link

Confusion with mapping when swapping escape #444

Open JindrazPrahy opened 1 year ago

JindrazPrahy commented 1 year ago

What Happened?

I set Caps Lock behaviour to "Swap with Escape" and then I set Compose key to Caps Lock. I expected the physical Esc button to now be Compose key and the physical CapsLock button to now be Escape (because first switching Caps with Esc and then replacing Caps with Compose does that). Instead, the physical Esc button was Caps Lock and the physical CapsLock was Compose key.

This confused me, but then I realised that my mental model is probably wrong and this isn't how it works in the code. I don't know whether what I initially wanted should be the default behaviour, or whether the current behaviour should stay. But I think the interface could be more clear about what it's doing.

Steps to Reproduce

  1. Open Keyboard settings and go to Layout
  2. Set Compose key to Caps Lock
  3. Set Caps Lock behaviour to Swap with Escape

Expected Behavior

The interface should more clearly indicate what it has done and why.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response