Bug 236119 - [GTK4] Web content highlight colour not the same as other Gtk text
Summary: [GTK4] Web content highlight colour not the same as other Gtk text
Status: RESOLVED DUPLICATE of bug 235884
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P3 Minor
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2022-02-03 19:30 PST by Kdwk
Modified: 2022-02-04 00:52 PST (History)
3 users (show)

See Also:


Attachments
Highlighted text in a GtkLabel (GTK4) (10.69 KB, image/png)
2022-02-03 19:30 PST, Kdwk
no flags Details
Highlighted text in a GtkLabel (GTK 4) (21.85 KB, image/png)
2022-02-03 19:36 PST, Kdwk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kdwk 2022-02-03 19:30:17 PST
Created attachment 450854 [details]
Highlighted text in a GtkLabel (GTK4)

In GTK 4, text highlights use a translucent light blue highlight colour while not changing the colour of the text itself. However, WebkitGTK is still using the GTK 3 style of deep(er) blue highlight colour with inverted font colour. The highlight style of WebkitGTK in GTK 4 should follow that of other GTK text.
Comment 1 Kdwk 2022-02-03 19:36:02 PST
Created attachment 450857 [details]
Highlighted text in a GtkLabel (GTK 4)
Comment 2 Alice Mikhaylenko 2022-02-04 00:51:26 PST

*** This bug has been marked as a duplicate of bug 235884 ***
Comment 3 Alice Mikhaylenko 2022-02-04 00:52:46 PST
See the linked bug - I have a work-in-progress patch to update this, though there are some underlying issues with transparent selection - a bunch of test failures show differences with more than just colors, so might drop that part for now.