Bug 403462

Summary: Text selection changes wrongly when more lines than what the window shows are selected
Product: [Applications] konsole Reporter: Facundo Batista <facundo>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, wbauer1
Priority: NOR    
Version: 18.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Facundo Batista 2019-01-21 13:48:42 UTC
Trying to select more history than what is shown changes initial selection.


STEPS TO REPRODUCE
1. Open a new terminal
2. Create a history longer in lines than the window's height.
3. Select a couple of lines from the bottom of the window
4. Scroll the window a couple of "pages" up
5. With Shift pressed, click on any part of the window

OBSERVED RESULT

The original selection changes, now starting in where it was just clicked, but ending in a line at the bottom of the shown windows. The whole selection is included in the current shown lines.


EXPECTED RESULT

The original selection should change, now starting in where it was just clicked, but ending at the end of the original selection. The whole selection is across history lines that are larger than what the current window shows.


NOTE: the similar behaviour happens if you start the selection in the beginning of the history, scroll down, shift+click in a lower part...


SOFTWARE/OS VERSIONS
Windows: -
MacOS: -
Linux/KDE Plasma: Ubuntu Bionic, kernel 4.15.0-43-generic
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Wolfgang Bauer 2019-01-21 16:36:21 UTC
Isn't this the same as bug#403117 ?
Comment 2 Facundo Batista 2019-01-21 17:46:31 UTC
Yes! marking as duplicated..

*** This bug has been marked as a duplicate of bug 403117 ***
Comment 3 Nate Graham 2019-01-21 19:00:39 UTC
Did you build Konsole from source using git master? If this bug is present on 18.12.1, fixing it is an emergency!
Comment 4 Facundo Batista 2019-01-21 19:02:20 UTC
I didn't use master. It's installed normally in my system:

 LANG=C apt-cache policy konsole
konsole:
  Installed: 4:18.12.1-0xneon+18.04+bionic+build14
  Candidate: 4:18.12.1-0xneon+18.04+bionic+build14