#1
|
|||
|
|||
Sorting issue
Hi,
It looks like when sorting packages by name, the content of the packages is not sorted properly, it looks like it's ignoring case in file names: alpha.beta.gamma Alpha.Beta.Gamma alpha.beta.gamma alpha_beta_gamma but it should be: Alpha.Beta.Gamma alpha.beta.gamma alpha.beta.gamma alpha_beta_gamma Can somebody take a look at it, please? Thanks, M |
#2
|
||||
|
||||
Believe its now been changed to that maybe 12 months ago, as a desired outcome.
the first three would be randomly sorted (based on entry) or sorted by secondary criteria. Think the the change is that way because the download core doesn't match to case either. Mainly due to windows file systems, and you would get dupes if you did match to case on mirror detection. If you did sort it solely based on case, that mirror would always be preferred, as it would always be on the top of the list.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Hi,
There are other OSes capable of handling case sensitive file names, so I think there should be an option to control whether we want case sensitive sorting (or ignore case when matching file names) instead of declaring something as the "desired outcome"... Cheers, M |
#4
|
||||
|
||||
far as I'm aware JD has never been alpha sensitive on case. It did in the GUI for sorting and thats all that changed in that ~12months ago guesstimate.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
Hi,
It makes sense to ignore case for grouping files, but for sorting and displaying in the GUI - it's a disaster, especially for case sensitive file systems. Can we restore the case sensitive display order, please? Thanks in advance, M |
#6
|
||||
|
||||
Hm interesting this was changed a loong time ago:
https://board.jdownloader.org/showthread.php?t=45494 -psp- EDIT No nothing was changed back then. Raztoki are you able to find a ticket related to your proposed change ~12 months ago?
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#7
|
|||
|
|||
Hi,
I think we're talking about different things. In the quoted ticket, the words are completely different (Apple vs airplane) while my example above the phrases using different capitalization but the words are the same (Alpha vs alpha). And that's how a package should look like by default (grouping together file names matching a certain pattern). I think the former is better for sorting packages and the latter for sorting package content. That's why we need configuration options, instead of hard coding arbitrary chosen options, in my opinion. Thanks in advance, M Last edited by Maelcum; 26.02.2020 at 18:35. |
#8
|
||||
|
||||
Ticket:
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#9
|
||||
|
||||
@psp
check the thread, yes its been that way for a long time. Maybe Im thinking about different sorting change... believe it was todo with numbers. it could been ~2 years ago
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#10
|
||||
|
||||
I guess I've never used sorting.
To me it does not matter - an option won't hurt I guess. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#11
|
||||
|
||||
Guess not in the scheme of things, but can adverse effects introducing undesirable behaviour at least from the design end.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#12
|
|||
|
|||
Hi,
Just a note: the ticket says "Package sorting case sensitive" but it's actually two things: - user selectable option whether the sorting of the package names is case sensitive - user selectable option whether the sorting of the package content (file names) is case sensitive Thanks, M |
#13
|
||||
|
||||
Sorry I was in a hurry. I've updated the ticjet accordingly.
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#14
|
|||
|
|||
Thanks!
Cheers, M |
#15
|
|||
|
|||
Hi,
Any update on this one? It's still an issue I keep running into. Thanks in advance, M |
#16
|
||||
|
||||
no updates, please follow the svn issue ticket & progress percentage. When completed usually programmer will comment on the thread and change thread tag to solved.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#17
|
|||
|
|||
It's actually getting worse, unfortunately :-(
I noticed a few almost completely unordered file lists in packages... Cheers, M |
#18
|
||||
|
||||
You can try to help and tell us what SortAlgo/Comparator you think would fit best for you.
Currently JDownloader uses NaturalOrderComparator. Also there won't be different sorter for files and packages as this would require more major changes. At the moment there is only support for 1 sorter and not two/multiple. So I think of advanced setting to change used sorter algo
__________________
JD-Dev & Server-Admin |
#19
|
|||
|
|||
Hi Jiaz,
As soon as I run into a sorting issue I'll update this thread. Cheers, M |
#20
|
|||
|
|||
Hi Jiaz,
Here's an example of messed up sorting: **External links are only visible to Support Staff****External links are only visible to Support Staff** I'm not sure where the issue comes from but it's definitely not sorted properly. Cheers, M |
Thread Tools | |
Display Modes | |
|
|