1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

My first bug report, apologies if not done correctly.

Subject: 1.7.2 64-bit (Linux): Folder list order not alphabetical

XnView: MP 1.7.2 64-bit (Linux) - Libformat 7.180
OS: Linux Mint 21.3 Cinnamon 6.04 64bit. Kernel 6.8.0-40-generic

Folders in the folder pane do not show in alphabetical or other consistent order.

Effect:

If I add a folder, it always shows at the end. More of an impact is when loading folders they often aren't in alphabetical order. It's fixed on close and restart, but if I'm going 5 folders deep, it happens as often as not.

The folders seem to be ordered in batches, i.e. it will go a-z, but miss out some files. Then go a-z for the remainder, or some of the remainder, and then again etc. Once it's wrong it stays wrong until restart.

It's all fine in the thumbnail window (not sure of name), it will sort actively and is always correct.

It may be related to another issue, which I'll report separately and call "1.7.2 64-bit (Linux): Unable to delete folders"

It's more pronounced the more folders there are in a location. But that may just be statistics.

It is XNViewMP only, folder view in Nemo file explorer works ok.

It may be that this only occurs with NTFS partitions, all my complex folders are on NTFS so I can't check. But my other issue which may be related seems to be NTFS only.

To reproduce:
1. XNViewMP in Linux
2. Have folder panel displayed
3. Expand a folder on an NTFS partition with many subfolders

Actual behaviour (bug): folders not sorted alphabetically; place new folders at the bottom of the list; does not refresh :bug:

Expected behaviour: consistent sorting, refreshed. As the thumbnail list is.

Image
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by xnview »

you have this problem only when creating a new folder?
Pierre.
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

No it does it when reading folder lists only. i.e. if I click the + to expand a folder list in the folder pane, or double click a folder in what I'm calling the thumbnail pane to expand it. But it's inconsistent.

It would be good if it could refresh the folder pane sort order on F5. Which makes sense to me from my position of ignorance. Thank you for looking at it. On investigation it seems I've installed XNViewMP through the deb package, if that matters.
More of an impact is when loading folders they often aren't in alphabetical order. It's fixed on close and restart, but if I'm going 5 folders deep, it happens as often as not.

The folders seem to be ordered in batches, i.e. it will go a-z, but miss out some files. Then go a-z for the remainder, or some of the remainder, and then again etc. Once it's wrong it stays wrong until restart.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by xnview »

do you have same problem on EXT3/4 drive?
Pierre.
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

xnview wrote: Sat Aug 31, 2024 1:42 pm do you have same problem on EXT3/4 drive?
I am not certain. New folders certainly drop at the bottom, and it doesn't update. Whether the reading is sometimes wrong I haven't seen, as I don't have media on ext4.

I will try and have a faff and see if it happens. It happens more often with more complex folders, I don't know if big files, big number of files or image files makes a difference. If it's either of the second two it won't pop.

I'll do it later today and come back.
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

As far as I can tell, it's ok on EXT4.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by xnview »

Kenny Dave wrote: Sun Sep 01, 2024 4:51 pm As far as I can tell, it's ok on EXT4.
ok, i'll try to add a ntfs drive to check...
Pierre.
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

xnview wrote: Tue Sep 03, 2024 6:43 am
Kenny Dave wrote: Sun Sep 01, 2024 4:51 pm As far as I can tell, it's ok on EXT4.
ok, i'll try to add a ntfs drive to check...
Thank you :) Sounds like the deleting folders (viewtopic.php?f=62&t=47674) is the same issue, and consistent so easier to check. Sorry for not spotting that it was NTFS only, that would have made things quicker and easier.
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

So I've moved my pics and gifs to EXT4 and when there are a lot of folders or a lot of files, the problem returns even on EXT4.

I don't know if there is anything in the new version (1.8 ) that could help, but I couldn't install it. I don't know if it's a problem with the deb or on Mint's end.

Image

Code: Select all

mint@mint-7B98:~$ ldd --version
ldd (Ubuntu GLIBC 2.39-0ubuntu8.3) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Code: Select all

mint@mint-7B98:~$ apt list --installed | grep libglib

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libglib-object-introspection-perl/noble,now 0.051-1build3 amd64 [installed]
libglib-perl/noble,now 3:1.329.3-3build3 amd64 [installed]
libglib2.0-0t64/noble-updates,noble-security,now 2.80.0-6ubuntu3.1 amd64 [installed,automatic]
libglib2.0-0t64/noble-updates,noble-security,now 2.80.0-6ubuntu3.1 i386 [installed,automatic]
libglib2.0-bin/noble-updates,noble-security,now 2.80.0-6ubuntu3.1 amd64 [installed]
libglib2.0-data/noble-updates,noble-updates,noble-security,noble-security,now 2.80.0-6ubuntu3.1 all [installed]
libglib2.0-dev-bin/noble-updates,noble-security,now 2.80.0-6ubuntu3.1 amd64 [installed,automatic]
libglib2.0-dev/noble-updates,noble-security,now 2.80.0-6ubuntu3.1 amd64 [installed]
libglibmm-2.4-1t64/noble,now 2.66.7-1build1 amd64 [installed,automatic]
So if you can confirm then I'll go ask at the Mint forums. I've got a year old deb so I can uninstall XNViewMP and see if that will go on request.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by xnview »

you need to ignore libglib2.0-0 to install 1.8.0
Pierre.
Kenny Dave
Posts: 20
Joined: Tue Aug 15, 2023 8:17 pm

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by Kenny Dave »

Thanks, I had no idea I could do that. The command for others on Ubuntu 24 base is:

Code: Select all

dpkg --force-all -i XnViewMP-linux-x64.deb
Seems to run as before with a quick check.
manuel_songokuh
Posts: 65
Joined: Wed Aug 28, 2024 11:09 am

Re: 1.7.2 64-bit (Linux): Folder list order not consistently alphabetical

Post by manuel_songokuh »

Kenny Dave wrote: Thu Aug 29, 2024 8:45 pm
hi

i did not see issue my Linux list folder order...please explain me..
Post Reply