Bug 68881

Summary: leave scroll position of Application window alone
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: Output ViewsAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jon Smirl 2003-11-23 21:39:49 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

I scroll to find something in the application window.
I click on another tab
I click back on the application window. 
Scroll position has been moved to the top of the data.

Clicking on another tab should not cause the scroll position of the output window to change.
Comment 1 Alexander Dymo 2003-11-24 17:59:57 UTC
Application output window is a simple listbox. If you select the line, listbox will show it. If you only scroll, but don't make a selection, the previously selected line (usually the first one) will be selected.
Comment 2 Jon Smirl 2003-11-24 18:09:05 UTC
Does the listbox control support the save/restore of scroll position?

If not a simple fix would be as each line gets appended to the send, move the selection to the last line appended. At least that way it would stay scrolled to the current output instead of the old output.
Comment 3 Alexander Dymo 2003-12-15 20:07:48 UTC
I doubt we should work around listbox scroll/focus handling. But afaik your suggested fix is already implemented (app output scrolls to the end if there are new lines and user didn't scrolled it before). Feel free to reopen if I've  misunderstood you.