Bug 315542

Summary: katepart scrolls to end when pasting (scroll past end enabled)
Product: [Applications] kate Reporter: Alex Richardson <arichardson.kde>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nielsgm
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex Richardson 2013-02-20 20:59:49 UTC
I have scroll past end enable in the katepart settings.
Whenever I scroll past the end and then paste some text at the end of the file the editor view automatically scrolls so that the last line is at the bottom of the view.

E.g. I scroll 10 lines past the end -> 10 empty lines visible
Then I insert 1 line of text with Ctrl+V -> jumps to end -> 0 empty lines visible
I would expect it not to scroll and show 9 empty lines.

This jump is quite confusing, since I don't know where in the document I am now straight away.

Reproducible: Always
Comment 1 Alex Richardson 2013-02-20 21:05:18 UTC
I just noticed this also happens when I start typing, not just when I paste somthing.

Hope I expressed myself clearly, it should be easy to reproduce.
Comment 2 Dominik Haumann 2014-09-10 20:46:57 UTC
*** Bug 317364 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2014-09-10 21:10:57 UTC

*** This bug has been marked as a duplicate of bug 322532 ***