Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438872 - app-admin/gkrellm - chart rendering bug
Summary: app-admin/gkrellm - chart rendering bug
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-10-18 23:55 UTC by parafin
Modified: 2016-06-06 09:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for draw_chartdata_impulses function to use gdk_draw_point when appropriate (chart_fix.patch,948 bytes, patch)
2012-10-18 23:55 UTC, parafin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description parafin 2012-10-18 23:55:49 UTC
Created attachment 326898 [details, diff]
patch for draw_chartdata_impulses function to use gdk_draw_point when appropriate

After upgrading to latest xorg-server and nvidia-drivers on my ~amd64 system, I noticed a problem with gkrellm charts - there were gaps in them. Turned out that small values that are rendered as one pixel often just weren't displayed at all. I was able to trace the problem back to draw_chartdata_impulses function which relied on gdk_draw_line to draw dots when start and end points have the same coordinates. I'm not sure if it's supposed to work, but the fact is that sometimes it doesn't. Attached patch makes sure that gdk_draw_point is used when necessary, like it's already done in draw_chartdata_lines function. It fixes chart rendering for me.
Please add this patch to gkrellm ebuild, upstream, it seems, is long dead, but gkrellm itself remains very useful.