Bug 466361 - [Krita] Shortcuts assigned via "Canvas Input Settings" not prioritized over Layer selection via first letter of layer name (as compared to "Keyboard Shortcuts", which are prioritized)
Summary: [Krita] Shortcuts assigned via "Canvas Input Settings" not prioritized over L...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.1.5
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 16:30 UTC by NesayaTU
Modified: 2023-10-17 21:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NesayaTU 2023-02-24 16:30:39 UTC
SUMMARY
Shortcuts assigned via "Canvas Input Settings" not prioritized over Layer selection via first letter of layer name (as compared to "Keyboard Shortcuts", which are prioritized)

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE (Example!)
1. Remove Shortcut "B" from Keyboard Shortcuts > Tool Shortcuts > Freehand Brush Tool. (= set to Custom: None)
2. Assign Shortcut "B" to Show Popup Widget in Canvas Input Settings
3. Create new Canvas. Create 3 layers. Rename layers to a, b and b2.
4. Select layer a. (Layer docker is now in focus)
5. Hover over the Canvas (no clicking!) and press "B" to invoke the Popup Palette.

OBSERVED RESULT
Variable. 
- Mostly, the active layer now switches to the topmost layer starting with the letter b and then cycles through all layers starting with b. At some point this might stop and the palette will open.
- If hovering over the Layers docker the Palette will never open.

This is completely counter to what happens if the Shortcut "B" is set (for example) to the freehand brush tool in the "Keyboard Shortcuts", which will eliminate the above behavior and activate the Freehand Brush tool no matter if the Layers docker is in focus and/or the mouse is hovering over the docker or the canvas.

EXPECTED RESULT
Upon pressing "B" the Pupup Palette opens.

SOFTWARE/OS VERSIONS
Windows: Win10 Pro 64 Build 19044
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
- Terribly sorry if it's confusing - I'm not an IT guy.
- Problem is easily circumvented by starting layer names with letters or symbols that have a hotkey assigned in "Keyboard Shortcuts".
- Can't set Krita Version in Browser Bugtracker tool. I am using Krita 5.1.5, however.
Comment 1 minnobrine 2023-10-17 21:31:41 UTC
I am having the same issue. The popup always opens for me, but sometimes it opens and changes to a layer starting with b. This seems to be the case with all hotkeys under the "Canvas Input Settings".

I was sent from: https://krita-artists.org/t/show-popup-widget-hotkey-changes-layers/76218/11

SOFTWARE/OS VERSIONS
Linux: GNU/Linux EndeavourOS
Kernel version: 6.5.7-arch1-1
Krita Version: 5.2.0 (AppImage)
Qt version compiled: 5.15.10, loaded: 5.15.10