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 347600 - unable to reset transparency color back to black
unable to reset transparency color back to black
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-15 13:53 UTC by Felix Riemann
Modified: 2006-07-23 23:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
correct printf syntax (593 bytes, patch)
2006-07-15 14:00 UTC, Felix Riemann
committed Details | Review

Description Felix Riemann 2006-07-15 13:53:38 UTC
When I use another color as transparency color (for example #EAEAEA) and then try to switch back to black it doesn't work. The color is unchanged. This happens in gnome-2-14, HEAD and eog-ng.
Comment 1 Felix Riemann 2006-07-15 14:00:20 UTC
Created attachment 68964 [details] [review]
correct printf syntax

This patch corrects the printf-syntax generating the color string. The problem was that the printf used the normal syntax for the width-token which pads the resulting string with spaces. A black color string (#00000) became # 0 0 0.
The patch changes the printf-string that it uses the 0number syntax for the width-token. Another possible fix would have been to replace the width with the precision (.2).
Comment 2 Claudio Saavedra 2006-07-23 22:56:43 UTC
Commited to eog-ng, eog-2-14 and HEAD branchs. Thanks.