Re: imonlcd 0x0 command turning off progress bar

Yura Scheglyuk <[email protected]>
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
		Hi!

On 15.10.2011 23:59, Eric Pooch wrote:

> My solution would be to just properly cache the bar state during a
> 0x0 or -1 output command. Otherwise 0x0 and -1 would not work as
> intended in the protocol.
> The problem is that there is currently no way to clear all of the icons
> without clearing the bars.

Now imonlcd driver assuming that 0x0 clear icons only. The simple 
solution is to modify driver that on 0x0 command it should clear the bar 
state too.

> How often is your program doing a complete clear of the icons/display? I
> will fix the caching problem, but it might also be worth considering not
> clearing the entire display on your end. Maybe keep one icon on to
> indicate your program is running. That way you will only have to send
> one command for the icons rather than one for icons and then another to
> re-establish the bars.

As I mentioned in previous message this bug was found by xbmc.ru user 
PetrovSE. He making patches to xbmc for full support of imonlcd icons 
and progress bars. I'll tell him your advices.

-- 
Best regards, Yura.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.