After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727688 - Layer menu icon looks fuzzy on hidpi screen
Layer menu icon looks fuzzy on hidpi screen
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal minor
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-06 00:12 UTC by Mattias Bengtsson
Modified: 2014-10-13 08:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Align escaped newlines (1.92 KB, patch)
2014-07-31 16:55 UTC, Mattias Bengtsson
accepted-commit_now Details | Review
Use real scalable icons (46.83 KB, patch)
2014-07-31 16:55 UTC, Mattias Bengtsson
none Details | Review
Align newline escaping (3.54 KB, patch)
2014-10-13 06:35 UTC, Mattias Bengtsson
committed Details | Review
Move to symbolic direction icons (42.37 KB, patch)
2014-10-13 06:35 UTC, Mattias Bengtsson
committed Details | Review
Route instruction list (358.94 KB, image/png)
2014-10-13 06:47 UTC, Jonas Danielsson
  Details
sidebar: Fix alignment of instruction icons (994 bytes, patch)
2014-10-13 07:24 UTC, Jonas Danielsson
committed Details | Review

Description Mattias Bengtsson 2014-04-06 00:12:37 UTC
The icon inside the layer menu button looks fuzzy on my hidpi screen. I'm guessing that it's pixel scaled for some reason.
Comment 1 Mattias Bengtsson 2014-07-30 12:29:04 UTC
All we need to do apparently is follow this guide for the icons to be themable app specific icons which will make them scale automatically:

https://wiki.gnome.org/DraftSpecs/ThemableAppSpecificIcons
Comment 2 Mattias Bengtsson 2014-07-31 16:55:10 UTC
Created attachment 282191 [details] [review]
Align escaped newlines

Align all escaped newlines at column 72, like in the rest of the
Makefiles.

Don't align the icon handling stuff since it comes from another
code base.
Comment 3 Mattias Bengtsson 2014-07-31 16:55:24 UTC
Created attachment 282192 [details] [review]
Use real scalable icons

Use installed icons instead of including icons inside the data resource.
This makes it possible for GDk to scale the icons manually and also
seems to be the preferred way to deal with icons.
Comment 4 Jonas Danielsson 2014-07-31 17:23:54 UTC
Review of attachment 282191 [details] [review]:

Ack from 9ans vagn
Comment 5 Jonas Danielsson 2014-07-31 17:26:32 UTC
Review of attachment 282192 [details] [review]:

Looks nice.
Are these all icons? How about the pin ams nubble?
Comment 6 Mattias Bengtsson 2014-07-31 19:58:26 UTC
Review of attachment 282192 [details] [review]:

The Pin and bubble aren't icons really (in the sense of scaleable symbolic icons at least) and are loaded via Utils.CreateActorFromImageFile. 
I think this means that they shouldn't be covered by this (and they aren't fuzzy on my hidpi screen either). 

They should probably be moved into the gresource though (but that's for a later patch in that case). 

I'll try to get a review on this from one of the gtk+-ers here at guadec tomorrow. It might be that some of these icons should be installed "privately" instead and that they should be made in some specific way so that they can be recolored when the background changes (for example when selecting a row in the sidebar searchresult listbox or when switching to the dark theme).
Comment 7 Mattias Bengtsson 2014-10-13 06:35:13 UTC
Created attachment 288363 [details] [review]
Align newline escaping

Align newline escaping like in other Makefiles.
Comment 8 Mattias Bengtsson 2014-10-13 06:35:28 UTC
Created attachment 288364 [details] [review]
Move to symbolic direction icons
Comment 9 Mattias Bengtsson 2014-10-13 06:39:09 UTC
There was a commit lately that fixed most of this bug but the routing icons remain (they weren't symbolic and they didn't scale on Hi-DPI screens). 

I produced a new patch for those and attached above. 

My hope is for these to land for 3.14.1 but I understand that I'm a bit late.
Comment 10 Jonas Danielsson 2014-10-13 06:45:36 UTC
Review of attachment 288363 [details] [review]:

Ack (o/
Comment 11 Jonas Danielsson 2014-10-13 06:46:17 UTC
Review of attachment 288364 [details] [review]:

Thanks! So now we get white background on the direction icons, is that worth mentioning in the commit log?

Also it seems alignment is an issue? See attached ss.
Comment 12 Jonas Danielsson 2014-10-13 06:47:17 UTC
Created attachment 288365 [details]
Route instruction list

Should the direction icons be aligned with the 'start' icon?
Comment 13 Jonas Danielsson 2014-10-13 07:24:08 UTC
Created attachment 288366 [details] [review]
sidebar: Fix alignment of instruction icons

The start/stop icons are 16x16 and the direction hints are
32x32. To ensure aligmnent in the instruction list we need
to make sure the GtkImage always has a 32x32 width.
Comment 14 Mattias Bengtsson 2014-10-13 08:11:36 UTC
Attachment 288366 [details] pushed as 7c069ba - sidebar: Fix alignment of instruction icons