Bug 359763

Summary: Completion in block-selection mode only affects first line, selects preceding content
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Francis Herne <mail>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, nate, raphael.kde, sebpe
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Montage of screenshots illustrating the problem

Description Francis Herne 2016-02-24 17:07:39 UTC
Created attachment 97542 [details]
Montage of screenshots illustrating the problem

When in block-selection mode with the cursor spanning multiple lines, normal editing changes each line identically.

Picking a completion option, however, completes only the first line. After the completion the first part of the completed word is selected on all lines, so that continuing to enter text produces gibberish.

The screenshot is probably clearer than my explanation.
Comment 1 sebpe 2017-12-10 22:01:22 UTC
I have this issue too on different platforms ((K)ubuntu, Arch and Tumbleweed) and versions (up to the most recent ones).
It occurs in Kate, KWrite and KDevelop.

I am however not sure wether the bug belongs to frameworks-ktexteditor or to the "part" Component of Kate, which seems to be used in the applications mentioned above.
Comment 2 Ahmad Samir 2019-02-06 19:19:33 UTC
https://phabricator.kde.org/D18793
Comment 3 Ahmad Samir 2019-06-17 16:27:33 UTC
*** Bug 408564 has been marked as a duplicate of this bug. ***