Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  WPS Image not showing after update (clip+)
« previous next »
  • Print
Pages: [1]

Author Topic: WPS Image not showing after update (clip+)  (Read 1163 times)

Offline lazybum

  • Member
  • *
  • Posts: 9
WPS Image not showing after update (clip+)
« on: August 22, 2010, 03:15:45 AM »
Hi I updated my clip+ from r27503 to r27856 and an image disappeared from my wps.

Heres the code for my wps:
Code: [Select]
%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>

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
Logged

jouhou

  • Guest
Re: WPS Image not showing after update (clip+)
« Reply #1 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
Logged

Offline lazybum

  • Member
  • *
  • Posts: 9
Re: WPS Image not showing after update (clip+)
« Reply #2 on: August 22, 2010, 10:37:12 AM »
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

I see. Well the workaround worked great. Thanks a lot!  :)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  WPS Image not showing after update (clip+)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.047 seconds with 15 queries.