Bug 467361 - Apply Breeze QStyle scrollbar arrow settings to GTK apps' scrollbars
Summary: Apply Breeze QStyle scrollbar arrow settings to GTK apps' scrollbars
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: 5.27.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 20:03 UTC by David
Modified: 2023-03-27 17:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2023-03-14 20:03:04 UTC
SUMMARY
Under the new logic of GTK settings carryover where things aren't configurable independently for GTK, if I select an application style like "breeze" and configure it to show arrows on scrollbars, it will not show arrows on scrollbars of GTK apps.

STEPS TO REPRODUCE
1. Go to System Settings -> Appearance -> Global Theme -> Application Style -> select "Breeze".
2. Click the edit button in the breeze rectangle.
3. Go to "scrollbars".
4. Set both "Top arrow button type" and "Bottom arrow button type" to something **other**  than "No buttons".
5. Apply the settings. Optionally, restart computer at this point.
6. Launch some GTK app like "nemo" or "evolution". Put it into a situation in which it will need a scrollbar - for example, by browsing a folder with many files, or by having many emails to browse.

OBSERVED RESULT
Scrollbars don't have arrows.

EXPECTED RESULT
Scrollbars should have arrows.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-6-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: Executive

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-15 17:16:46 UTC
Do you know if this worked in the past? And in the present, does GTK even support these settings with the same level of granularity that we do? i.e. can you manually make the GTK apps' scrollbars have the same number and position of arrows that you can with Qt apps' scrollbars?
Comment 2 David 2023-03-15 19:25:00 UTC
(In reply to Nate Graham from comment #1)
> Do you know if this worked in the past? And in the present, does GTK even
> support these settings with the same level of granularity that we do? i.e.
> can you manually make the GTK apps' scrollbars have the same number and
> position of arrows that you can with Qt apps' scrollbars?

I don't know if Breeze applied those settings to QT in the past. But back then, it was possible to choose the GTK application style and set something other than breeze. Don't remember if the arrows were applied from another theme either.

I'm not familiar with other linux DEs so don't know how to configure that sort of thing either.
Comment 3 Nate Graham 2023-03-27 17:24:08 UTC
The problem is that as far as I can tell, GTK doesn't natively offer this feature. We would have to hack it in using CSS in our breeze-gtk theme. It might be feasible, or it might not be.