Bug 432056

Summary: Pressing tilde affects multiple splits/views
Product: [Applications] kate Reporter: Thomas Hunter II <me>
Component: Vi Input ModeAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Hunter II 2021-01-24 21:54:04 UTC
SUMMARY

When I have two views/splits open at the same time, pressing ~ with one split open will result in the character in the current split and the other open split to have the case changed.

STEPS TO REPRODUCE
1. Enable vim mode
2. Open two separate files in two splits, both visible at the same time
3. Place the cursor over a letter character in both splits
4. Press ~ with one of the splits focused

OBSERVED RESULT

The current character in both splits will have its case toggled.

EXPECTED RESULT

Only the character in the focused split should have its case toggled.

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

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2021-01-30 04:07:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/96
Comment 2 Jan Paul Batrina 2021-01-30 09:29:57 UTC
Git commit befa12085f975658f2087a9f654443aa691d264f by Jan Paul Batrina.
Committed on 30/01/2021 at 09:29.
Pushed by cullmann into branch 'master'.

[Vimode] Do not switch view when changing case (~ command)

M  +0    -1    src/vimode/modes/normalvimode.cpp

https://invent.kde.org/frameworks/ktexteditor/commit/befa12085f975658f2087a9f654443aa691d264f