This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12606 - UI Viewport disappears when the player skips to the next track
Attached to Project:
Rockbox
Opened by Ludovic Jakimon (lebellium) - Sunday, 04 March 2012, 13:54 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 20 March 2012, 12:13 GMT+2
Opened by Ludovic Jakimon (lebellium) - Sunday, 04 March 2012, 13:54 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 20 March 2012, 12:13 GMT+2
|
DetailsWith the latest builds (46b34da on my YP-R0 and 9476883 on the Gigabeat UI simulator), it seems that if you are in the menus when the player skips to the next track, the UI viewport disappears for an unknown reason until you press any key (then it reappears).
For example that occurs with my 240*320 non-touch theme (you can download it in attachment) Here is a simplified SBS from this theme to help identify the issue. %wd # %?mp<%VI(Z)|%VI(X)> %Vi(X,5,25,230,230,-)%Vf(000000) %Vi(Z,5,25,230,-,-)%Vf(000000) # %xl(back_no_white,lebellium_Samsung-like3.bmp,0,0) %xl(back_with_white,lebellium_Samsung-like.bmp,0,0) # %V(0,0,-,-,-)%VB %?mp<%xd(back_no_white)|%xd(back_with_white)> # %V(0,0,-,-,-) # It might be related to the new layering (%VB tag) |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 20 March 2012, 12:13 GMT+2
Reason for closing: Fixed
Additional comments about closing: fixed in 94139ac. Annoyingly stuffed up th eorigional patch by putting half in a #if 0 :/
Tuesday, 20 March 2012, 12:13 GMT+2
Reason for closing: Fixed
Additional comments about closing: fixed in 94139ac. Annoyingly stuffed up th eorigional patch by putting half in a #if 0 :/
The general problem is that the screens are not doing a full redraw like they should when the track updates. I guess the bigger issue is why does the UI view port get cleared when it probably doesn't need to.
1) the skin might not have a viewport for every pixel on the screen, so not clearing the full screen would mean some areas wont be redrawn (which might not an issue)
2) Any theme using the background layer requires a full screen viewport on the top layer of you get black areas, this needs to be cleared fully incase the background layer changes.