Bug 57766

Summary: Selection via mouse moves after konsole scrolled
Product: [Applications] konsole Reporter: Holger Schurig <holgerschurig>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: My .kde/share/config/konsolerc

Description Holger Schurig 2003-04-27 12:19:21 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-2.95-0.78mdk 
OS:          Linux

I open up a new Konsole. I type "ls" and see the output. I can select anything on the screen, just as expected.

Now I type "ls -l", so that the screen scrolls. Or I press enter as much as needed. It just matters that Konsole scrolls the window.

When I now press and drag the mouse to select text, then the slection happens ABOVE the mouse cursor. Has konsole scrolled two lines, and I select text from the topmost line, then text from the second line will be selected. Once konsole has scrolled so much taht the first screenful is gone, I cannot select anything at all.

Resetting konsole by issing a "clear" command won't help. Resizing konsole doesn't help either.
Comment 1 Holger Schurig 2003-04-27 12:21:08 UTC
Ups, i meant BELOW the mouse cursor. 
Comment 2 Stephan Binner 2003-05-17 13:15:57 UTC
You're compiling from HEAD? Did you try a "make clean" in the build directory? 
Comment 3 Holger Schurig 2003-05-20 20:45:34 UTC
That is of no influence. 
 
I just did an cvsup on kdebase, and recompile kdebase/konsole and reinstalled it. I 
even did rm ~/.kde/share/config/konsole. But to no avail, it's still the same bug. I do 
some "ls -l" commands, so that konsole scrolled. And then I can't really select 
anymore. 
 
If I then do a "vi testfile", then I can select again. But when I go out of vi and the old 
screen contents gets restored, it's as bad as it was. 
 
 
Comment 4 Holger Schurig 2003-05-20 20:51:10 UTC
Created attachment 1615 [details]
My .kde/share/config/konsolerc

Edit -> Reset & Clear Terminal did not help

Edit -> Clear history did helps for a short time, because as soon as the screen
scrolls again, it stops working correctly. If the screen scrolls by one line,
it's off by line. If it scrolls by two lines, it's off by two lines. If the
screen scrolled 100 lines, I can't mark at all.

I'll add an attachment with my konsolerc, maybe this helps.
Comment 5 Holger Schurig 2004-05-13 21:31:44 UTC
This does not happen anymore with KDE 3.2.2 compiled on Gentoo.