IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Facets sort order vs Win7 sort order bug?
mjm716
post Jun 22 2012, 14:55
Post #1





Group: Members
Posts: 151
Joined: 27-May 10
From: EST
Member No.: 80935



Hi,

I have a sort issue that I think may be a Facets bug. Facets doesn't follow the numerical sort settings in Win OS (versions > 2000), which can be found here:

run>gpedit.msc>USER Config>Administrative Templates>Windows Components>Windows Explorer>turn off numerical sorting in Win Explorer

for example the following folder sort order is what I see in Win Explorer (I have the above Win setting enabled):

01
02
03
04
05
111
13
1C
22
23
31
3A
44

however facets still sorts as:
01
1C
02
03
3A
04
05
13
22
23
31
44
111

am I missing something in a Facets preference maybe?

Go to the top of the page
+Quote Post
ruebe
post Jun 22 2012, 15:14
Post #2





Group: Members
Posts: 187
Joined: 18-September 10
Member No.: 83940



i guess facets doesn't care whatever sort order you specify in the registry but only what you put into preferences > media library > facets > default sorting order
Go to the top of the page
+Quote Post
mjm716
post Jun 22 2012, 15:41
Post #3





Group: Members
Posts: 151
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (ruebe @ Jun 22 2012, 15:14) *
i guess facets doesn't care whatever sort order you specify in the registry but only what you put into preferences > media library > facets > default sorting order


Unfortunately, it's not what is *in* the default order, it's *how* it's sorted that seems to be the problem [bug]
Go to the top of the page
+Quote Post
ruebe
post Jun 22 2012, 15:43
Post #4





Group: Members
Posts: 187
Joined: 18-September 10
Member No.: 83940



what did you put there?
Go to the top of the page
+Quote Post
BenB
post Jun 22 2012, 16:40
Post #5





Group: Members
Posts: 716
Joined: 17-April 12
Member No.: 98921



I understand what you want Facets to do, but I'm curious to know why you want it to. Perhaps there's another way to do what you're ultimately trying to achieve, but we'd need to know what that is to help you.

I wouldn't call this a bug. Sorting is defined in foobar in more than one place, and some components have the capability to define a sort. I'd assume that if a sort were left undefined, it would default to a sort defined by the component's developer or it would inherit a sort defined in foobar.
Go to the top of the page
+Quote Post
mjm716
post Jun 22 2012, 19:06
Post #6





Group: Members
Posts: 151
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (BenB @ Jun 22 2012, 16:40) *
I understand what you want Facets to do, but I'm curious to know why you want it to. Perhaps there's another way to do what you're ultimately trying to achieve, but we'd need to know what that is to help you.

I wouldn't call this a bug. Sorting is defined in foobar in more than one place, and some components have the capability to define a sort. I'd assume that if a sort were left undefined, it would default to a sort defined by the component's developer or it would inherit a sort defined in foobar.


thanks, whether I leave the facets default sort order empty or use something like %path_sort% the result is the same.

It does not inherit the sort style of my Win7 default setting. Perhaps it is inheriting it from somewhere else within foobar?

Again, refer to my example above how my Win Explorer actually sorts (correct) and how Facets is sorting (incorrect).
Go to the top of the page
+Quote Post
kode54
post Jun 22 2012, 19:19
Post #7





Group: Admin
Posts: 4576
Joined: 15-December 02
Member No.: 4082



That Group/Local Policy setting obviously only applies to Explorer itself, not any applications that use the relevant Win32 function for string comparison when sorting.
Go to the top of the page
+Quote Post
mjm716
post Jun 22 2012, 20:24
Post #8





Group: Members
Posts: 151
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (kode54 @ Jun 22 2012, 19:19) *
That Group/Local Policy setting obviously only applies to Explorer itself, not any applications that use the relevant Win32 function for string comparison when sorting.


superb reply and explains it! biggrin.gif

but now any lead toward how to apply such a sort default beyond explorer?
crying.gif
Go to the top of the page
+Quote Post
kode54
post Jun 22 2012, 21:07
Post #9





Group: Admin
Posts: 4576
Joined: 15-December 02
Member No.: 4082



Add an API to the player, and make a switch for it, I guess. Currently, several things just use StrCmpLogicalW directly, which has no switch.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd July 2014 - 22:55