| Summary: | Can't assign number key without modifier as tag shortcut | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | gett37 |
| Component: | Usability-Keyboard | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 9.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/0ba4f89d9639bca03709a8a47a4f9ab3cadf7aff | Version Fixed/Implemented In: | 9.1.0 |
| Sentry Crash Report: | |||
|
Description
gett37
2026-03-20 10:12:33 UTC
Numbers alone don't work here under Windows either. This shortcut configuration uses digiKam from the KF6 API. I can well imagine that it's intentional that numbers can only be used with modifiers. Maik (In reply to Maik Qualmann from comment #1) > Numbers alone don't work here under Windows either. This shortcut > configuration uses digiKam from the KF6 API. I can well imagine that it's > intentional that numbers can only be used with modifiers. > > Maik Right now I have some tags assigned to 1-3 keys without modifiers, I've assigned them this way without a hassle some time ago. 99% I did it in Tag manger in a normal way. Now I've found a workaround - in `Configure Keyboard Shortcuts` menu instead of assigning alternative shortcut key, you can change primary one, number alone will register just fine (but not a numpad key). So this is what I can do to get what I want: 1. In Tag manager, assign desired tag to Ctrl+6. 2. In `Configure Keyboard Shortcuts` find it and reassign it to just 6 by pressing this number not on numpad. 3. Result: Now I can use both regular and numpad 6 as a shortcut for this tag. I think nothing is wrong in using numbers without modifiers for shortcuts. They don't do anything by default. I hope button in Tag manager will start working same way as one in `Configure Keyboard Shortcuts` does. It would be unfortunate if instead I will loose my workaround I've just found. Addigning desired functions to numpad keys can be very convenient, there are a lot of them. Okay, a look at the code shows that we are indeed forcing a modifier key. @Gilles, was there a reason to do this for tag shortcuts? Maik It looks like a faulty port to the KF6 API. Maik Forcing which one exactly ? I remember some keyboard shortcuts to mimic Adobe products... It's hardcoded in code with an explicit comment. Gilles I don't remember this kind of code. It's sounds like a fast port to Qt6 as well... Git commit 0ba4f89d9639bca03709a8a47a4f9ab3cadf7aff by Maik Qualmann. Committed on 20/03/2026 at 15:24. Pushed by mqualmann into branch 'master'. fix Key Sequence Recorder pattern FIXED-IN: 9.1.0 M +1 -1 NEWS M +1 -1 core/libs/tags/manager/tagpropwidget.cpp https://invent.kde.org/graphics/digikam/-/commit/0ba4f89d9639bca03709a8a47a4f9ab3cadf7aff |