This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12585 - Bar tags no longer work
Attached to Project:
Rockbox
Opened by Toby Davies (Digivate) - Saturday, 11 February 2012, 21:06 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 14 February 2012, 09:54 GMT+2
Opened by Toby Davies (Digivate) - Saturday, 11 February 2012, 21:06 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 14 February 2012, 09:54 GMT+2
|
DetailsWPS bar tags (such as %pb and %pv) which include parameters other than x, y, width, height and image no longer work.
|
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 14 February 2012, 09:54 GMT+2
Reason for closing: Fixed
Additional comments about closing: in 9acd70288dfa47cac084b965a046df6f71d4ee26
Tuesday, 14 February 2012, 09:54 GMT+2
Reason for closing: Fixed
Additional comments about closing: in 9acd70288dfa47cac084b965a046df6f71d4ee26
I've noticed this issue regarding themes for the Sansa Clip Zip, but I think it could be more universal than effecting just one player as it's a problem with bar tag syntax.
Bar tags (http://www.rockbox.org/wiki/CustomWPS#Bar_Tags) such as the progress bar or volume level no longer work if you add any of these following options:
horizontal
vertical
invert
slider
image
backdrop
nofill
nobar
So while something really simple like this works ...
# Preload images
%xl(v,volume.bmp,0,0)
# Volume
%V(0,85,96,11,-)
%pv(0,0,96,11,v)
... adding another option, such as backdrop, doesn't work ...
# Preload images
%xl(v,volume.bmp,0,0)
%xl(r,ruler.bmp,0,0)
# Volume
%V(0,85,96,11,-)
%pv(0,0,96,11,v,backdrop,r)
I've got three themes that were working last week ago but not anymore, and it's not a problem that's just related to my themes. I've noticed that several themes that were created by other people and listed for the Clip Zip last week have been removed. Having checked through them (copies which I'd previously downloaded to my PC) the common elements in them is that they all have additional bar tag options.
I've attached one of my theme cfg files, containing some offending bar tag code, but the problem is not related to just this one theme.