RESOLVED FIXED 235884
[GTK][WPE] Update widget style to match libadwaita
https://bugs.webkit.org/show_bug.cgi?id=235884
Summary [GTK][WPE] Update widget style to match libadwaita
Alice Mikhaylenko
Reported 2022-01-31 03:21:10 PST
See the patch.
Attachments
Patch (46.13 KB, patch)
2022-01-31 03:23 PST, Alice Mikhaylenko
no flags
Screenshot (59.69 KB, image/png)
2022-01-31 03:23 PST, Alice Mikhaylenko
no flags
Patch (48.61 KB, patch)
2022-01-31 03:58 PST, Alice Mikhaylenko
no flags
Patch (48.53 KB, patch)
2022-01-31 04:06 PST, Alice Mikhaylenko
no flags
Patch (48.53 KB, patch)
2022-02-07 06:21 PST, Alice Mikhaylenko
no flags
Patch (48.59 KB, patch)
2022-03-24 14:49 PDT, Alice Mikhaylenko
no flags
The linked test, an image without this patch but with --new-baseline (20.46 KB, image/png)
2022-03-25 03:49 PDT, Alice Mikhaylenko
no flags
Patch (3.96 MB, patch)
2022-03-25 05:54 PDT, Alice Mikhaylenko
no flags
Patch (4.01 MB, patch)
2022-03-25 07:40 PDT, Alice Mikhaylenko
no flags
Patch (4.01 MB, patch)
2022-03-25 09:26 PDT, Alice Mikhaylenko
no flags
Alice Mikhaylenko
Comment 1 2022-01-31 03:23:13 PST
Alice Mikhaylenko
Comment 2 2022-01-31 03:23:40 PST
Created attachment 450397 [details] Screenshot
Alice Mikhaylenko
Comment 3 2022-01-31 03:24:51 PST
Note the button and entry style doesn't really match libadwaita, it's just using new colors and borders. The actual style looks similar to the progress bar, but I'm hesitant to use it here since it may not be well visible depending on the surroundings.
Alice Mikhaylenko
Comment 4 2022-01-31 03:58:55 PST
Carlos Garcia Campos
Comment 5 2022-01-31 04:03:54 PST
Comment on attachment 450400 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=450400&action=review > Source/WebCore/platform/adwaita/ScrollbarThemeAdwaita.cpp:269 > + /*if (scrollbar.hoveredPart() == NoPart && usesOverlayScrollbars()) > graphicsContext.setFillColor(overlayThumbColor); > - else if (scrollbar.pressedPart() == ThumbPart) > - graphicsContext.setFillColor(static_cast<ThemeAdwaita&>(Theme::singleton()).activeSelectionBackgroundColor()); > + else*/ if (scrollbar.pressedPart() == ThumbPart) What's this commented code?
Alice Mikhaylenko
Comment 6 2022-01-31 04:05:34 PST
My bad, forgot to remove that.
Alice Mikhaylenko
Comment 7 2022-01-31 04:06:10 PST
Alice Mikhaylenko
Comment 8 2022-01-31 04:08:22 PST
I expect this will need test updates, waiting for EWS to finish to check as it will take forever to run all tests locally.
Alice Mikhaylenko
Comment 9 2022-02-04 00:51:26 PST
*** Bug 236119 has been marked as a duplicate of this bug. ***
Alice Mikhaylenko
Comment 10 2022-02-07 06:21:10 PST
Adrian Perez
Comment 11 2022-03-17 02:07:38 PDT
Comment on attachment 451085 [details] Patch Nice, thanks for all the pixel-pushing! 🎨️
Alice Mikhaylenko
Comment 12 2022-03-24 11:25:47 PDT
Hm, not sure what's happening with EWS. Maybe sometihng expired and I need to reupload the patch?
Adrian Perez
Comment 13 2022-03-24 14:18:13 PDT
(In reply to Alexander Mikhaylenko from comment #12) > Hm, not sure what's happening with EWS. Maybe sometihng expired and I need > to reupload the patch? The package with the built WebKit is no longer available. You can re-upload the patch after setting the reviewer and let the EWS build it again =)
Alice Mikhaylenko
Comment 14 2022-03-24 14:49:40 PDT
Alice Mikhaylenko
Comment 15 2022-03-25 03:49:13 PDT
Created attachment 455743 [details] The linked test, an image without this patch but with --new-baseline Some tests have extra changes like slight dimension differences - e.g. https://ews-build.s3-us-west-2.amazonaws.com/GTK-WK2-Tests-EWS/455687-12354/retries/tables/mozilla/bugs/bug7342-diffs.html However, it looks like those differences are preexisting and the test only didn't fail because the changes were too small - and with the different button color it's enough to push it over the line. See screenshot for an example. So I'm just blindly updating those tests then, I was trying to figure out what could cause this change...
Alice Mikhaylenko
Comment 16 2022-03-25 05:54:57 PDT
Alice Mikhaylenko
Comment 17 2022-03-25 05:55:34 PDT
Fixed some tests, left out the clearly preexisting ones. Let's see what EWS says...
Alice Mikhaylenko
Comment 18 2022-03-25 07:40:46 PDT
Alice Mikhaylenko
Comment 19 2022-03-25 09:26:29 PDT
EWS
Comment 20 2022-03-25 16:15:39 PDT
Committed r291901 (248894@main): <https://commits.webkit.org/248894@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455771 [details].
Note You need to log in before you can comment on or make changes to this bug.