Bug 484187

Summary: Scrollbar elements overlap and disappear when panel height is its minimum.
Product: [Applications] dolphin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel
Priority: NOR Flags: 4wy78uwh: performance-
Version: 23.08.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://discuss.kde.org/t/can-the-scrollbar-background-always-be-shown-like-in-windows/12296/33?u=rokejulianlockhart
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Depiction of the problem.

Description Roke Julian Lockhart Beedell 2024-03-21 21:11:22 UTC
Created attachment 167571 [details]
Depiction of the problem.

SUMMARY
When Dolphin's panels' heights are reduced to their minimum, if multiple buttons at the end of each scroll bar have been enabled, these overlap. Additionally, the scrollbar toggle disappears.

STEPS TO REPRODUCE
Per https://discuss.kde.org/t/can-the-scrollbar-background-always-be-shown-like-in-windows/12296/33?u=rokejulianlockhart:
1.  Invoke “kcmshell6 kcm_style”.
2.  Edit Breeze.
3.  Select “Scrollbars”.
4.  Select “Two buttons” for the best demonstration, per https://discuss-cdn.kde.org/uploads/default/original/2X/e/e62b46923731ad9328bff6ecdd7a87b5961f77c6.png.

OBSERVED RESULT
The buttons overlap and the scroll toggle is invisible.

EXPECTED RESULT
They minimum size should be calculated in a manner which factors in how many buttons are present and their size, thereby allowing users with solely one button per end to minimize the panels further, and users with multiple buttons to not do so, ensuring that the scrollbar toggle and buttons are always visible.

SOFTWARE/OS VERSIONS
Operating System: cpe:/o:opensuse:tumbleweed:20240319
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
This also applies to https://bugs.kde.org/enter_bug.cgi?product=dolphin&component=panels%3A%20terminal.