a-sit / PDF-Over

https://technology.a-sit.at/en/pdf-over/
European Union Public License 1.2
17 stars 4 forks source link

Usability: Sort order in ""Browse for PDF on your computer"" #79

Closed michaelof closed 7 months ago

michaelof commented 1 year ago

Describe the solution you'd like

As I'm affected by #66, I always have to navigate by "Browse.." to find and select a to be signed PDF. (Because of this, Feature request #71 would be nice, +1.)

But also because of this, one behaviour of the "Browse.." dialogue is confusing for me: Sort of of files and folders in "Browse..." dialogue is different from usual LINUX (KDE Dolphin etc.) file explorer's sort order.

Concretely: Underscore "_" seems to be ignored in PDF-Over's "Browse..." dialogue reg. sorting.

E.g.: As I, independent of PDF-Over, have to navigate between thematically spread folders in the tree, I usually name very frequently used folders always staring with an underscore, e.g. "_MyVeryOftenUsedFolder", to have them on top of all other folders, as Linux standard sort order has underscore before all other "normal" characters. When now navigating with PDF-Over's "Browse..." dialogue, "_MyVeryOftenUsedFolder" will be sorted within all folders starting with an "M", ignoring the underscore, confusing to find.

Maybe, or hopefully, this can be easily changed by a simple collation setting for the "Browse.." dialogue, if so, would be cool. If difficult, no issue for me to wait until #66 will be fixed.

iaik-jheher commented 9 months ago

We rely on Eclipse SWT's FileDialog to provide platform-specific file select functionality. I'm not sure what particular file select it's using in Linux, or what determines its sort order; there doesn't appear to be any way for me to influence it, as best as I can tell.