This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10549 - %mv not working properly on Wide Cabbie theme
Attached to Project:
Rockbox
Opened by Michael Chicoine (mc2739) - Thursday, 20 August 2009, 14:50 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 09 September 2009, 07:26 GMT+2
Opened by Michael Chicoine (mc2739) - Thursday, 20 August 2009, 14:50 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 09 September 2009, 07:26 GMT+2
|
DetailsBeginning with r22418 the volume changing tag %mv does not work properly in the Wide Cabbie theme.
This theme displays a large volume graphic and volume text when the volume changes. Prior to r22418, this worked properly. Since r22418, the graphic is not displayed, but the text is displayed. The graphic is preloaded prior to being displayed by the following line: %xl|G|bigvolume-176x220x16.bmp|52|36|10| The conditional to display the viewports is: %?mv<%Vdh%Vdi|%?Fn<%?C<%Vdz%Vdd%Vde%Vdf|%Vda%Vdc>|%?C<%Vdz%Vdd%Vdg|%Vdb>>> And the viewport definitions: %Vl|h|0|20|-|110|-|-|-| %?pv<%xdGa|%xdGb|%xdGc|%xdGd|%xdGe|%xdGf|%xdGg|%xdGh|%xdGi|%xdGj> %Vl|i|0|120|-|57|-|-|-| %acVolume: %pvdb I have attached a screendump of the missing graphic. |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Wednesday, 09 September 2009, 07:26 GMT+2
Reason for closing: Fixed
Wednesday, 09 September 2009, 07:26 GMT+2
Reason for closing: Fixed
read_bmp_fd: Bitmap too large for buffer: 70560 bytes.
ERR: Failed to load image - /.rockbox/wps/widecabbie/bigvolume-176x220x16.bmp
Skin buffer usage: 18872/87120
I got the image to load by changing the album art to 84 x 84 instead of 168 x 84. This works well with my with my album art.
I could not repeat the aa change making it work on the sim. I'm not sure what happened, but every attempt since the image would not show until I resized it.
The theme simply exceeds the image buffer. I'm not sure if Rockbox should fail more verbosely if that happens. The problem can be solved by doing the big volume image in a more efficient way, so that it only needs 40k instead of ~90k.
e200 (and e200v2) System->Rockbox Info: Skin RAM usage: 87.4KB / 93.0KB
Skin buffer usage: 89432/95312
System->Rockbox Info: Skin RAM usage: 87.3KB / 93.0KB