WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199104
[GTK] Navigation gesture should use dark fallback bg color on dark themes
https://bugs.webkit.org/show_bug.cgi?id=199104
Summary
[GTK] Navigation gesture should use dark fallback bg color on dark themes
Alice Mikhaylenko
Reported
2019-06-21 01:55:17 PDT
See the patch.
Attachments
Patch
(1.96 KB, patch)
2019-06-21 01:56 PDT
,
Alice Mikhaylenko
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews211 for win-future
(13.79 MB, application/zip)
2019-06-21 05:43 PDT
,
EWS Watchlist
no flags
Details
Patch
(1.94 KB, patch)
2019-06-21 07:51 PDT
,
Alice Mikhaylenko
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alice Mikhaylenko
Comment 1
2019-06-21 01:56:05 PDT
Created
attachment 372621
[details]
Patch
EWS Watchlist
Comment 2
2019-06-21 05:43:25 PDT
Comment hidden (spam)
Comment on
attachment 372621
[details]
Patch
Attachment 372621
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/12540364
New failing tests: storage/indexeddb/index-cursor.html
EWS Watchlist
Comment 3
2019-06-21 05:43:28 PDT
Comment hidden (spam)
Created
attachment 372626
[details]
Archive of layout-test-results from ews211 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews211 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Michael Catanzaro
Comment 4
2019-06-21 07:03:17 PDT
Comment on
attachment 372621
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=372621&action=review
> Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp:322 > + gtk_style_context_lookup_color(context, "theme_base_color", &color);
Is this an Adwaita-ism? What happens if the theme doesn't have a theme_base_color? Will the GdkRGBA contain uninitialized memory? Do we need a fallback?
Alice Mikhaylenko
Comment 5
2019-06-21 07:06:19 PDT
Good question. It is listed as a public color, and elementary also has it (I tested on that one too specifically). But worth to double-check, agree.
Michael Catanzaro
Comment 6
2019-06-21 07:22:27 PDT
Better add a fallback if there's any possibility the GdkRGBA could be uninitialized.
Alice Mikhaylenko
Comment 7
2019-06-21 07:51:53 PDT
Created
attachment 372629
[details]
Patch
Alice Mikhaylenko
Comment 8
2019-06-21 07:53:09 PDT
(In reply to Michael Catanzaro from
comment #6
)
> Better add a fallback if there's any possibility the GdkRGBA could be > uninitialized.
Yeah, agree. Realistically, `win32` theme may be missing it.
WebKit Commit Bot
Comment 9
2019-06-24 07:34:53 PDT
Comment on
attachment 372629
[details]
Patch Clearing flags on attachment: 372629 Committed
r246732
: <
https://trac.webkit.org/changeset/246732
>
WebKit Commit Bot
Comment 10
2019-06-24 07:34:55 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug