Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 438872

Summary: app-admin/gkrellm - chart rendering bug
Product: Gentoo Linux Reporter: parafin <help>
Component: Current packagesAssignee: Sam James <sam>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for draw_chartdata_impulses function to use gdk_draw_point when appropriate

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.