Bug 491969

Summary: Visual glitch when horizontal scrollbar automatically hides
Product: [Applications] kate Reporter: kde.bounding300
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: minor CC: christoph, waqar.17a
Priority: NOR    
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video of glitch

Description kde.bounding300 2024-08-21 07:48:21 UTC
SUMMARY
When the horizontal scrollbar disappears, a small piece of it remains visible in the gutter.

STEPS TO REPRODUCE
1. Disable Word Wrap and set "Scrollbars visibility" to "Show When Needed".
2. Create a new document.
3. Type a line long enough to make the horizontal scrollbar appear.
4. Scroll down until the long line is not visible.

OBSERVED RESULT
A small piece of the horizontal scrollbar remains visible and sticks to the gutter.

EXPECTED RESULT
No graphical glitch.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
Memory: 15.3 GiB of RAM
Graphics Processor: AMD Radeon Vega 10 Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Zephyrus G GU502DU_GA502DU
System Version: 1.0

ADDITIONAL INFORMATION
The glitch disappears when the GUI is redrawn.
Comment 1 kde.bounding300 2024-08-21 08:06:25 UTC
Update:
The bug seems to only occur when the bottom sidebar is open.
Comment 2 Waqar Ahmed 2024-08-22 11:53:07 UTC
A screenshot / video would be nice.
Comment 3 kde.bounding300 2024-08-22 19:52:21 UTC
Created attachment 172862 [details]
Video of glitch

Spectacle doesn't capture the residual piece of the scrollbar, instead showing a black rectangle.
Comment 4 kde.bounding300 2024-08-22 19:54:32 UTC
Comment on attachment 172862 [details]
Video of glitch

The video was recorded under Wayland, but the glitch also occurs on X11.
Comment 5 Christoph Cullmann 2024-09-13 18:01:42 UTC
Hmm, looks not nice, can't reproduce here, but that might just be good luck on my side.
Comment 6 Christoph Cullmann 2024-12-14 20:56:41 UTC
Can not get that to happen, does it still happen with the current versions shipped on Arch?
Comment 7 kde.bounding300 2024-12-14 21:06:56 UTC
(In reply to Christoph Cullmann from comment #6)
> Can not get that to happen, does it still happen with the current versions
> shipped on Arch?

It doesn't seem to be happening anymore.
Comment 8 Christoph Cullmann 2024-12-14 21:10:50 UTC
Thanks, then I think this was some issue in the underlying stack.