Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  'jump to WPS' tag for touch screen targets?
« previous next »
  • Print
Pages: [1]

Author Topic: 'jump to WPS' tag for touch screen targets?  (Read 1956 times)

Offline jimbilly

  • Member
  • *
  • Posts: 44
'jump to WPS' tag for touch screen targets?
« on: August 27, 2011, 03:56:40 AM »
does anyone know of a tag that I could use in an SBS that will switch to the WPS?   I'm looking for a similar effect to pressing the play button on a hard button player.


for example i'd like a persistent sbs screen button that returns to the wps from file browsing/main menu browsing etc.   without having to navigate to the main menu and touch the small-ish text menu item. (on hard button targets you'd just press play)

I tried the playmode tag but that just controls playmode and doesn't return you to the WPS.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: 'jump to WPS' tag for touch screen targets?
« Reply #1 on: August 27, 2011, 10:12:04 AM »
Not possible, currently.

EDIT: Certainly possible, not *implemented*...submit a patch? ;)


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: 'jump to WPS' tag for touch screen targets?
« Reply #2 on: August 27, 2011, 07:37:22 PM »
[saint], grrrrr.....

resumeplayback should work from anywhere.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline jimbilly

  • Member
  • *
  • Posts: 44
Re: 'jump to WPS' tag for touch screen targets?
« Reply #3 on: August 31, 2011, 10:57:14 AM »
ok, well looks like this is supported after all,  i just found exactly what i was looking for:

%T(0,0,70,70,resumeplayback)

that will jump to WPS from the SBS screen



Post Merge: August 31, 2011, 11:47:41 AM
unfortunately this introduced a new problem,   now it seems the touchscreen scrolling is erratic within the sbs ui viewport.   scrolling is find without sbs.

the sbs is not worth giving up smooth stable scrolling.

for example scrolling files within sbs toggles between scrolling up and dragging the slider bar functionality and  scrolling a long playlist seems to randomly bump me back to android home screen.

none of these problems scrolling without sbs ui viewport.

Post Merge: August 31, 2011, 01:27:12 PM
update:  the sbs scrolling problem must be a personal problem,  i installed St.'s DEFAULT theme and the scrolling is fine in the sbs. (St., i like the theme, side popup buttons don't seem to be working).

I'll have to compare his sbs with mine and see what the deal is.

Post Merge: August 31, 2011, 01:59:43 PM
i resolved the scrolling problem,  apparently it doesn't like the '-' in the UI viewport definition.    taking out the '-' and putting finite bounds on the viewport fixed the problem, scrolling is smooth now.
example:
works well:        %Vi(-,10,10,460,715,-)
does not work well:  %Vi(-,10,10,-,715,-)

the 2nd '-' in that example seems to be the culprit.

Post Merge: August 31, 2011, 04:01:12 PM
JDGordon,
I have found that resumeplayback on the sbs does not work from the quick screen, works fine from other screens

QS exits back to WPS anyway by touching anywhere else, just thought it was odd that the resumeplayback button that i made doen't work on QS but does everywhere else.
« Last Edit: August 31, 2011, 04:01:12 PM by jimbilly »
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: 'jump to WPS' tag for touch screen targets?
« Reply #4 on: September 04, 2011, 08:30:59 AM »
That last bt about it not working in the QS wasnt completly unsurprising. File a bug for it. I'll probably forget to fix it otherwise
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline jimbilly

  • Member
  • *
  • Posts: 44
Re: 'jump to WPS' tag for touch screen targets?
« Reply #5 on: September 19, 2011, 09:28:57 AM »
the QS behavior aside,  i'm wondering if there is a logic to what 'resumeplayback' does from different screens,   it seems like now that i have this button on my sbs, I get varying results.   sometimes it acts like 'back' or 'up' and sometime its acts like the play button similar to my sansa e280.   from most submenus it goes 'up' at least one level, sometime multiple levels and eventually to wps.  from some screens, such as file browsing, it goes directly back to wps no matter how deep in the tree you are.

this is how it behaved based on the various menu items:
files:   jump to wps
database:  jump to wps
Settings:   acts like menu button, for most submenus, however:
Settings -> Theme Settings: acts like 'up' or 'back,  it takes you back step by step till you reach the top menu.
Playlists:   jump to wps
Plugins:  acts like menu
System:  acts like menu

for the cases where it acts like 'menu', once you get to the top menu, pressing this 'resumeplayback' button will jump to wps.


Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  'jump to WPS' tag for touch screen targets?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 15 queries.