Page 2 of 3

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 10:18
by nas8e9
admin wrote:...

Now your wish would indeed be simple to implement but I'm not sure if I like it. :P There seems to be little logical connection between the two things you want to connect.
The original problem has to do with multiple partitions and multiple tabs. By design, XYplorer will only monitor and update the tree for the active tab. As a result, when switching to a different tab pointing to a different location, the tree can be out of sync when another program has created and/or deleted folders. This leads to an inconsistent display (tree vs. list which does list new and/or deleted folders) as well as the wearing-out of the F4 key on my keyboard; also, it breaks the flow when switching tabs: do I need to refresh the Tree or not?

Given that XYplorer's monitoring and updating of the Tree is confined to the active tab, the connection between switching tabs and refreshing the Tree does seem to me to be there.

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 11:00
by admin
nas8e9 wrote:
admin wrote:...

Now your wish would indeed be simple to implement but I'm not sure if I like it. :P There seems to be little logical connection between the two things you want to connect.
The original problem has to do with multiple partitions and multiple tabs. By design, XYplorer will only monitor and update the tree for the active tab. As a result, when switching to a different tab pointing to a different location, the tree can be out of sync when another program has created and/or deleted folders. This leads to an inconsistent display (tree vs. list which does list new and/or deleted folders) as well as the wearing-out of the F4 key on my keyboard; also, it breaks the flow when switching tabs: do I need to refresh the Tree or not?

Given that XYplorer's monitoring and updating of the Tree is confined to the active tab, the connection between switching tabs and refreshing the Tree does seem to me to be there.
It's not confined to the current Tab but to the current folder. So by your logic every folder change should auto-invoke a tree refresh. I think the better solution would be to keep the whole tree fresh all the time. I could do that. Actually my decision not to do that comes from a time when computers were much slower than now.

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 11:18
by nas8e9
admin wrote:
nas8e9 wrote:
admin wrote:...

Now your wish would indeed be simple to implement but I'm not sure if I like it. :P There seems to be little logical connection between the two things you want to connect.
The original problem has to do with multiple partitions and multiple tabs. By design, XYplorer will only monitor and update the tree for the active tab. As a result, when switching to a different tab pointing to a different location, the tree can be out of sync when another program has created and/or deleted folders. This leads to an inconsistent display (tree vs. list which does list new and/or deleted folders) as well as the wearing-out of the F4 key on my keyboard; also, it breaks the flow when switching tabs: do I need to refresh the Tree or not?

Given that XYplorer's monitoring and updating of the Tree is confined to the active tab, the connection between switching tabs and refreshing the Tree does seem to me to be there.
It's not confined to the current Tab but to the current folder. So by your logic every folder change should auto-invoke a tree refresh. I think the better solution would be to keep the whole tree fresh all the time. I could do that. Actually my decision not to do that comes from a time when computers were much slower than now.
I'd love that! However, given the rest of your task load I'd love a pragmatic quick fix even more :D . Seriously, it would be great if you could remove the underlying limitation. However, can I ask that if this gets put rather down on the roadmap that you consider the tweak?

I do appreciate your reluctance for implementing this hack; however, the described limitation hits me several times a day. Not over the head, but definitely as an itch. Now, a tweak to scratch this would be awesome... :D

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 11:28
by admin
nas8e9 wrote:I do appreciate your reluctance for implementing this hack; however, the described limitation hits me several times a day. Not over the head, but definitely as an itch. Now, a tweak to scratch this would be awesome... :D
Are you sure that you want to refresh the whole tree, or maybe just the new current folder?

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 11:34
by nas8e9
admin wrote:Are you sure that you want to refresh the whole tree, or maybe just the new current folder?
The equivalent of Refresh Tree (F4) for the newly selected tab would suit me best: the tab may point to \temp\A\B when the relevant changes happen in \temp.

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 11:47
by admin
nas8e9 wrote:
admin wrote:Are you sure that you want to refresh the whole tree, or maybe just the new current folder?
The equivalent of Refresh Tree (F4) for the newly selected tab would suit me best: the tab may point to \temp\A\B when the relevant changes happen in \temp.
Look for RefreshTreeOnTabChange in the INI in the next version. No further documentation. :wink:

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 11:53
by nas8e9
admin wrote:
nas8e9 wrote:
admin wrote:Are you sure that you want to refresh the whole tree, or maybe just the new current folder?
The equivalent of Refresh Tree (F4) for the newly selected tab would suit me best: the tab may point to \temp\A\B when the relevant changes happen in \temp.
Look for RefreshTreeOnTabChange in the INI in the next version. No further documentation. :wink:
Thank you very much!

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 16:32
by nas8e9
admin wrote:Look for RefreshTreeOnTabChange in the INI in the next version. No further documentation. :wink:
Works a treat! One side-effect: the floppy drive is accessed every time the tree is refreshed which gives a rather grating noise each time I switch tabs. Disabling the floppy disk drive in Device Manager stops this. I only keep the floppy for installing Windows XP with additional storage drivers, so no loss. Keeping a CD or DVD in a drive may give the same problem, but that's rare for me as well.

