Support and General Use > Theming and Appearance Customization
WPS Image not showing after update (clip+)
(1/1)
lazybum:
Hi I updated my clip+ from r27503 to r27856 and an image disappeared from my wps.
Heres the code for my wps:
--- Code: ---%wd
# Progress bar etc.
%V(0,1,-,8,1)
%pb(0,0,128,6,pb.bmp)
%x(a,pbbackground.bmp,0,0)
%V(0,8,-,-,1)
%al%pc%ac%?mp<Stopped|Playing|Paused|FF|Rewind>%ar%pt
# Track info
%V(0,17,-,-,1)
%s%ac%?it<%it|Unknown Track>
%V(0,27,-,-,1)
%s%ac%?id<%id|Unknown Album> %?iy<%(%iy%)|>
%V(0,37,-,-,1)
%s%ac%?ia<%ia|Unknown Artist>
# Playlist and codec info
%V(0,47,-,-,1)
%alPL:%pp/%pe%?ps< %(S%)|>%?mm<| %(R%)| %(R1%)| %(R%)| %(R%)> %arC:%fc %fb
# Battery and Volume
%V(0,56,-,-,1)
%alB:%bl%% %acV:%pvdB%arRG:%?rg<Off|Track|Album|TShuffle|AShuffle|No tag>
--- End code ---
The pbbackground.bmp image doesn't show on the new build. Its a border for the progress bar.
And strangely enough it shows on the sim but not on the clip+ itself.
Is it a build related error? Or some change in the code?
The wps can be downloaded from: http://www.mediafire.com/?s4d9bdmd2ab5487
jouhou:
The workaround is to add the %xd tag. This shouldn't be necessary because the %x() should display the image, but apparently there is some bug.
%x(a,pbbackground.bmp,0,0)
%xd(a)
I reported this as a bug a few days ago. It probably won't be fixed because it is not reproducible on the simulator, as you've pointed out. I think the people who work on the theme code don't have a physical Clip+ to test it on.
http://www.rockbox.org/tracker/task/11550
lazybum:
--- Quote from: jouhou on August 22, 2010, 09:27:19 AM ---The workaround is to add the %xd tag. This shouldn't be necessary because the %x() should display the image, but apparently there is some bug.
%x(a,pbbackground.bmp,0,0)
%xd(a)
I reported this as a bug a few days ago. It probably won't be fixed because it is not reproducible on the simulator, as you've pointed out. I think the people who work on the theme code don't have a physical Clip+ to test it on.
http://www.rockbox.org/tracker/task/11550
--- End quote ---
I see. Well the workaround worked great. Thanks a lot! :)
Navigation
[0] Message Index
Go to full version