Tree not Auto-Refreshing when creating folder in inactive ta

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

Post 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.

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

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

Post 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.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

Post 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

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

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

Post 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?

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

Post 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.

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

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

Post 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:

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

Post 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!

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

Post 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!

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

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

Post 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! = )
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

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

Post 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!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

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

Post 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...

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

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

Post 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...

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

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

Post 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!

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

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

Post 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)

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

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

Post 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.).

Post Reply