Bug 491969 - Visual glitch when horizontal scrollbar automatically hides
Summary: Visual glitch when horizontal scrollbar automatically hides
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: part (other bugs)
Version First Reported In: 24.05.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 07:48 UTC by kde.bounding300
Modified: 2024-12-14 21:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Video of glitch (74.26 KB, video/webm)
2024-08-22 19:52 UTC, kde.bounding300
Details

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