photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: sinus on July 31, 2016, 05:14:19 PM

Title: A stack in the Viewer is not sorted
Post by: sinus on July 31, 2016, 05:14:19 PM
If I have a stack, and in this stack nefs and jpgs, then I have a default - sorting.

Means, if I expand the stack, in the file window all is correct sorted.
In my case:

1.nef, 1_v.jpg, (versions)
2.nef, 2_v.jpg
3.nef, 3_v.jpg and so on

If I select all stack-members in the file window (Shift H) and open the viewer, this sorting in the viewer is also perfect and correct.

Now my question:
If I collapse the stack, select the master and open the viewer with Shift Ctlr s,v (or with the mouse, right-click and menu), all members does display in the viewer (super!), but the sorting is incorrect.
Means, in my case, all nefs comes at the beginning, and all jpgs at the end.

Do I misunderstand something wrong? I do not know, if the log hleps, I attache it.
I open only IMatch, select all members of the stack, open the viewer: perfect.

Close the viewer, collapse the stack.
Shift Ctrl S, v
The viewer will be open, but the sorting is not correct.

Mabe I have overlooked a preference?
Title: Re: A stack in the Viewer is not sorted
Post by: Mario on August 01, 2016, 11:32:08 AM
When you select a set of files in the File Window and then open the Viewer, the Viewer receives the files in the order in which they appear in the File Window (with whatever sort profile you have selected).

When you select a master or stack top of a collapsed stack, the Viewer receives only that file. Since the file window has not loaded the files hidden in the stack, it cannot send them to the Viewer. If the Viewer has been configured to open the entire stack, it retrieves the other files in the stack itself, sorts them based on the content type of the file window (folder, category, ...) and presents them in that order.

It has no access to whatever sort profile is loaded in the file window.
I understand that this may be confusing if you use a special sort order for the files in your stack (aka the file window) and the files show up in a different order when you open the stack with the special option.

I suggest you first expand the stack, select all files in the stack (easy via keyboard shortcut) and then open the selected files in the Viewer.

I will have a look and see if I can somehow forward the file window sort profile to the machinery that drives the Viewer without causing too many issues.

Please add a Feature Request so I can allocate a time slot.

Title: Re: A stack in the Viewer is not sorted
Post by: sinus on August 01, 2016, 01:19:16 PM
Quote from: Mario on August 01, 2016, 11:32:08 AM

It has no access to whatever sort profile is loaded in the file window.
I understand that this may be confusing if you use a special sort order for the files in your stack (aka the file window) and the files show up in a different order when you open the stack with the special option.

Thanks, Mario
I have no special sort-order, I use always the default-sort-order of IMatch.

Quote
I suggest you first expand the stack, select all files in the stack (easy via keyboard shortcut) and then open the selected files in the Viewer.
Yes, I will do so.
I it so, that the command "Ctlr Shift S, v" with a collapsed view, seems to my very hansome and quickly.
First open the stack, then select all stack members (Ctrl h), open the viewer, and afterwards collapse again the stack is much more time-consuming.
[/quote]

Quote
I will have a look and see if I can somehow forward the file window sort profile to the machinery that drives the Viewer without causing too many issues.
Please add a Feature Request so I can allocate a time slot.

Thanks in advance, I will create a FR.