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 *** STEPS TO REPRODUCE 1. Make some code changes in a git repo. 2. Open the git toolview and double-click a file to stage it OBSERVED RESULT The context menu in the diff file offers Stage Line/Hunk action. Behaviour is correct when using the Stage action from the context menu. EXPECTED RESULT The context menu in the diff file should offer Unstage Line/Hunk actions SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Hmm, cannot reproduce on a quick try.
Created attachment 151610 [details] stage hunk/lines Here is a video showing the bug.
I see. This is the problem when you have actions assigned to both single and double click :/ Probably best to make single click do nothing at all by default. Otherwise it's hard to fix this I think.
Git commit af837868640c616e16b81ed64cec3caa2628ca37 by Waqar Ahmed. Committed on 26/08/2022 at 10:05. Pushed by waqar into branch 'master'. Git: Make single click do nothing by default M +1 -1 addons/project/kateprojectplugin.cpp https://invent.kde.org/utilities/kate/commit/af837868640c616e16b81ed64cec3caa2628ca37
Would be ok with this workaround.