Bug 427918 - Scrolling is broken when scrollbar is hidden
Summary: Scrolling is broken when scrollbar is hidden
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-18 12:38 UTC by Ismael Asensio
Modified: 2020-10-19 21:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Scrolling attemp (303.58 KB, video/mp4)
2020-10-18 12:38 UTC, Ismael Asensio
Details

Note You need to log in before you can comment on or make changes to this bug.
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