elementary / elementary/settings-keyboard

Confusion with mapping when swapping escape

Open
#444 0 comments 0 reactions 0 assignees View on GitHub
Good First Issue Needs Design Priority: Wishlist
Dominant language
Vala
Stars
31
Forks
23
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.