The "/clear" command scrolls back to the top
Bug #1435007 reported by
poy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Low
|
Unassigned |
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.
Changed in dcplusplus: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This patch should fix this.