Bug 482272 - Scrollbar style in Chromium and Chromium-derived apps/web views should be re-styled to match default Breeze scrollbar styling
Summary: Scrollbar style in Chromium and Chromium-derived apps/web views should be re-...
Status: REPORTED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 6.0.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-03 06:25 UTC by Shubham Arora
Modified: 2024-08-18 10:47 UTC (History)
4 users (show)

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


Attachments
scrollbar style issue (91.80 KB, image/png)
2024-03-03 06:25 UTC, Shubham Arora
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shubham Arora 2024-03-03 06:25:01 UTC
Created attachment 166331 [details]
scrollbar style issue

SUMMARY
Scrollbar style doesn't match plasma default styling

STEPS TO REPRODUCE
1. Add web browser applet to desktop

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.7.4-arch1-1.1-g14 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Flow X13 GV301RA
System Version: 1.0
Comment 1 Nate Graham 2024-03-05 17:18:23 UTC
I think this is because it's using the scrollbars provided by QTWebEngine, which is itself just Chromium, and those are the default Chromium scrollbars. You can also see the same styling in the Chromium app itself.

I guess we need for Breeze-GTK to re-style the Chromium scrollbars.
Comment 2 Artem Grinev 2024-03-05 17:44:14 UTC
(In reply to Nate Graham from comment #1)
> I think this is because it's using the scrollbars provided by QTWebEngine,
> which is itself just Chromium, and those are the default Chromium
> scrollbars. You can also see the same styling in the Chromium app itself.
> 
> I guess we need for Breeze-GTK to re-style the Chromium scrollbars.

I doubt Chromium scrollbars are customizable via GTK theming.
Comment 3 Nate Graham 2024-03-06 15:13:33 UTC
Then there's nothing we can do here. :(
Comment 4 Shubham Arora 2024-03-06 15:24:41 UTC
Can we inject custom css for scrollbar styling? Chromium supports this in css.
https://developer.chrome.com/docs/css-ui/scrollbar-styling
Comment 5 Nate Graham 2024-03-06 17:46:22 UTC
Interesting. Maybe doable in breeze-gtk after all which can apply custom CSS.