admin wrote:VFOs in the MiniTree... a thrilling topic. What's your vision of it?
Well, I think we might have discussed this topic already in the past, but I'm not sure what was said in the end. The basic idea would simply be to have those VFOs on Tree. I seem to remember you mentioning an idea of having a new node "Virtual Folders" or something, not unlike "My Network Places," under which all VFOs would be found. I'm not sure I would like this idea, and I think I would prefer if it was more "straight-forward" and simply add VFOs just like we have drives (same level, right under My Computer).
So we would define which VFO to add alongside a label, and it would then show up on Tree much like all other drives, except with a different icon and instead of a letter (e.g. "D:") only "VFO" after its label (Let the whole VFO definition (e.g. "tag:red; gr*; *x") be on tooltip). I think I'd like that better just because it would allow us to have our VFOs amongst drives where we want on Tree, and also saves some space without the requirement for some "unnecessary" node (e.g. "Virtual Folders").
(Of course, there could also be a way, when adding a VFO to Tree, to specify whether it should go under "Virtual Folders" or "My Computer" thus allowing everyone to decide, and one a per-VFO basis even!)
After that, the behavior of those nodes on Tree should be pretty much the same as everywhere else. So the "root" couldn't be a source or target of drop operation, since that location doesn't exists anywhere and could be a listing of items from all over the place (BTW I hope you haven't forgotten the bit about when using a file, having prefix > before a folder not to add that folder but all its content into the VFO).
But, all the folders contained on that VFO would appear on Tree, and be browsable as any other folder. One could then drag those folders anywhere else, or use them as drop target, which wouldn't mean anything else but a regular move/copy operation, for that folder to be moved/copied where it was dropped, or for items to be moved/copied into that folder -- that is its actual location (which I assume would be shown when hovering the folder's icon).
(This would mean one could grab a folder from a VFO, and move it somewhere, and yet it stays there under that VFO, if said folder was on the "root" of the VFO (e.g. tagged "red"), since the D&D would only move the actual folder on disk, but not affect its tagging (i.e. its belonging to the VFO).)
As for Tree's highlighting features (Highlighted Folder/Boxed Branch), I think VFOs should have their own. So one folder could have two different boxed color, depending whether it is viewed "directly" (actual location) or from a VFO. I'm just not sure what would be best to save those paths: use the VFO's definition, or label? Mimicking how it works now would tend to say using the definition, but the way I see it now (might be wrong) is that we would add VFOs on Tree manually (or through scripting), as opposed to XY would "list them all" as it does with everything else pretty much, so there should be a way (manually and scripting-wise) to update a VFO's definition, so that one could for example add/remove a tag in the list of tags making a VFO, without losing all its Highlighted Folders/Boxed Branches.
Lastly, this all sounds like one adds a VFO to Tree as a "direct operation" : using a (scripting/manual) command that says "add this VFO (definition) using this label," and it would have to be repeated each time. But a better way of course would be to have a "cached list" of VFOs, which could be dealt with under LM, that would be like:
Code: Select all
"Some Colors" tag:red; gr*; *x
"Recent Water" cmt:2009; ocean; sun
"Some Project" dat:MyFiles.dat
Each of them should have a checkbox, indicating whether XY should add them on Tree automatically or not (on start up). And again, maybe a prefix somewhere could indicate whether it should be loaded under "My Computer" directly, or under an extra node "Virtual Folders."