This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7856 - WPS image not clearing fully
Attached to Project:
Rockbox
Opened by rbx-Multiplex (rbx-multiplex) - Friday, 28 September 2007, 11:23 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Sunday, 18 November 2007, 16:33 GMT+2
Opened by rbx-Multiplex (rbx-multiplex) - Friday, 28 September 2007, 11:23 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Sunday, 18 November 2007, 16:33 GMT+2
|
DetailsThere is an issue with images not clearing properly, it is easily demonstrated with the enclosed WPS (H300 but I have no reason to believe that it is device specific).
When clearing the lock icon(M) it leaves the right hand column of pixels behind. Sometimes it clears later when other bits of the screen update. It can allways be cleared by locking both the main and remote and clearing the main first. It can be worked arround by modifying a different image (I added a transparent column to the R, making it bigger) - but this does not have to be displayed to 'fix' the problem. Occurs on a real unit and Rasher's simulator. I'm not bothered about the issue but as it's such an easy re-create I thought it might help to fix it. |
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Sunday, 18 November 2007, 16:33 GMT+2
Reason for closing: Fixed
Sunday, 18 November 2007, 16:33 GMT+2
Reason for closing: Fixed
The line that remains is the same issue of not clearing the picture because it's not found to be in the conditional that changes value.
This may sound like a strange limitation, but it is a hard one to remove.
I suggest using three distinct pictures (i, j and k), all including the lock, with the same dimensions and no transparency. The following code works:
%?mh<%xdi>
%?mr<%xdj>
%?mr<%?mh<%xdk>>
Picture i is cleared when main hold is toggled. j is cleared when remote hold is toggled. k is cleared when main hold is toggled (not remote hold), but the order of display ensures that it works properly.