Support and General Use > User Interface and Voice
Reorder menu items
fml2:
Hello.
I've made a patch (http://www.rockbox.org/tracker/task/7809) for reordering items in RB menus. It's done as follows: each menu item in RB gets a unique name (the names are assigned automatically, you can't change them). You then create a text file with the extension '.mnu' and assign each item a priority. Then you 'play' that file. After that, items with higher priorities will go to the top of their respective menu. Default priority is zero.
It is not possible to pull an item from one menu to some other menu. Also, it's not possible to hide a menu item. Only reordering is possible. And only in core RB menus. Plugin menus are not affected.
Here is an example of a .mnu file for reordering the items in the main menu for H120 in this order: Files, FM Radio, Resume Playback, Settings, Database, Recording, Playlists, Plugins, System
# full coverage: no
file_browser: 100
fm: 90
wps_item: 80
menu_: 70
Here, the four items (Files, FM Radio, Resume Playback, and Settings) have been assigned priorities other than default. Other items retain their positions.
As a side effect, automatic menu reordering is possible: you start with the default RB menus, use your DAP, and then the items you use more frequently automatically go to the top. Automatic reordering can be switched off (and is off by default).
Some developers were rather negative about this feature (no do, evil, etc.). There was also positive feedback. As of now, my estimation of the chances for this feature to be included into RB is about 0%. But if we discuss it here and many like it, the developers could change their mind.
Mikerman:
I think this is a nice idea. I've always wanted to move bookmarks down from the top of the menu listing, thinking that the broader files category should be on top.
I especially like the automatic sorting facility--that sounds like a great solution.
I do wonder if the system is a bit more complicated than necessary--couldn't one simply list, in order, the listing that one wants without the assigning of priority numbers? Just a thought. Although, of course, this is not a big matter.
Thanks!
fml2:
--- Quote from: Mikerman on October 04, 2007, 09:33:23 AM ---I think this is a nice idea. I've always wanted to move bookmarks down from the top of the menu listing, thinking that the broader files category should be on top.
I especially like the automatic sorting facility--that sounds like a great solution.
--- End quote ---
Nice to hear! As to the automatic reordering, I thought of it as a way to set up the order without having to explicitly learn your own habits. Just use the dap for some time, and then dump the menu config -- and you'll have menus that fit you. After that, you can disable automatic reordering.
--- Quote ---I do wonder if the system is a bit more complicated than necessary--couldn't one simply list, in order, the listing that one wants without the assigning of priority numbers? Just a thought. Although, of course, this is not a big matter.
--- End quote ---
The idea was that you can list the items in whatever order you want. But it would also be possible to write another plugin that would respect the order of the entries in the file. The underlying data structures etc. in RB would be the same.
Now we have to make noise so that this topic gets devs' attention! :-)
AlexP:
I really don't think it'll happen no matter how much noise you make (especially for automatic reordering), but feel free to try.
bluebrother:
--- Quote from: fml2 on October 04, 2007, 12:10:32 PM ---Now we have to make noise so that this topic gets devs' attention! :-)
--- End quote ---
Reordering of the menus was discussed quite several times, even upon devs ...
Navigation
[0] Message Index
[#] Next page
Go to full version