• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Database
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by fallout33 - 2009-12-09
Last edited by pamaury - 2010-05-03

FS#10839 - Database sorting does not work on un-filtered list (2)

Although this bug has already occurred in the past, has been fixed, it recently started to appear again and still exists (r23838-091203) at least on a Sandisk Sansa e200.
Original bug report:

Database results are sorted alphabetically using the formatting string.

This does not work if the menu item line does not contain any additional filters other than the required ‘title’.

%format “fmt_artist_title” “%s - %s” artist title

This works as expected:
“All tracks” → genre → title = “fmt_artist_title”

This does not:
“All tracks” → title = “fmt_artist_title”

In the second example, the list is sorted alphabetically by ‘title’, ignoring the formatting string.

Entirely removing the .rockbox directory from the device and only inserting the tagnavi_custom.config file does not solve the problem.

Closed by  pamaury
2010-05-03 09:39
Reason for closing:  Not a Bug
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

The tagnavi code is not able to sort more entries than "Max entries in file browser". Increase this setting solves the issue. However, something should be added to the wiki or the manual.

"Entirely removing the .rockbox directory from the device" …, installing Rockbox with the default settings … "and only inserting the tagnavi_custom.config file does not solve the problem."

I have tried it in the sim (gigabeatfx, r23905) and on target (gigabeatfx, r23875) and it works as expected. Can anyone else confirm this bug?

Edit: I have just tried sansa sim (sansae200, r23907) and again no problem.

I tried the tagnavi_custom.config file from the linked post on my h300 with r23905 and i can confirm this problem.

The problem seems to be related to the "max Entries in File Browser" setting.
If that setting is lower than the number of files in that database view then sorting doesn't work correctly (sorted by title instead of 'artist - title').
If the setting is higher then everything works as expected.

Well spotted, that means it is not only unsorted but truncated?

Stefan, can you please check if this fixes it for you.

Increasing the value of the "max Entries in File Browser" has solved the problem.
Thank you!

fg commented on 2010-01-22 23:01

Maybe this information needs to be added to the wiki


Available keyboard shortcuts


Task Details

Task Editing