Re: imonlcd progress bar do not turn on after 0x0 command
Eric Pooch <[email protected]>
| Newsgroups | gmane.comp.sysutils.lcdproc |
|---|---|
| Message-ID | <[email protected]> |
I will work on the issue this weekend. I am not sure what the problem is though. Shouldn't 0x0 clear everything? why would you want all of the bars to come on after you just cleared everything? --Eric On Oct 15, 2011, at 6:04 AM, Markus Dolze wrote: > On 15.10.2011 14:43, Yura Scheglyuk wrote: >> Hi! >> >> On 15.10.2011 6:39, Markus Dolze wrote: >> >>>> Progress bars of imonlcd is broken in lcdproc 0.5.5. Simple python >>>> script progress-bars.py attached. On the first run this script >>>> shows one >>>> and half progress bars. On the second run this scrips shows >>>> nothing. >>>> This script worked correctly on lcdproc 0.5.4. >> >>> I had a look at your script and the current code. It seems like >>> it works >>> as intended - as far as I understand. >> >> Sorry I forgot to say in previous message that this bug was found by >> xbmc.ru user PetrovSE. He asked me to post this bug in lcdproc >> mailing >> list. >> >>> Your script sends 0x40000000 which seems to be an unsupported >>> command >>> anyway. >>> Then it sends some value modifying the progress bars followed by >>> 0x0 to >>> clear everything. >>> But 0x0 will not clear the progress bar! It will only clear the >>> icons. >>> The correct command to clear the bars would be 0x10000000. >> >> lcproc 0.5.4 clear icons AND progress bars by 0x0 command. lcproc >> 0.5.4 >> turn on progress bars after 0x0 command. >> >> lcproc 0.5.5-pre1 clear icons AND progress bars by 0x0 command. >> lcproc >> 0.5.5-pre1 DO NOT turn on progress bars after 0x0 command. >> >> New test python script p-bars-2.py attached. >> > > Ah, I now see. It indeed clears the progress bars on 0x0. > > Would you please try what happens if you send some different progress > bar value the second time (line 26 in your script) than the first time > (line 18)? > > Regards, > Markus > _______________________________________________ > LCDproc mailing list > [email protected] > http://lists.omnipotent.net/mailman/listinfo/lcdproc