Bug 488122

Summary: Scrollbars transparent on several graphics KCMs (Window Manager, Vulkan, potentially others)
Product: [Applications] kinfocenter Reporter: Ethan Barry <kant.seemee1776>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kant.seemee1776, kdedev, nate, sitter
Priority: NOR    
Version First Reported In: 6.0.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of a possible transparency bug.

Description Ethan Barry 2024-06-06 17:31:21 UTC
Created attachment 170209 [details]
Screenshot of a possible transparency bug.

SUMMARY
The `kinfocenter` application displays transparent scrollbars in many of the "Graphics" category tabs (see attachment). Text is visible inside the scrollbar margins, beneath the scroll indicator.

STEPS TO REPRODUCE
1. Open `kinfocenter`.
2. Select (for example) Graphics > Window Manager or Grapics > OpenCL.

OBSERVED RESULT
The text displays below the scrollbar, which is probably unintentional.

EXPECTED RESULT
3. The text either wraps or is hidden below the scrollbar.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Dell Inc.
Product Name: XPS 15 9510

ADDITIONAL INFORMATION
none
Comment 1 TraceyC 2024-06-06 22:42:38 UTC
I can confirm this behavior

Operating System: Solus 4.5
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Comment 2 Nate Graham 2024-06-07 14:50:39 UTC
Can confirm. But it's actually a bug in the code for these pages, not a general issue. The content isn't being horizontally constrained properly.
Comment 3 Ethan Barry 2024-06-07 15:05:14 UTC
To fix this, would I just need to change a config option on the KCM's text area? If it's a simple fix, and someone could give me some pointers, I'd like to help!
Comment 4 Nate Graham 2024-06-12 14:44:08 UTC
Not a config setting, but rather code changes are required here. Likely somewhere in https://invent.kde.org/plasma/kinfocenter/-/blob/master/src/qml/CommandOutputKCM.qml?ref_type=heads.