RESOLVED FIXED 133377
[GTK] Add support for HiDPI icons
https://bugs.webkit.org/show_bug.cgi?id=133377
Summary [GTK] Add support for HiDPI icons
Carlos Garcia Campos
Reported 2014-05-29 07:28:57 PDT
We should use the @2x versions of the icons when device scale factor is >=2
Attachments
Patch (3.65 KB, patch)
2014-05-29 07:33 PDT, Carlos Garcia Campos
mrobinson: review+
Carlos Garcia Campos
Comment 1 2014-05-29 07:33:34 PDT
Martin Robinson
Comment 2 2014-05-29 07:58:17 PDT
Comment on attachment 232248 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232248&action=review > Source/WebKit2/PlatformGTK.cmake:520 > + " <file alias=\"images/deleteButton@2x\">deleteButton@2x.png</file>\n" > " <file alias=\"images/missingImage\">missingImage.png</file>\n" > + " <file alias=\"images/missingImage@2x\">missingImage@2x.png</file>\n" > " <file alias=\"images/panIcon\">panIcon.png</file>\n" > " <file alias=\"images/textAreaResizeCorner\">textAreaResizeCorner.png</file>\n" > + " <file alias=\"images/textAreaResizeCorner@2x\">textAreaResizeCorner@2x.png</file>\n" Don't we need to add these files as well?
Carlos Garcia Campos
Comment 3 2014-05-29 08:00:51 PDT
(In reply to comment #2) > (From update of attachment 232248 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=232248&action=review > > > Source/WebKit2/PlatformGTK.cmake:520 > > + " <file alias=\"images/deleteButton@2x\">deleteButton@2x.png</file>\n" > > " <file alias=\"images/missingImage\">missingImage.png</file>\n" > > + " <file alias=\"images/missingImage@2x\">missingImage@2x.png</file>\n" > > " <file alias=\"images/panIcon\">panIcon.png</file>\n" > > " <file alias=\"images/textAreaResizeCorner\">textAreaResizeCorner.png</file>\n" > > + " <file alias=\"images/textAreaResizeCorner@2x\">textAreaResizeCorner@2x.png</file>\n" > > Don't we need to add these files as well? What do you mean? add which ones? where?
Martin Robinson
Comment 4 2014-05-29 08:07:41 PDT
Comment on attachment 232248 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232248&action=review >>> Source/WebKit2/PlatformGTK.cmake:520 >>> + " <file alias=\"images/textAreaResizeCorner@2x\">textAreaResizeCorner@2x.png</file>\n" >> >> Don't we need to add these files as well? > > What do you mean? add which ones? where? I see now that they are already checked into the repository.
Carlos Garcia Campos
Comment 5 2014-05-29 08:11:48 PDT
(In reply to comment #4) > (From update of attachment 232248 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=232248&action=review > > >>> Source/WebKit2/PlatformGTK.cmake:520 > >>> + " <file alias=\"images/textAreaResizeCorner@2x\">textAreaResizeCorner@2x.png</file>\n" > >> > >> Don't we need to add these files as well? > > > > What do you mean? add which ones? where? > > I see now that they are already checked into the repository. Ah, you meant in the repo :-)
Carlos Garcia Campos
Comment 6 2014-05-29 09:06:16 PDT
Note You need to log in before you can comment on or make changes to this bug.