[Pkg-xfce-devel] Bug#498660: Bug#498660: xfce4-cpugraph-plugin: Graph is only using half of configured width

Christian Kastner techmail at kvr.at
Sun Mar 22 04:35:36 UTC 2009

Yves-Alexis Perez wrote:
> On ven, 2009-03-20 at 05:05 +0100, Christian Kastner wrote:
>> I'm experiencing this as well, but only with the "normal" output. The LED
>> output correctly uses the full width.
> To be honest, the cpugraph plugin doesn't use any unit. So I'm not sure
> what you mean by “only the half”. I guess you're assuming the width is
> in pixel (fair enough) but I'm not sure it's the case. I'll check in the
> code to be sure, when I have some time.
> Cheers,

I realized (too late) that my description was probably too vague.

The configurable width of the plugin works fine. It is the graph itself
that is too short. In LED mode, the graph extends over the entire plugin
width. In Normal mode, the graph extends to only half of the plugin
width; the graph gets cut off in the middle and the left half of the
plugin stays blank.

I'd guess it's got something to do with the amount of history displayed.
In LED mode, every other pixel is blank and skipped; in Normal mode
every pixel is used. If LED mode displays n history elements, then
Normal mode should display n x 2. Currently both modes display n history

I can provide screenshots if that would help.


More information about the Pkg-xfce-devel mailing list