Updated: Comment #0

Problem/Motivation

Search icon is not retina compatible (uses png instead of svg, unlike the toolbar).

Proposed resolution

Use the loupe-icon from libricons. This solution has also been used in #1963886: Use HiDPI icons in the toolbar.

Remaining tasks

None

User interface changes

Slight change in the search icon. Search icon now look better on retina-ready devices.

Retina:

Retina Hover:

Non-Retina:

Non-Retina Hover:

API changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sqndr’s picture

Wim Leers’s picture

Issue tags: -SprintWeekend 2014 +SprintWeekend2014

Just fixing the tag :)

pfrenssen’s picture

dermario’s picture

I could have a look on it for review.

dermario’s picture

Something seems to wrong with the patch-file. If i apply it, it gives me the following error:

:7: trailing whitespace.
�PNG
:24: trailing whitespace.
�PNG
Checking patch core/misc/icons/424242/loupe.png...
Checking patch core/misc/icons/424242/loupe.svg...
Checking patch core/misc/icons/505050/loupe.png...
Checking patch core/misc/icons/505050/loupe.svg...

With git diff i can see a windows linebreak in loupe.pngs - declaration that wasn't there before:

Before:

-<89>PNG
-^Z
..
...

After patching:

+<89>PNG^M              <-- Windows linebreak here!
+^Z
...
...

I am not sure if that is relevant at all but i will let someone else check.

Wim Leers’s picture

#5: the "trailing whitespace" errors can safely be ignored because they occur in a PNG file, which is a binary file, where whitespace only exists if it needs to exist. If you have a Windows linebreak on your system, then my best guess is that that's a Windows-specific problem. No such problems on Linux/OS X.

LewisNyman’s picture

Wim Leers’s picture

Issue tags: +Usability
Bojhan’s picture

Status: Needs review » Reviewed & tested by the community
LewisNyman’s picture

Code looks good. RTBC++

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Welcome to the core team, sqndr! :D

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

triple5’s picture

Nice work, however, when using the bartik theme as the base for a new theme, (for example copying bartik from core to e.g. themes/custom/exampletheme) this file is not found, shouldn't this file reside in the theme folder or the bartik folder instead of core?