FS#9181 - New WPS syntax only allows two progress bars

Attached to Project: Rockbox
Opened by David Kauffmann (BdN3504) - Thursday, 10 July 2008, 10:47 GMT
Last edited by Magnus Holmgren (learman) - Friday, 11 July 2008, 07:42 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I have encountered this problem, when i tried to iclude three progress bars into a new theme. Even stripped down code, with the progress bars being used in the default viewport, gives an 'invalid parameter list error' in the simulator. Using only two playbars works fine though.
Here's the code:

(on a gigabeat, with three progressbars present in the wps directory, all having the same dimensions)


Same behaviour on a Sansa, so i assume this applies to all players.

Revision r17986-080708
This task depends upon

Closed by  Magnus Holmgren (learman)
Friday, 11 July 2008, 07:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r18007.
Comment by Magnus Holmgren (learman) - Friday, 11 July 2008, 07:32 GMT
Yes, an off-by-one bug there.

However, please note this from the CustomWPS wiki page: "You can use up to 3 different progress bars in a WPS, with a maximum of one per viewport." Just in case you hadn't removed the viewports from the quoted example. :)