Bug 430126 - Can't assign single numpad key as shortcut to action
Summary: Can't assign single numpad key as shortcut to action
Status: REOPENED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.104.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 23:07 UTC by Mariusz Pawelski
Modified: 2023-06-24 10:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Gif Showing the problem (173.59 KB, image/gif)
2023-04-30 22:08 UTC, Mariusz Pawelski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Pawelski 2020-12-07 23:07:24 UTC
SUMMARY
I cannot set single numpad key as shortuct (for example to easily assign labels for photos)

STEPS TO REPRODUCE
1. Go to Setting > Configure Keyboard Shortcuts
2. Try to set single press of "Numpad1" key as shortcut for 'Assign pick label "Rected"' action.

OBSERVED RESULT
Upon pressing Numpad1 for input, it shows "Num+1, Num+...", expecting some next key to be pressed, as if it's a modifier.

EXPECTED RESULT
It should work as for other not-numpad keys. When I press non-numpad "1" it's assigned as single key shortcut without a problem.

SOFTWARE/OS VERSIONS
Windows: 10
(available in About System)
KDE Frameworks Version:   5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
I love digikam. Great that it works on Windows OS. Keep up the good work!
Comment 1 Mariusz Pawelski 2020-12-07 23:24:36 UTC
ok, I noticed that digikam doesn't recognize if I press "Num1" or just "1".

So I can make shortcut only for "1" and use "Num1" and "1" to invoke action. Good enought for me. But it is very confusing and non-obvious that this is the case. Especially when it shows this "Num+1, Num+..." text suggesting that digicam can make a difference between "1" key and "Num+1" key.
Comment 2 caulier.gilles 2023-04-30 07:28:17 UTC
This problem is not reproducible here with 8.0.0. I tested under Linux Kubuntu, MacOS, and Window 7 (VM) and all can set '1' to "assign pick label rejected" action.
Comment 3 Mariusz Pawelski 2023-04-30 22:08:37 UTC
Created attachment 158581 [details]
Gif Showing the problem

The buttons I pressed
- "1" and wait a moment.
- "1" then "2" then "3" without waiting much between pressing
- "NumPad1" then waits a lot, then "NumPad1" then waits a lot then "Numpad2" then wait a lot, then "Numpad2" and finally the shortcut is assigned.
- "Numpad1" then waits a lot then "2"
Comment 4 Mariusz Pawelski 2023-04-30 22:09:49 UTC
I just installed 8.0.0 on Windows and the issue still occurs.
- I can press "1" (not on numpad, but standard buttons abowe QWERTY) and the "1" is assigned. I can trigger the action by pressing "1" or "NumPad1"
- When I press "Numpad1" when assigning the action it writes "Num+1, Num + ..." and waits for second key to press. And it wait until I press other non numpad key or until I press some NumPad key 4 times.

Hey I attached gif where I press:
- "1" and wait a moment
- "2" then "3" then "4" without waiting much between pressing
- "NumPad1" then waits a lot, then "NumPad1" then waits a lot then "Numpad2" then wait a lot, then "Numpad3" and finally the shortcut is assigned.
- "Numpad1" then waits a lot then "2"