Bug 68881 - leave scroll position of Application window alone
Summary: leave scroll position of Application window alone
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Output Views (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-23 21:39 UTC by Jon Smirl
Modified: 2003-12-15 20:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.