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 (show other bugs)
Version: 22.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 03:56 UTC by red_Arti
Modified: 2022-10-18 20:24 UTC (History)
1 user (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 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