Looking forward to the day the tree auto-refreshes all the time!

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 17:30
by SkyFrontier
Things here are faster than I could possibly thought. Then renaming mode+undo fix is done, also the refreshing problem. Just have to see how to deal with the floppy, now...
Admin=Don. Don=author. So... thanks, Don! = )

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 18:03
by j_c_hallgren
SkyFrontier wrote:Things here are faster than I could possibly thought.
:lol: Yup! Miss a few hours here and you can end up behind the latest vers! Or at least miss out on the development of a feature...That's why we LOVE our author Don SO much!

I've seen a bug fixed in less than 20 min here...not even some anti-virus vendors react that fast!

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 20:29
by admin
nas8e9 wrote:
admin wrote:Look for RefreshTreeOnTabChange in the INI in the next version. No further documentation. :wink:
Works a treat! One side-effect: the floppy drive is accessed every time the tree is refreshed which gives a rather grating noise each time I switch tabs. Disabling the floppy disk drive in Device Manager stops this. I only keep the floppy for installing Windows XP with additional storage drivers, so no loss. Keeping a CD or DVD in a drive may give the same problem, but that's rare for me as well.

Looking forward to the day the tree auto-refreshes all the time!
You can hide the floppy in menu View | Show Items | Show Floppy Drives...

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 20:32
by admin
I cannot believe that people actually like the RefreshTreeOnTabChange tweak. It's so slow it even shows an hourglass on tab change. Wouldn't a refresh current drive be enough? Would be much faster...

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 20:40
by nas8e9
admin wrote:I cannot believe that people actually like the RefreshTreeOnTabChange tweak. It's so slow it even shows an hourglass on tab change. Wouldn't a refresh current drive be enough? Would be much faster...
I'm happy with it as long as I disable the floppy drive one way or the other and don't have other removable media loaded or network drives mapped. Rather a lot of provisos actually. Having said that, "refresh current drive" would be enough for me. I don't see such an option currently in XYplorer, so I can't test the performance increase; sounds interesting, though!

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 20:55
by admin
nas8e9 wrote:
admin wrote:I cannot believe that people actually like the RefreshTreeOnTabChange tweak. It's so slow it even shows an hourglass on tab change. Wouldn't a refresh current drive be enough? Would be much faster...
I'm happy with it as long as I disable the floppy drive one way or the other and don't have other removable media loaded or network drives mapped. Rather a lot of provisos actually. Having said that, "refresh current drive" would be enough for me. I don't see such an option currently in XYplorer, so I can't test the performance increase; sounds interesting, though!
You can select a drive root and then do "Refresh Current Folder" (Shift+F4) to get an idea.

(On MiniTree it has a slightly different function though; shows all subfolders)

Re: Tree not Auto-Refreshing when creating folder in inactive ta

Posted: 09 Jan 2010 21:09
by admin
admin wrote:
nas8e9 wrote:
admin wrote:I cannot believe that people actually like the RefreshTreeOnTabChange tweak. It's so slow it even shows an hourglass on tab change. Wouldn't a refresh current drive be enough? Would be much faster...
I'm happy with it as long as I disable the floppy drive one way or the other and don't have other removable media loaded or network drives mapped. Rather a lot of provisos actually. Having said that, "refresh current drive" would be enough for me. I don't see such an option currently in XYplorer, so I can't test the performance increase; sounds interesting, though!
You can select a drive root and then do "Refresh Current Folder" (Shift+F4) to get an idea.

(On MiniTree it has a slightly different function though; shows all subfolders)
In the next version try RefreshTreeOnTabChange = 2 to refresh just the current drive (or top folder like "Desktop" etc.).