A few clarifications on the new version

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: A few clarifications on the new version

Post by Horst »

admin wrote: 15 May 2022 10:24
Antieve wrote: 14 May 2022 18:35 One of the reasons is that you don't follow guidelines
Yes, windows explorer works fast because of passing just first 16 selecting items to a verb. Tricks are everywhere ;)
Sounds fascinating, but then the shell extensions in the ctx menu (e.g. WinRAR's "Add to archive...") will only work on those 16 items.
There is a registry key to increase that number.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

admin wrote: 15 May 2022 10:24Sounds fascinating, but then the shell extensions in the ctx menu (e.g. WinRAR's "Add to archive...") will only work on those 16 items.
Try to read it one more time ;)
There is a registry key to increase that number.
Yes, but why? :)

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: A few clarifications on the new version

Post by Horst »

Antieve wrote: 15 May 2022 15:32
admin wrote: 15 May 2022 10:24Sounds fascinating, but then the shell extensions in the ctx menu (e.g. WinRAR's "Add to archive...") will only work on those 16 items.
Try to read it one more time ;)
There is a registry key to increase that number.
Yes, but why? :)
Because 16 is a very low value and most systems can have much larger values without getting problems.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

Horst wrote: 15 May 2022 17:23Because 16 is a very low value and most systems can have much larger values without getting problems.
If you need it for some reason, you can change this value on your system, but in the context of the problem it does not solve anything.
will only work on those 16 items
I understand that it is problematic to conduct experiments in an unfamiliar programming language (ahk), so here is a quick and dirty sample (attached) to play around with.

This is a very simplified implementation just to show the main idea. You can drag and drop files into the program window to make sure it works. The menu will always be displayed for 16 files (if > 16), regardless of their actual number (number 16 is hardcoded in fact it can be any reasonable value). Reinitialization is not implemented correctly, but for the test sample it is not important, so for the number of files greater than 350, I disabled menu validation and only default menu commands will work. Now you can initialize XYPlorer drag handler (by direct call or by message or whatever) and send a drop message to test program window (context menu reacts to CFSTR_SHELLIDLIST format). Window title is the full path.

This should help to make a decision about the feasibility of implementing this approach.
Attachments
XYCtx.7z
(28.71 KiB) Downloaded 56 times
Last edited by Antieve on 15 May 2022 18:56, edited 4 times in total.

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

Re: A few clarifications on the new version

Post by admin »

I'm not even thinking about AHK. It's the 32-bit ctx menu written within XY in a familiar language that should work first.

BTW, I could not download your sample. Can't you attach it here within the forum?

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

admin wrote: 15 May 2022 18:42Can't you attach it here within the forum?
Done. Using hostings is just a habit :kidding:

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

Re: A few clarifications on the new version

Post by admin »

It works well here. Impressive. :tup:

I have no time today (or even in the coming days) to dive into it, but this is really interesting. And it's just 65 KB. :beer:

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

One more thing.
In older versions, when you return to the parent folder by clicking on its name in the address bar (breadcrumbs), this directory remained highlighted and was in the visible part of the list. In the new version, this behavior can only be achieved by clicking the "🠕 Up" button, and through the address bar it just throws me back to the beginning of the directory list with no selection.
Maybe I missed some settings?

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

Re: A few clarifications on the new version

Post by admin »

older versions... went back till 22.60 and did not find this to be the case. Maybe just wishful memory?

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

admin wrote: 17 May 2022 15:46 older versions... went back till 22.60 and did not find this to be the case. Maybe just wishful memory?
I upgraded from version 18.70 (to 23.00) and am comparing with it :biggrin:

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

Re: A few clarifications on the new version

Post by admin »

I vaguely remember that it was removed because people did not like it.

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

Re: A few clarifications on the new version

Post by admin »

Turns out there is a tweak for what you wish:

Code: Select all

AutoSelectMRUSubfolderExtended=2

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

admin wrote: 17 May 2022 16:27 I vaguely remember that it was removed because people did not like it.
It's a bit counterintuitive, because if you checked the "Select last used subfolder" checkbox in the settings, you would expect this behavior for any navigation method and it is unlikely that people could complain about themselves ;)
a tweak for what you wish
Thanks! It works.

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

Re: A few clarifications on the new version

Post by admin »

Well, it looks like it was my own idea, and it's not as long ago as I thought:

Code: Select all

v22.00.0007 - 2021-07-05 13:03
    * Configuration | General | Tree and List | List | Select last used 
      subfolder: Now it's limited to Up/Down and Back/Forward.
      The extended functionality (do it also when entering a folder via the list 
      or the breadcrumb bar) is now bound to a tweak (bitfield: 1=via list, 
      2=via breadcrumb). To restore the previous behavior set it to 3:
        AutoSelectMRUSubfolderExtended=3
      I changed the default behavior because it seemed unnatural to me.
Let's hear some opinions! I'm ready to factory-default it to 3.

Antieve
Posts: 72
Joined: 02 Apr 2016 20:52

Re: A few clarifications on the new version

Post by Antieve »

:info:
  
In addition to "Set modified date to current",
         
it would be cool to have native commands like "copy modified date" and "paste modified date"

Post Reply