Bug 515703 - Regression: move tool does not accept arrow keys until starting a move
Summary: Regression: move tool does not accept arrow keys until starting a move
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Move (other bugs)
Version First Reported In: 5.2.15
Platform: Microsoft Windows Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression, triaged
Depends on:
Blocks:
 
Reported: 2026-02-08 01:29 UTC by dra.w.p.il.e+bugskde
Modified: 2026-05-06 15:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dra.w.p.il.e+bugskde 2026-02-08 01:29:12 UTC
The move tool used to start a move when pressing an arrow key. After commit https://invent.kde.org/graphics/krita/-/commit/c463e9c0a08228b6a0412faa3994d80dc07b4e94 that fixed Bug 513855, it no longer does so. Reverting that commit restores the behavior.

STEPS TO REPRODUCE

1. Draw something on the current layer so that you have something to move.
2. Equip the move tool.
3. Press an arrow key.

OBSERVED RESULT

Nothing happens.

EXPECTED RESULT

A move is started and the contents of the layer move in the pressed direction.

ADDITIONAL INFORMATION

Originally reported in this K-A thread: https://krita-artists.org/t/the-layer-moving-tool-in-5-2-15-cannot-be-moved-using-the-keyboards-directional-keys/164932
Comment 1 Lukas 2026-02-12 13:46:01 UTC
Yup, in the 5.2.14 it worked just fine, have to go back to this version to be able to work in Krita.
Comment 2 Dmitry Kazakov 2026-02-13 14:35:04 UTC
Oh... :)
Comment 3 Lukas 2026-04-20 10:53:22 UTC
Strangely, I'm on 5.2.16 now, and it is working fine, so it was changed back to what it was in 5.2.14 and before? Or I'm missing something or hallucinating.

Nonetheless, the bug is back in 5.3.0 and up (6.x.x too), what is quite disappointing, because that new text tool is very important in Krita, but that move tool bug is basically blocking a working pipeline to move to it...
I wish I would have a power to somehow speed up fixing it in 5.3+ or 6.0+?
Comment 4 Dmitry Kazakov 2026-04-20 11:22:25 UTC
Yeah, I have reverted the patch from krita/5.2 branch only, and the patch is still in master and krita/6.0 branches... I guess I should just revert it from there as well.
Comment 5 Lukas 2026-04-20 13:22:19 UTC
Ah, so I wasn't hallucinating to see it start working in 5.2.15+ - good xD.
I would really appreciate it if this change would be rolled out of 5.3.x/6.0.x till further refinement - I am absolutely ok with what you tried to add or fix by that, but without destroying what is working as should in that tool.
Thanks in advance :)
Comment 6 Lukas 2026-05-04 11:51:27 UTC
(In reply to Dmitry Kazakov from comment #4)
> Yeah, I have reverted the patch from krita/5.2 branch only, and the patch is
> still in master and krita/6.0 branches... I guess I should just revert it
> from there as well.

Hi Dimitry, so what about that? Is it reverted now maybe? Or I can get a timeframe when I can expect fix on that tool behavior?
Thanks!
Comment 7 Dmitry Kazakov 2026-05-05 12:01:12 UTC
Git commit 978376309e5c8922668d333d02502b4418922644 by Dmitry Kazakov.
Committed on 05/05/2026 at 12:01.
Pushed by dkazakov into branch 'master'.

Revert "Fix Transform and Move shortcuts conflicting Timeline arrow key actions"

This reverts commit c463e9c0a08228b6a0412faa3994d80dc07b4e94.

M  +0    -37   libs/ui/tool/kis_tool_utils.cpp
M  +0    -32   libs/ui/tool/kis_tool_utils.h
M  +10   -9    plugins/tools/basictools/kis_tool_move.cc
M  +1    -3    plugins/tools/basictools/kis_tool_move.h
M  +8    -8    plugins/tools/tool_transform2/kis_tool_transform.cc
M  +0    -3    plugins/tools/tool_transform2/kis_tool_transform.h

https://invent.kde.org/graphics/krita/-/commit/978376309e5c8922668d333d02502b4418922644
Comment 8 Dmitry Kazakov 2026-05-05 12:03:26 UTC
Git commit 82526fa0856be08edd8764cb70cf26c123631a02 by Dmitry Kazakov.
Committed on 05/05/2026 at 12:01.
Pushed by dkazakov into branch 'krita/6.0'.

Revert "Fix Transform and Move shortcuts conflicting Timeline arrow key actions"

This reverts commit c463e9c0a08228b6a0412faa3994d80dc07b4e94.

M  +0    -37   libs/ui/tool/kis_tool_utils.cpp
M  +0    -32   libs/ui/tool/kis_tool_utils.h
M  +10   -9    plugins/tools/basictools/kis_tool_move.cc
M  +1    -3    plugins/tools/basictools/kis_tool_move.h
M  +8    -8    plugins/tools/tool_transform2/kis_tool_transform.cc
M  +0    -3    plugins/tools/tool_transform2/kis_tool_transform.h

https://invent.kde.org/graphics/krita/-/commit/82526fa0856be08edd8764cb70cf26c123631a02
Comment 9 Lukas 2026-05-06 14:40:28 UTC
Thanks!
Comment 10 Lukas 2026-05-06 15:51:56 UTC
All is great, just build a 5.3.2 from source and it is fine. Thanks one more, for that revert!