Custom sorting order always selected.

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

FKCapitalism2
Posts: 270
Joined: Sun Apr 23, 2023 5:14 am

Custom sorting order always selected.

Post by FKCapitalism2 »

Custom sort order is always selected even when there is no .XnViewSort present inside currently open folder.



If i select sort order "Name" then go between folders, it shows "Name" as sort order which is correct.

If for one folder i manually drag thumbnails in different order, then it shows Custom sorting order which is also correct, however after switching to another folder where i did not apply any custom order, XnView MP still showing Custom sorting order.

Perhaps to avoid confusion it should only show Custom if currently open folder contains .XnViewSort file?

Image

Same behavior with Filter.
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Custom sorting order always selected.

Post by xnview »

yes it will be better to restore sort order when .XnViewSort is not present
Pierre.
FKCapitalism2
Posts: 270
Joined: Sun Apr 23, 2023 5:14 am

Re: Custom sorting order always selected.

Post by FKCapitalism2 »

xnview wrote: Fri May 05, 2023 2:22 pm yes it will be better to restore sort order when .XnViewSort is not present
bug is after custom order used for one folder only custom order filter shows for every folder you navigate to.
FKCapitalism2
Posts: 270
Joined: Sun Apr 23, 2023 5:14 am

Re: Custom sorting order always selected.

Post by FKCapitalism2 »

xnview wrote: Fri May 05, 2023 2:22 pm yes it will be better to restore sort order when .XnViewSort is not present
Also if i set custom order on folder A program creates .XnViewSort file in that folder, if i then change sorting order in folder A to say Name yet .XnViewSort still remains in folder A in case i want to switch to Custom sorting order again.

simply checking if .XnViewSort file exists is not enough.

Somehow program remembers to not use custom sorting order for folder A (its saved somewhere), could you synchronize filter to display sorting order actually applied to folder?
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Custom sorting order always selected.

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Custom sorting order always selected.

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.5.0 beta. Please check and confirm the bug fix here.
Pierre.