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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  New patch: Settings Display Within Menus. DONE!
« previous next »
  • Print
Pages: [1] 2 3 4

Author Topic: New patch: Settings Display Within Menus. DONE!  (Read 26195 times)

Offline AM

  • Member
  • *
  • Posts: 32
New patch: Settings Display Within Menus. DONE!
« on: August 17, 2006, 12:23:25 PM »
It's nice to see that there's been some extra focus on usability the last couple of days. This patch is my contribution.

It allows values for settings to be viewed and modified from directly within the menus (you don't have to select them to display them on a separate page).
Activated via General Settings -> Display -> Settings Display.
So far only the aforementioned menu, plus Playback Settings and its submenus, have been changed to allow for this. I thought I'd await comments/suggestions/testing before I go ahead and convert all settings menus.
Now done converting all the menus!

I'd love it if you guys gave it a try and help me with testing/suggestions.

So far only tested on H100 sim, H300 sim and iPod4G sim.and a few more

screenie:


link: http://www.rockbox.org/tracker/task/5833
« Last Edit: August 19, 2006, 12:48:31 PM by AM »
Logged

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #1 on: August 17, 2006, 12:54:23 PM »
Interesting...I would suggest modeling it after the "Show ID3 Info" screen (it's a list were each item is 2 lines). It might look cleaner and scale better to other targets (particularly those with smaller screens).
Logged

Offline AM

  • Member
  • *
  • Posts: 32
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #2 on: August 17, 2006, 01:03:37 PM »
Quote from: lowlight on August 17, 2006, 12:54:23 PM
Interesting...I would suggest modeling it after the "Show ID3 Info" screen (it's a list were each item is 2 lines). It might look cleaner and scale better to other targets (particularly those with smaller screens).
AFAIK with the current list code you cant have different amount of lines for list different entries, which could be a problem since on many of the settings screens there are a combination of actual settings and submenus (would mean empty lines after each submenu?). Also, I'd like to be able to keep the option of displaying the value for the selected item only, which would mean one entry with two lines, the rest just one - again not possible.

Personally I don't feel like redoing all the list code to allow for a differing number of lines for different entries and I really doubt it'd be possible to get it to work well on really small screens or with huge fonts so I think it might be better if those users just had this option switched off, using the current method of editing settings on a separate page.
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #3 on: August 17, 2006, 01:09:20 PM »
I wouldn't want different line heights for sub-categories. Instead, I can imagine something like this:
Code: [Select]
Volume
                 -11dB
Sub-setting
       -------------->

or something like that.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline AM

  • Member
  • *
  • Posts: 32
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #4 on: August 17, 2006, 01:17:22 PM »
Quote from: LinusN on August 17, 2006, 01:09:20 PM
I wouldn't want different line heights for sub-categories. Instead, I can imagine something like this:
Code: [Select]
Volume
                 -11dB
Sub-setting
       -------------->

or something like that.
Hmm... Shouldn't be all that hard to add that as an option I guess (except perhaps if you want a really fancy graphical arrow). Maybe I'll give it a shot later on. Currently I'm a little fatigued from coding many hours straight so right now I won't touch the code for a while unless I find any small but glaringly obvious bugs.
Logged

Offline AM

  • Member
  • *
  • Posts: 32
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #5 on: August 17, 2006, 05:44:18 PM »
Now added :
  • Option to enable/disable right-align of values
  • Multi-line support (title on first line, value on second)

If you've tried an earlier version of this patch save your settings before upgrading, then reset and reload.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3528
  • creature
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #6 on: August 17, 2006, 06:06:06 PM »
I like it. Especially when configured like the last screenshot (that configuration should be default IMO). But: the right-aligned text looks a bit too "right" on the target -- the left-aligned text has a 1 pixel distance (which is clearly to see when highlighted) while the right aligned text doesn't -- giving it a 1px distance would look even better.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #7 on: August 17, 2006, 06:10:48 PM »
I agree with everything bluebrother just said.
Logged

Offline AM

  • Member
  • *
  • Posts: 32
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #8 on: August 17, 2006, 06:12:59 PM »
Quote from: bluebrother on August 17, 2006, 06:06:06 PM
I like it. Especially when configured like the last screenshot (that configuration should be default IMO). But: the right-aligned text looks a bit too "right" on the target -- the left-aligned text has a 1 pixel distance (which is clearly to see when highlighted) while the right aligned text doesn't -- giving it a 1px distance would look even better.
Hmm... It looks like that 1px left margin is there only when the scrollbar is visible, am I correct (just going by sim now)? Do you propose adding the right margin only when the scrollbar is visible, or add it regardless of whether the margin is there to the left or not? Either way seems kinda weird to me... :-\
Logged

Offline ilikedirt

  • Member
  • *
  • Posts: 30
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #9 on: August 17, 2006, 06:14:31 PM »
I like it. Always thought that having a seperate page for each setting is kind of confusing (almost empty pages where you just can select yes/no).
Logged

Offline AM

  • Member
  • *
  • Posts: 32
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #10 on: August 17, 2006, 06:56:52 PM »
Ok it seems that the margin or no margin issue is font dependant. For now I hard coded an additional 1px right margin for aligned text, meaning for some fonts there'll be a 2px margin to the right. Perhaps it's ok to leave it like this but I'd prefer if there where some better way to do this...
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #11 on: August 17, 2006, 08:30:36 PM »
That looks pretty cool.  I can't wait to try this "in the field."

As to the margins, I imagine that you can't do much about the font.  I mean, how are you, as the program, going to know if the font has a border of whitespace around the letters?  I think it'll be far more noticable (and far worse looking) to have it be sometimes 1px and sometimes 0px, than for it to be sometimes 2px and sometimes 1px.

IOW, my vote is to force a 1px margin.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline mightybrick

  • Member
  • *
  • Posts: 223
  • I Administer Radiation
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #12 on: August 17, 2006, 11:28:14 PM »
I like it.  I can't test it on my Nano, but I like the idea and the screenshots.
Logged

Offline AM

  • Member
  • *
  • Posts: 32
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #13 on: August 18, 2006, 07:36:30 AM »
Actually, the more I think about it, the less I like the current fix with a forced 1px margin to the right. Some fonts have no margin to the left, so then you end up having 0px to the left and 1px to the right. Worst case scenario: font has no margin to the left, but 1px to the right - then you've got 2 empty pixels to the right and none to the left!  :(

And working around this by just forcing an additional 1px margin to the left will screw up the scrolling. When the text starts scrolling it wont disappear behind the left edge of the screen or behind the scrollbar, it'll disappear 1 pixel away from it. So which would be worse; text that only has margins sometimes, or text that magically disappears 1px away when scrolling?
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: New patch: Settings Display within menus. Testing/Suggestions Wanted!
« Reply #14 on: August 18, 2006, 07:47:15 AM »
I'd have to see it, but I'd guess the 1px margin that magically stays through scrolling would be better.
If you have room for them, margins can only be a good thing.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

  • Print
Pages: [1] 2 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  New patch: Settings Display Within Menus. DONE!
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 18 queries.