Re: imonlcd progress bar do not turn on after 0x0 command
Markus Dolze <[email protected]>
| Newsgroups | gmane.comp.sysutils.lcdproc |
|---|---|
| Message-ID | <[email protected]> |
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