← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1435007] Re: The "/clear" command scrolls back to the top

 

diregard comment #2; I was confusing the total line count with the
amount of lines per page...

I have fiddled with the code though to add a "scroll holder" tool. ;)

-- 
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++:
  Fix Committed

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.

  Test scenario:
  1. Resize the window so only 10 lines are visible.
  2. Write 50 lines in the main chat.
  3. Make sure the scroll is at the bottom.
  4. Write "/clear 30" (ie between 10 and 50).
  5. Write new lines in the main chat.
  Expected result: The scroll is at the bottom.
  Actual result: The scroll is at the top.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1435007/+subscriptions


References