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 738711 - fuzzy scaled up icon and steps in gradient
fuzzy scaled up icon and steps in gradient
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-10-17 19:02 UTC by William Jon McCann
Modified: 2016-02-20 21:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shot (145.26 KB, image/png)
2014-10-17 19:02 UTC, William Jon McCann
  Details
featured banner: force precise px size (239.33 KB, patch)
2016-01-13 12:09 UTC, Jakub Steiner
committed Details | Review
seems to work fine with 16x16 (340.88 KB, image/png)
2016-01-13 14:26 UTC, Jakub Steiner
  Details
but not larger images like 640px (312.22 KB, image/png)
2016-01-13 14:30 UTC, Jakub Steiner
  Details
640x640px black and white checkboard test used (2.66 KB, image/png)
2016-01-13 14:33 UTC, Jakub Steiner
  Details

Description William Jon McCann 2014-10-17 19:02:04 UTC
The transmission icon is fuzzy after being scaled up it seems. And the gradient has a step in it when prelit/hovering with the mouse.
Comment 1 William Jon McCann 2014-10-17 19:02:30 UTC
Created attachment 288780 [details]
shot
Comment 2 Matthias Clasen 2015-08-08 16:52:29 UTC
Seems like something for Jakub to fix.
Comment 3 Jakub Steiner 2016-01-13 12:09:00 UTC
Created attachment 318945 [details] [review]
featured banner: force precise px size

- force precise image size for the transmission picture in pixels
  Still seems to be oversampled and fuzzy.
Comment 4 Kalev Lember 2016-01-13 13:15:41 UTC
This changes it (hidpi screenshots)
from: https://kalev.fedorapeople.org/gnome-software-featured-transmission1.png
to: https://kalev.fedorapeople.org/gnome-software-featured-transmission2.png

Still pretty jagged lines though.
Comment 5 Jakub Steiner 2016-01-13 14:09:42 UTC
Less than stellar anti-aliasing is from the Inkscape export (see the image itself). However even when forcing the exact same size, the image seems to be oversampled/smoothed. Perhaps scaled.
Comment 6 Jakub Steiner 2016-01-13 14:10:23 UTC
A good test would be with a 1px dot/checkerboard pattern.
Comment 7 Jakub Steiner 2016-01-13 14:26:46 UTC
Created attachment 318969 [details]
seems to work fine with 16x16
Comment 8 Jakub Steiner 2016-01-13 14:30:01 UTC
Created attachment 318971 [details]
but not larger images like 640px
Comment 9 Jakub Steiner 2016-01-13 14:33:05 UTC
Created attachment 318972 [details]
640x640px black and white checkboard test used

it was used like this:

[transmission-gtk.desktop]
background=url('@prefix@/share/gnome-software/featured-transmission.png') 10% 20% / 640px 640px no-repeat, -gtk-gradient (radial, center bottom, 0, center center, 0.8, from(#ffc124), to(#b75200))
stroke=#a40000
text=#ffffff
text-shadow=0 1px 1px rgba(0,0,0,0.5)
Comment 10 Jakub Steiner 2016-02-03 18:32:16 UTC
Comment on attachment 318945 [details] [review]
featured banner: force precise px size

Attachment 318945 [details] pushed as 5e0fe70 - featured banner: force precise px size