Bug 477666 - reassigned hotkey activates default tool when pressed, correct tool when released
Summary: reassigned hotkey activates default tool when pressed, correct tool when rele...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 5.2.1
Platform: Android Android 13.x
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-28 10:47 UTC by Redkitt3n14
Modified: 2024-07-18 12:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Redkitt3n14 2023-11-28 10:47:12 UTC
SUMMARY
***
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
***
see recording of issue on dropbox attached under "pressed hotkey issue" folder
https://www.dropbox.com/scl/fo/4hkkazbv1fsjnzf6okxgb/h?rlkey=ysf4z5ccj12dwrh24oi39j8g0&dl=0

STEPS TO REPRODUCE
1. assign V to draw selection tool
2. assign none to line tool
3. press V on connected bluetooth keyboard
4 release V on keyboard

OBSERVED RESULT
while holding v line tool is selected
draw select only chsnges to when released

EXPECTED RESULT
does not go to line tool only select

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
controller shown in video is 8bitdo micro used in keyboard mode with the X key set as V in 8bitdo software
Comment 1 Dmitry Kazakov 2024-07-18 12:57:09 UTC
Hi, Redkitt3n14!

The 'V' key is assigned to the line tool by default. You need to unassign it first at:

Preferences->Canvas Input Actions->Tool Invocation->Activate Line Tool

And then assign it to another tool in the "Keyboard Shortcuts" page.

You just have a conflict of two actions connected to the same key. We have two "independent" shortcuts system, so one needs to remember to not assign a key twice. That is a known issue.