Bug 415455

Summary: Zooming (font size) chat window text requires scrolling
Product: [Applications] konversation Reporter: Jaggz H. <jaggz.h>
Component: ircviewAssignee: argonel <argonel>
Status: REPORTED ---    
Severity: minor CC: konversation-devel
Priority: NOR    
Version: 1.7.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaggz H. 2019-12-22 14:31:32 UTC
SUMMARY
When zooming (ctrl -/+/mousewheel): The current position seems to be considered the top of the chat text. This might make sense when scrolled back, but not when at the end of chat (which is the most common user location I presume) it then requires one to scroll back down to the end.

One solution is, upon zoom, to test if the user is at the end of the chat text, and update the current chat line from that position instead of the top.


STEPS TO REPRODUCE
1. Hit ctrl+ or ctrl mousewheel-up

OBSERVED RESULT
Text at bottom of the window, now larger, scrolls out of view.

EXPECTED RESULT
Last line, at bottom of window, stays in place, with top lines being displaced out of view.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Yes, thank you. (Debian 10)
KDE Frameworks Version: 5.54.0
KDE Plasma Version: 5.14.5
Qt Version: n/a

ADDITIONAL INFORMATION