Bug 194452 - Magic Scroll with will of its own
Summary: Magic Scroll with will of its own
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 18:09 UTC by Hugo Rito
Modified: 2012-11-02 19:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Rito 2009-05-28 18:09:23 UTC
Version:            (using KDE 4.2.85)

In order to reproduce this bug it is important to have a long file (1000 LOC or more), not because it's a deciding factor to observe the bug but due to timing constraints.

Open the file, scroll all the way to the bottom/end and, with the mouse, start selecting the text towards the top.

Once the mouse is no longer over the text view, but with the left button still pressed and while the text is scrolling up, press the right button to call the context menu (over the toolbar).

The scroll will continue upward even if you press ESC, type anything, switch files, minimize kate, put the scrollbar at the top, ... Double click will stop the event.

The same applies from top to bottom selection.
Comment 1 Erlend Hamberg 2009-05-28 18:32:30 UTC
i can confirm this happens with kate from trunk.
Comment 2 Christoph Cullmann 2012-11-02 19:58:16 UTC
Git commit 55b6fc10f438c75fc6699bc396e85810ea301bd0 by Christoph Cullmann.
Committed on 02/11/2012 at 20:57.
Pushed by cullmann into branch 'master'.

fix magic scrolling bug, reset timer on leave event

M  +5    -0    part/view/kateviewinternal.cpp

http://commits.kde.org/kate/55b6fc10f438c75fc6699bc396e85810ea301bd0