Hi Michael:

Am 22.10.24 21:39 schrieb(en) Michael Catanzaro:
System scrollbar theme is no longer supported, sorry.

This feature was already limited to the deprecated GTK 3 API versions, since 
GTK 4 doesn't support foreign drawing of GTK widgetry. So modern apps already 
have no native scrollbars unfortunately; they only work in legacy GTK 3 apps.

Ah, ok, I understand.  Which is a pity as Gtk3 looks *much* better than Gtk4 
(and is easier customisable) in environments which don't use Gnome applications 
exclusively.  In my case, I have an XFCE desktop, and already replaced a bunch 
of Gtk4 applications which are just ugly (no, my desktop is *not* a mobile 
phone!) with their KDE counterparts.

Then 2.46 switched from Cairo to Skia for rendering, and native scrollbars were 
just never implemented when using Skia. I don't understand graphics and don't 
know the details about why, but I think it's got something to do with 
performance. I think using GTK forces web view rendering to use only one thread 
instead of many threads?

Dumb question – would it be possible to completely disable the scroll bars or 
force the “natural” size of the WebKitWebView widget, so I could add it to a 
GtkScrolledWindow myself?  Or, as an alternative, to “extract” the real display 
widget without the scroll bars from it?

That wouldn't help for standard applications like devhelp, but would be *really* 
great for the MUA Balsa (<https://gitlab.gnome.org/GNOME/balsa>), where due to 
the automatic scroll bars plain-text and HTML messages are displayed differently.  
All the message components (headers widget, message parts, inline attachments, crypto 
signature box) are packed into a (scrollable) VBox anyway, which now sometimes 
results in a scrolled window (for the whole message) with an additional embedded 
scrolled window (HTML part) which is confusing.

Thanks,
Albrecht.

Attachment: openpgp-digital-signature.asc
Description: This is a digitally signed message part.

_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to