Rockbox

Tasklist

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

Details

Hi,

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
%Vi(-,0,28,262,184,-)

# Select Button on the right
%V(263,51,44,27,0)%Vf(CCCCCC)%Vb(500000)
Select
%T(0,0,44,27,select)

# Up Button on the right
%V(263,93,44,27,0)%Vf(CCCCCC)%Vb(500000)
Up
%T(0,0,44,27,rwd)

# Down Button on the right
%V(263,135,44,27,0)%Vf(CCCCCC)%Vb(500000)
Down
%T(0,0,44,27,ffwd)

# Cancel Button on the right
%V(263,177,44,27,0)%Vf(CCCCCC)%Vb(500000)
Cancel
%T(0,0,44,27,cancel)

# Up Button at the top
%V(138,0,44,27,0)%Vf(CCCCCC)%Vb(500000)
Up
%T(0,0,44,27,rwd)

# Down Button at the bottom
%V(138,213,44,27,0)%Vf(CCCCCC)%Vb(500000)
Down
%T(0,0,44,27,ffwd)
______________________________________________________________


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.

Example:
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.

Loading...