Bug 478356

Summary: [BLOCK]insert inconsistent multi-line drag move
Product: [Applications] kate Reporter: sodiumchloridelattice
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kdedev
Priority: NOR    
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example of [BLOCK] insert selection inconsistency

Description sodiumchloridelattice 2023-12-10 18:16:30 UTC
Created attachment 164075 [details]
example of [BLOCK] insert selection inconsistency

SUMMARY

When dragging to move multiple lines with [Block]insert enabled displays text outside of your selection, even if the selected text is moved correctly.

STEPS TO REPRODUCE
1.  Type multiple line of text (I have text wrap disabled)
2.  select a block of text near the end of the lines 
    
Example:

text:

line 1| 0123456
line 2| 0123456 
line 3| 0123456

selection:

3456
3456 
3456

3. Drag selection elsewhere

OBSERVED RESULT

See text outside of your selection, making it look like you're about to copy much more than extected

EXPECTED RESULT

Only displaying the selected block of text while dragging it

SOFTWARE/OS VERSIONS
Linux: 6.6.4-arch1-1 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
See screenshot