[Lcdproc] imon and horizontal progress bar
Peter Marschall
peter@adpm.de
Sun Oct 1 16:32:02 2006
Hi Otto,
On Saturday, 30. September 2006 20:11, Otto Kolsi wrote:
> I've noticed following issue and would like to know whether it's a bug
> or expected behavior in lcdproc. I have a SilverStone LC11M case with
> imon LCD device, I'm using lcdproc 0.5.0 together with MythTV.
>
> After upgrading from the patched lcdproc 0.4.5 to "standard" 0.5.0
> (including imon support), the horizontal progress bar no-longer fills
> the display fully. Currently when progress bar is at 100% it only fills
> half of the available characters.
>
> I've checked that MythTV sends commands varying from "widget_set Channel
> progressBar 1 2 0" (0%) to "widget_set Channel progressBar 1 2 128" (100%).
>
> Should lcdproc display full progress bar with length 128? Is this
> calculated: 8 (CellWidth) x 16 (LCDwidth) = 128? Or if not, how is the
> full length value calculated so that apps can use it?
This is correct: the 5th arg to the widget_set command for hbars is the length
in pixels. Thus a display that is 16 chars wide with each char being 8 pixels
wide should display a hbar over a full line when given 128 pixels.
Unfortuately you do not tell what driver you use
(the imon driver in LCdproc 0.5x does not support graphical bars)
Would you mind to try the following:
- use the nightly tar ball from CVS
http://lcdproc.sourceforge.net/nightly/lcdproc-CVS-current.tar.gz
- use the standard lcdproc client to check if it is maybe MythTV related
Peter
--
Peter Marschall
peter@adpm.de