Bug 427918

Summary: Scrolling is broken when scrollbar is hidden
Product: [Applications] konsole Reporter: Ismael Asensio <isma.af>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: cbc.alves, gcarneiroa, tcanabrava
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Scrolling attemp

Description Ismael Asensio 2020-10-18 12:38:14 UTC
Created attachment 132523 [details]
Scrolling attemp

SUMMARY

Konsole fails to update the most part of the terminal contents when scrolling with mouse wheel or touchpanel. This only happens when the scrollbar is hidden. 

In the attatchment you'll see the central part of the terminal stays fixed despite being scrolling (scrolling can be seen on the first two characters of each line). It repaints again if the window is resized.

I could git bisect this to MR https://invent.kde.org/utilities/konsole/-/merge_requests/236.

STEPS TO REPRODUCE
1. Set "Scrollbar position" to "Hidden"
2. Print something larger than the window height.
3. Scroll using mouse wheel or touchpad

OBSERVED RESULT
The terminal does not redraw the scrolled contents to its new position.

EXPECTED RESULT
Content is correctly displayed when scrolled.

SOFTWARE/OS VERSIONS
Konsole Version: 20.11.70 (master)
KDE Plasma Version: 5.20.90 (master)
KDE Frameworks Version: 5.76.0 (master)
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Kurt Hindenburg 2020-10-18 20:47:05 UTC
Gustavo, can you look at this please?
Comment 2 tcanabrava 2020-10-19 08:59:29 UTC
me/gustavo are working to fix.
Comment 3 Gustavo Carneiro 2020-10-19 09:09:48 UTC
Yes, I'll look at that already
Comment 4 Carlos Alves 2020-10-19 21:56:26 UTC
Fixed