custom keybindings can conflict with default ones #233

Closed
opened 11 months ago by ofiala · 1 comments
ofiala commented 11 months ago

foot includes some default keybindings which are used if custom ones aren't specified in foot.ini. However, if a keybinding is specified in foot.ini and contains the same key as the default one it's supposed to replace, foot reports keybinding conflict instead of silently replacing it.

This may seem harmless in cases where the default keybinding and the custom one are equivalent; however, if the default keybinding contains only one key and you want to add alternatives, this can be a real issue.

Steps to reproduce:

  1. Put cancel=Escape into your foot.ini
  2. Launch foot
  3. foot reports keybinding conflict; done
foot includes some default keybindings which are used if custom ones aren't specified in foot.ini. However, if a keybinding is specified in foot.ini and contains the same key as the default one it's supposed to replace, foot reports keybinding conflict instead of silently replacing it. This may seem harmless in cases where the default keybinding and the custom one are equivalent; however, if the default keybinding contains only one key and you want to add alternatives, this can be a real issue. Steps to reproduce: 1. Put `cancel=Escape` into your foot.ini 2. Launch foot 3. foot reports keybinding conflict; done
Owner

The intention is to prevent the same key combination from being assigned to multiple, different, actions.

Key here is different. That fact that it does not allow updating an action like in your example is a bug :)

Should be fixed in #234

The intention is to prevent the same key combination from being assigned to multiple, different, actions. Key here is **different**. That fact that it does not allow updating an action like in your example is a bug :) Should be fixed in https://codeberg.org/dnkl/foot/pulls/234
dnkl added the
bug
label 11 months ago
dnkl closed this issue 11 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.