Support and General Use > Theming and Appearance Customization
Problem using progress bar
audio-i:
--- Quote from: Astorga on August 23, 2010, 03:53:12 PM ---
--- Quote from: audio-i on August 23, 2010, 03:45:03 PM ---Try CheckWPS http://www.rockbox.org/wiki/CustomWPS#Tools or try commenting out progressively viewports until it loads and then check the skin ram usage.
--- End quote ---
After commenting 4 viewports, the wps worked in simulator (ver r27847) (even with volume and battery bars working perfectly), rockbox info shows the following:
Buffer: 30.5MB
Skin RAM usage: 16.4KB / 808KB
--- End quote ---
It doesn't look like a skin ram usage problem, can you post here the vieports you commented out?
Astorga:
I commented exactly the 11 last lines:
--- Code: ---#%s%ac%Sx(Song) %pp %Sx(of) %pe
#Status da reprodução
#%V(124,126,57,8,-)
#%acStatus
#%V(124,136,57,8,-)
#%ac%?mp<Parado|Tocando|Pausado|Avançando|Recuando|Gravando|Grav.P.|FM|FM P.|>
#Tempo de Reprodução
#%V(190,126,123,8,-)
#%ac%pc/%pt
#%V(190,136,123,8,-)
#%pb(0,0,123,8,-)
--- End code ---
audio-i:
Late reply... it seems that the line that breaks the WPS (if you comment just that line out, it works) is
--- Code: ---%s%ac%Sx(Song) %pp %Sx(of) %pe
--- End code ---
Note: The characters you use to draw the outlines didn't work when I tried it, but that doesn't break the WPS.
Astorga:
--- Quote from: audio-i on August 26, 2010, 11:44:01 AM ---Late reply... it seems that the line that breaks the WPS (if you comment just that line out, it works) is
--- Code: ---%s%ac%Sx(Song) %pp %Sx(of) %pe
--- End code ---
Note: The characters you use to draw the outlines didn't work when I tried it, but that doesn't break the WPS.
--- End quote ---
I think I found the problem: there isn't a "song" translation in language files :P
But why doesn't simulator said that using -debugwps?
Edit: and why doesn't the volume and battery numbers update on the fly?
pixelma:
About the update problem with %pv and %bl - you put both on a line that has the %s tag to allow it to scroll.
Unfortunately there is a longstanding bug with this sort of highly dynamic content (like current volume) on scrolling lines which is probably not solvable with the current scrolling mechanism. and hence is not easily fixed.
You can only work around it by removing the %s tag.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version