Perhaps I misunderstand what you want? Here's what I did; 1. Resize the window so only 10 lines are visible. 2. Write 20 (or something similar) lines in the main chat. <-- I did this by re-connecting to a test hub with a MOTD that is 20 lines, so this includes the "disconnected" etc messages. 3. Make sure the scroll is at the bottom. 4. Write /clear 5 5. Write 20 lines in the main (same as above). Result: Scroll is at the bottom.
1. Resize the window so only 10 lines are visible. 2. Write 20 lines in the main chat. 3. Make sure the scroll is at the top. 4. Write /clear 5 5. Write 20 lines in the main. Result: Scroll is at the top. 1. Resize the window so only 10 lines are visible. 2. Write 20 lines in the main chat. 3. Make sure the scroll is at the middle. 4. Write /clear 5 5. Write 20 lines in the main. Result: Scroll is at the relative middle position. -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/1435007 Title: The "/clear" command scrolls back to the top Status in DC++: In Progress Bug description: in the DC++ chat, executing the "/clear" command while telling it to keep more lines shown than can be displayed in a single page of the chat control (eg "/clear 100") scrolls back to the top. it should scroll to the end if the chat was already scrolled to the end before running the command. To manage notifications about this bug go to: https://bugs.launchpad.net/dcplusplus/+bug/1435007/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp