Also refresh tree icons when hitting F4
-
grindax
Also refresh tree icons when hitting F4
.
Last edited by grindax on 22 Jan 2016 17:14, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Also refresh tree icons when hitting F4
F4 should refresh the icon of the folder your are on. More I cannot do at the moment.
FAQ | XY News RSS | XY X
-
grindax
Re: Also refresh tree icons when hitting F4
.
Last edited by grindax on 22 Jan 2016 17:14, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Also refresh tree icons when hitting F4
Hmm, now that you ask for it, and since we now have Remember Tree State that would be possible indeed. Only I'm not sure if everybody would be happy with that change... Rebuild Tree has its behavior for many years now.grindax wrote:Perhaps it would be possible to instead make the rebuild command (Ctrl+Shift+F4) not collapse a locked tree?
FAQ | XY News RSS | XY X
-
grindax
Re: Also refresh tree icons when hitting F4
.
Last edited by grindax on 22 Jan 2016 17:14, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Also refresh tree icons when hitting F4
I think they each have their merits functionally and performancewise.grindax wrote:What I've been thinking about recently is: now that the tree expansion can be controlled separately, why not merge the functionality of Refresh Tree and Rebuild Tree, making one robust way to make sure that the tree is fully up-to-date? Having two completely separate functions is a bit difficult to understand (especially with regards to how their functionality overlaps).admin wrote:Hmm, now that you ask for it, and since we now have Remember Tree State that would be possible indeed. Only I'm not sure if everybody would be happy with that change... Rebuild Tree has its behavior for many years now.
While I'm mentioning this, maybe even the functionality of Shift+F4 could be folded into this as well. To this day, I still don't understand what that does that's different.
I agree that Refresh Tree should ideally care for the icons as well, but that's currently not possible. These commands were written in a time where tree icons did not change... since they are superoptimized it's very hard to add something like refresh icons to them.
The easiest way would be to combine Rebuild Tree and Tree State, but it would be notably slower than Refresh Tree.
FAQ | XY News RSS | XY X
-
grindax
Re: Also refresh tree icons when hitting F4
.
Last edited by grindax on 22 Jan 2016 17:15, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Also refresh tree icons when hitting F4
I hear you, but: These commands are all very old, and how they are now has been shaped by accumulated experience. It's very difficult to improve these commands without the source code where all the changes and reasons have been anotated over the years. In short: trust me, it's good as it is.grindax wrote:I believe that would be a good approach for now.admin wrote:The easiest way would be to combine Rebuild Tree and Tree State, but it would be notably slower than Refresh Tree.
But longer-term, thinking through the use cases for where I've wished to refresh the tree...
Since most of the time the tree is already current, there are only (relatively) occasional times where I see something that is out-of-date. In those cases I find that it's almost always necessary to do a rebuild to get the problem corrected.
Perhaps the set of functions concerning the tree could be changed to something like this:
- Refresh Tree (which means do a rebuild as well. Usually I expect that doing a 'refresh' means that it will be fully current afterwards, just like I expect this for F5 on the file list)
- Reset/Collapse Tree (either as separate options or combined. Could potentially just do the quick stuff that F4 currently does, plus collapses the tree. I myself don't fully understand where the quick version helps since I usually have to resort to rebuild, but maybe this is still required in some scenarios)
FAQ | XY News RSS | XY X
-
grindax
Re: Also refresh tree icons when hitting F4
.
Last edited by grindax on 22 Jan 2016 17:15, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Also refresh tree icons when hitting F4
Well, that "no-one can explain or remember" why something is as it is is also a weak argument for changing it. More interesting for me is the fact that no-one (apart from you) ever complained about these commands.grindax wrote:I think the argument that something can't/won't be improved primarily because it's very old is a weak one.
And if no-one can explain or remember why Refresh (F4) doesn't actually do a full refresh, or why the pseudo-refresh in it's current form is more useful, then I don't see how you can say that it's good the way it is.
Sometimes things that have been designed and developed in the past can be improved upon.
But wait for the next version, I figure you will like the new Rebuild Tree...
FAQ | XY News RSS | XY X
-
grindax
Re: Also refresh tree icons when hitting F4
.
Last edited by grindax on 22 Jan 2016 17:15, edited 1 time in total.
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: Also refresh tree icons when hitting F4
One of the reasons would be this, unfortunately.grindax wrote:I do still wonder who would have a need for Refresh Tree (F4) now. It seems that between Auto-refresh and Rebuild Tree all bases are covered. Maybe someone not using auto-refresh and/or is using some other combination of settings. Anyway, I'll take your word for it that there is a use case somewhere that is helped by it.
XYplorer Beta Club