Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: iPodFoo on July 29, 2020, 06:10:17 AM

Title: Album art glitch
Post by: iPodFoo on July 29, 2020, 06:10:17 AM
How do I stop the glitching that happens to the album art? (See attached image).

Is it to do with viewports?

Thanks.
Title: Re: Album art glitch
Post by: Frankenpod on July 29, 2020, 09:30:14 AM
I would have said it was caused by the viewports for the other items in that theme overlapping with the cover art.  But I just tried it on the simulator and that theme (which seems to be minimalico for ipod nano 2nd gen?) works perfectly well for me - nothing apepars to be wrong with it, so I have no idea why you get that issue.

Does the problem only happen periodically?  If so, what situation does it happen in?
Maybe it's a glitch that only appears on the current build, not on the one in the simulator?
Only thing I can see is the cover art viewport is
%V(0,0,176,132,-)%Vb(000000)
When would be better as
%V(0,0,132,132,-)%Vb(000000)
But can't tell if that matters as can't reproduce the error in the first place.
Title: Re: Album art glitch
Post by: iPodFoo on July 29, 2020, 07:29:45 PM
Happens on both simulator and on ipod.

I'm the creator of the theme and am going through updating and fixing some broken elements. It's been about 10yrs so having to relearn a lot if it!

I have fixed it by splitting everything into their own viewports.

Will update for the themes pages soon.
Title: Re: Album art glitch
Post by: Frankenpod on July 30, 2020, 07:10:14 AM
Puzzled because when I download the theme and run the simulator this is what I get.

I don't find it gives that messed-up cover art effect.

But still, if putting it all in viewports fixes it at your end, guess that's the solution.  The glitch certainly looks like what happens when viewports over-write each other.


Nice icons though -  I borrowed them for one of my own ipod classic themes, by the way.
Title: Re: Album art glitch
Post by: iPodFoo on July 31, 2020, 07:57:19 AM
Quote
Nice icons though -  I borrowed them for one of my own ipod classic themes, by the way.

 ;D

I have a similar issue again which is showing the image from the menu screen below the scrolling text. Any ideas what might cause it? Ive tried all sorts of viewport manipulation but it still keeps showing the background image used in the menu screen when it has its own image set in the wps.

Is there a way to clear the menus background image when on the playback screen?

Edit: Added acreenshot below.
Title: Re: Album art glitch
Post by: Frankenpod on July 31, 2020, 10:05:18 AM
Oh, I think that's a known, common bug with the theme engine.  I've seen it on lots of themes - scrolling text on the WPS gets the background from the SBS.  Either make the text non-scrolling, or ensure the SBS background and the WPS background are the same in that place.  Not sure if there's any other way round it.

I  can't remember if it matters whether you have a custom SBS that loads its own background, or if the problem only happens if you have a background specified in the theme.cfg file.  It might be it's only one of those cases that has the problem, so you could try the other one from what you have at the moment.
Title: Re: Album art glitch
Post by: iPodFoo on July 31, 2020, 10:12:20 AM
Yeh, I remember having this issue way back in the day. Was hoping it was fixed by now! Bummer.

Oh well, Ill have to remove the logo in the bottom right of the menu screen.  :(

Cheers for the help. Ill be uploading updated themes soon.
Title: Re: Album art glitch
Post by: Frankenpod on July 31, 2020, 10:13:47 AM
It's possible the problem doesn't happen if you have a custom *.sbs file that loads the menu background, rather than having the background specified in the .cfg file.  Can't remember for sure though.
Title: Re: Album art glitch
Post by: iPodFoo on July 31, 2020, 10:20:29 AM
Yeh I already tried that.