darktable-org / darktable-org/darktable

Dark Table not following kanata overrides

Open
#20,685 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity scope: UI
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

I use kanata for easier keyboard shortcuts, for example hold "j" for the control key. Unfortunately when I use darktable, it doesn't respect these keybinds. Holding one of the keys that should be read as a modifier will be processed as the key itself, this results in annoying issues such as not being to switch to other applications as my super key (holding ";") will be processed as ";" in darktable. My current solution is just disabling kanata when using darktable but its not ideal.

Here is some quick details on the setup -> https://github.com/dreamsofcode-io/home-row-mods/tree/main/kanata/linux
Video for setup -> https://www.youtube.com/watch?v=sLWQ4Gx88h4&pp=ygUNaG9tZSByb3cgbW9kcw%3D%3D

If you need any more info do let me know :)

Steps to reproduce
  1. Apply home row mods
  2. Attempt to use a modifier in darktable (most obvious example I've found is super)
Expected behavior

Respect the keyboard mods and process them as other applications do

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.2.1

What OS are you using?

Linux

What is the version of your OS?

Nix 25.11

Describe your system

Using X11 with awesome window manager and no desktop environment

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the modifier behavior in darktable 5.2.1 on Linux with X11 and kanata home-row mods, comparing it with other applications. Trace darktable's keyboard input handling and verify that remapped modifiers, especially Super, are recognized as modifiers rather than their underlying keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.