FS#11552 - Base skin: Problem with Touchscreen areas under a menu list
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
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 buttons.sbs:
# 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...
Sunday, 26 September 2010, 07:32 GMT
Reason for closing: Fixed
Additional comments about closing: in r28168