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 85224 - Hangs when using a small PNG (1x6px) for background
Hangs when using a small PNG (1x6px) for background
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Background
1.99
Other Linux
: High critical
: ---
Assigned To: Jody Goldberg
Control-Center Maintainers
: 89886 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-14 02:59 UTC by David Lazaro
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The PNG image that hangs the app (138 bytes, image/png)
2002-06-14 03:02 UTC, David Lazaro
  Details
clamp to avoid underflow (1.68 KB, patch)
2002-06-18 20:44 UTC, Jody Goldberg
none Details | Review

Description David Lazaro 2002-06-14 02:59:59 UTC
The background properties app hangs when a small image is used for
background. This at least happens when using a PNG of 1 x 6 pixels. I
haven't checked if this happens with other formats. This also happened when
I set that background using drag'n drop.
Comment 1 David Lazaro 2002-06-14 03:02:39 UTC
Created attachment 9214 [details]
The PNG image that hangs the app
Comment 2 Luis Villa 2002-06-14 21:12:05 UTC
David: think you could attach the relevant bug?

cc guys: this is fairly borderline 'high' IMHO, but please do take a
look when you can. Thanks.
Comment 3 Jody Goldberg 2002-06-18 20:34:08 UTC
It's not hanging, just spewing vast quantities of warnings.
I'll see if a patch is feasible for 2.0.0
Comment 4 Jody Goldberg 2002-06-18 20:42:06 UTC
Patch is simple clamp to ensure scaling for images < resolution/64 in 
size.  I'll forward to the release-team.
Comment 5 Jody Goldberg 2002-06-18 20:44:34 UTC
Created attachment 9304 [details] [review]
clamp to avoid underflow
Comment 6 Jody Goldberg 2002-06-27 00:19:46 UTC
Fixed in cvs.
Comment 7 Jody Goldberg 2002-08-05 18:56:52 UTC
*** Bug 89886 has been marked as a duplicate of this bug. ***