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 664301 - pixbuf_draw_line broken, battery state not visualized
pixbuf_draw_line broken, battery state not visualized
Status: RESOLVED OBSOLETE
Product: gnome-applets
Classification: Other
Component: battery
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-17 20:06 UTC by Joachim Breitner
Modified: 2020-11-06 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (1.36 KB, patch)
2011-11-17 20:07 UTC, Joachim Breitner
none Details | Review

Description Joachim Breitner 2011-11-17 20:06:32 UTC
The cairoization of the battery applet in bug 627490 broke the pixbuf_draw_line() function, which would not work properly if x2<x2 or y2<y2. The attached patch fixes this.
Comment 1 Joachim Breitner 2011-11-17 20:07:10 UTC
Created attachment 201620 [details] [review]
Fix
Comment 2 Joachim Breitner 2012-04-30 20:29:17 UTC
Hi. Any news on this? The patch is ready and has been tested since half a year here...
Comment 3 Joachim Breitner 2012-04-30 20:34:15 UTC
JFR, this is also filed as http://bugs.debian.org/648594
Comment 4 Joachim Breitner 2012-08-22 08:00:16 UTC
Also present in 3.4.1, same patch applies cleanly. Please consider applying it.
Comment 5 Joachim Breitner 2013-10-04 19:38:05 UTC
It seems that you also need to apply the patch at https://bug663950.bugzilla-attachments.gnome.org/attachment.cgi?id=201305, just adding the patch 201620 I get segfaults (although I do not really understand why).
Comment 6 André Klapper 2020-11-06 19:55:37 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-applets/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.