Bug 454417 - 'gv' can't select last selection sometimes in Kate Vi input mode
Summary: 'gv' can't select last selection sometimes in Kate Vi input mode
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (other bugs)
Version First Reported In: 22.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 509928 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-26 03:56 UTC by red_Arti
Modified: 2025-09-25 14:22 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 red_Arti 2022-05-26 03:56:25 UTC
STEPS TO REPRODUCE
1. Open Kate and set into Vi input mode
2. Make a selection (visual mode) from right to left, or from down to up. (Use 'v', 'V', or mouse)
3. Press ESC to cancel the selection
4. Press 'gv' to reuse last selection

OBSERVED RESULT
Can't correctly select last selection

EXPECTED RESULT
'gv' restores last selection

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Graphics Platform: X11

ADDITIONAL INFORMATION
This bug won't occur if the first selection is from left to right , or from up to down
Comment 1 Sarah Wong 2022-10-18 20:24:58 UTC
Attempting a fix here:
https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/430
Comment 2 Waqar Ahmed 2025-09-25 14:22:14 UTC
*** Bug 509928 has been marked as a duplicate of this bug. ***