FS#11552 - Base skin: Problem with Touchscreen areas under a menu list

Attached to Project: Rockbox
Opened by Carsten Eckartsberg (AsusFreak) - Wednesday, 18 August 2010, 14:37 GMT
Last edited by Jonathan Gordon (jdgordon) - Sunday, 26 September 2010, 07:32 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System Cowon D2
Severity Low
Priority Normal
Reported Version Release 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I have a problem with the touchscreen areas - especially with the action ffwd and rwd.

I know it's not documented but ffwd and rwd can be used to click through the rockbox menus.

Take a look at the following code - I saved it as

# Declaration of UI Viewport

# Select Button on the right

# Up Button on the right

# Down Button on the right

# Cancel Button on the right

# Up Button at the top

# Down Button at the bottom

If you are in absolute point mode and go to a longer menu item in the rockbox menu than you will get into trouble with the down button.

Start the fresh loaded uisimulator and switch to absolute point mode. Then load the above code as base skin and go e.g. to Plugins-Games (because there are lots of items).
Now press the Down area on the right side of the screen. Everything's fine: one click is one step down in the menu. But now press the Down area at the bottom: one click means ~10 steps down. The amount of steps depends on the length of the list. It seems that the behaviour after clicking on the bottom Down area is mixed with the normal behaviour if you click under a longer menu list than it behaves like page down. So I think if you define an Info viewport to have a smaller menu area and then you define a touchscreen area under this info viewport the ffwd or rwd action will not work because of the forced page down function if you click under the list.

Can this be fixed or will it be unpossible to define such a touchscreen area at the bottom of a menu list and I have to do this at the sides of the list? Or must I have a bigger distance to the menu list? If I define my info viewport in the above example as %Vi(-,0,28,262,100,-) then the button works...
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Sunday, 26 September 2010, 07:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r28168
Comment by Carsten Eckartsberg (AsusFreak) - Wednesday, 18 August 2010, 14:42 GMT
Uups I said it's V3.6 but I mean the current build. I did not test it on V3.6. My actual release is r27822. And I have this problem on the DAP and on the simulator.
Comment by Giovanni Zilli (Giova) - Monday, 30 August 2010, 14:57 GMT
I can confirm the issue on the player and the simulator for the Cowon D2 and for the ONDA VX777.