Page 5 of 6
Re: A few clarifications on the new version
Posted: 15 May 2022 11:06
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.
Re: A few clarifications on the new version
Posted: 15 May 2022 15:32
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?

Re: A few clarifications on the new version
Posted: 15 May 2022 17:23
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.
Re: A few clarifications on the new version
Posted: 15 May 2022 18:33
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.
Re: A few clarifications on the new version
Posted: 15 May 2022 18:42
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?
Re: A few clarifications on the new version
Posted: 15 May 2022 18:49
by Antieve
admin wrote: ↑15 May 2022 18:42Can't you attach it here within the forum?
Done. Using hostings is just a habit

Re: A few clarifications on the new version
Posted: 15 May 2022 18:59
by admin
It works well here. Impressive.
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.

Re: A few clarifications on the new version
Posted: 17 May 2022 15:28
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?
Re: A few clarifications on the new version
Posted: 17 May 2022 15:46
by admin
older versions... went back till 22.60 and did not find this to be the case. Maybe just wishful memory?
Re: A few clarifications on the new version
Posted: 17 May 2022 16:03
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

Re: A few clarifications on the new version
Posted: 17 May 2022 16:27
by admin
I vaguely remember that it was removed because people did not like it.
Re: A few clarifications on the new version
Posted: 17 May 2022 16:33
by admin
Turns out there is a tweak for what you wish:
Re: A few clarifications on the new version
Posted: 17 May 2022 16:38
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.
Re: A few clarifications on the new version
Posted: 17 May 2022 16:50
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.
Re: A few clarifications on the new version
Posted: 20 May 2022 03:06
by Antieve
In addition to "
Set modified date to current",
it would be cool to have native commands like "
copy modified date" and "
paste modified date"