Open files in the same order as sorted in XYplorer

Features wanted...
admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

So this confirms Ruben Keestra.

what if you do this (* = focus)?
40
* 9
34

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by bdeshi »

are you asking me?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

Yes, Sammay. I was not totally sure about your findings. So you can confirm Ruben? If yes, does focus have any influence on the opening order? (I don't think so -- looking at my code it's 100% impossible).

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by bdeshi »

No, my results are not exactly the same as Reuben's I think.

With a direct open operation, files are always opened in the sorted order, irrespective of focus.

But using drag-drop, the focused file is opened first, and the remaining files are in the order as sorted in XYplorer.
However, in RK's case, according to this screenshot, the focused file is opened inbetween the others.
admin wrote:what if you do this (* = focus)?
40
* 9
34
drag-drop: 9 > 40 > 34.
direct open: 40 > 9 > 34.

Apparently the focus-independent open order does not extend to drag-drops yet.

edited.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

Yes, this is by design. It's necessary because the shell context menu can be shown from the drop context menu, and the shell context menu needs the focused item first:

Code: Select all

      - Notable exception: When opening multiple files via the shell context 
        menu, the old behavior has to be continued because the focused file is 
        expected to control the nature of the menu, and the controlling file has 
        to be the first file processed for technical reasons. (This might be the 
        reason why Explorer started this slightly weird behavior in the first 
        place.)
This does not explain Ruben's issue since he opens by ENTER.

So Ruben is still the only one.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by bdeshi »

agreed.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

Actually, I thought about it and I think I can safely change the behavior also for drag-and-drop. Next version...

Ruben Keestra
Posts: 30
Joined: 31 Jan 2014 17:18

Re: Open files in the same order as sorted in XYplorer

Post by Ruben Keestra »

The focus doesn't make any difference anymore.
Thanks for all the help. I'm curious about the new update!

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

Ruben Keestra wrote:The focus doesn't make any difference anymore.
Thanks for all the help. I'm curious about the new update!
But you did not drag and drop, right? So the update will make no difference.

Ruben Keestra
Posts: 30
Joined: 31 Jan 2014 17:18

Re: Open files in the same order as sorted in XYplorer

Post by Ruben Keestra »

No, I just hit Enter.

Ruben Keestra
Posts: 30
Joined: 31 Jan 2014 17:18

Re: Open files in the same order as sorted in XYplorer

Post by Ruben Keestra »

Thanks for the new version! The new version has the same behaviour like you said it would. So it's not a solution for me...

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

Well, it's not yet uploaded.

Ruben Keestra
Posts: 30
Joined: 31 Jan 2014 17:18

Re: Open files in the same order as sorted in XYplorer

Post by Ruben Keestra »

Ah, I was using .200 and now .300. I thought that this was the new one :roll:

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Open files in the same order as sorted in XYplorer

Post by admin »

Here in the forum, when I say "next version" I mean the next beta version.

Post Reply