WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237527
[GTK][WPE] Add initial adwaita style for PDF.js
https://bugs.webkit.org/show_bug.cgi?id=237527
Summary
[GTK][WPE] Add initial adwaita style for PDF.js
Carlos Garcia Campos
Reported
2022-03-07 06:31:43 PST
Initial adwaita style.
Attachments
Patch
(4.44 KB, patch)
2022-03-07 06:33 PST
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2022-03-07 06:33:26 PST
Created
attachment 453972
[details]
Patch This won't apply as it's based on
bug #237516
Michael Catanzaro
Comment 2
2022-03-07 07:50:43 PST
Comment on
attachment 453972
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=453972&action=review
> Source/WebCore/Modules/pdfjs-extras/adwaita/style.css:27 > +#openFile { > + display: none !important; > +}
Is the file chooser not working?
> Source/WebCore/Modules/pdfjs-extras/adwaita/style.css:31 > +.dropdownToolbarButton > select { > + -webkit-appearance: none; > +}
Hm, honestly I don't remember exactly what this hack was used for, other than to hide something that was broken in Epiphany. Jan-Michael might remember for sure.
Carlos Garcia Campos
Comment 3
2022-03-08 00:39:39 PST
Comment on
attachment 453972
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=453972&action=review
>> Source/WebCore/Modules/pdfjs-extras/adwaita/style.css:27 >> +} > > Is the file chooser not working?
Yes, opening files results in an error message. I don't know why, but I'm not sure we want to provide that functionality either.
>> Source/WebCore/Modules/pdfjs-extras/adwaita/style.css:31 >> +} > > Hm, honestly I don't remember exactly what this hack was used for, other than to hide something that was broken in Epiphany. Jan-Michael might remember for sure.
This is not hiding anything, this is telling WebKit not to use the native appearance for the zoom combo box in the toolbar, because the adwaita one is bigger and doesn't look right. Hopefully Alexander can add customizations here to make it look great and consistent with adwaita.
Carlos Garcia Campos
Comment 4
2022-03-10 01:30:52 PST
Committed
r291096
(
248258@trunk
): <
https://commits.webkit.org/248258@trunk
>
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