FS#5793 - WPS bmp file not completely cleared when not in use.

Attached to Project: Rockbox
Opened by Steven (fatherfork) - Friday, 11 August 2006, 02:07 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The complete description bug would be that even when the bmp is only loaded, and not yet shown, it cuts off text that is shown where the bmp would be if displayed. I originally encountered this on a patched build, but was able to reproduce it with the ipodvideo-20060810 build using my own Applebox wps, which I have attached to this report. I did not change any settings once I had an official build, I merely transfered my theme and selected it. Here's a screenshot for further review:

This task depends upon

Closed by  Magnus Holmgren (learman)
Sunday, 10 September 2006, 08:16 GMT
Reason for closing:  Invalid
Comment by Steven (fatherfork) - Friday, 11 August 2006, 02:15 GMT
Sorry, did not realize I could not attach screenshots. See it here:

Also, I forgot to include the font in the attached file above. The entire theme is attached to this.
Comment by Magnus Holmgren (learman) - Sunday, 10 September 2006, 08:15 GMT
This is not a Rockbox bug.

The image that causes the problem ("underart.bmp", loaded as image "b") is initially not displayed, but it is part of two different conditionals ("%?mh" and "%?lh" both contain "%xdb"). If an image is part of a conditional (or an enum), the background of the area the image covers is cleared, to ensure proper display.

There are other minor issues with the WPS, such as no terminating ">" on line 31 and missing conditionals on lines 36-38 (causing strings to be displayed twice, with "|" or ">" after them).