Page 1 of 1
Process handles on a tab in the hidden pane
Posted: 26 Feb 2015 14:29
by zer0
It appears as though XY keeps several handles on an external drive when it's in a tab in a hidden inactive pane.
To repro:
1. Go Dual Pane and, in the 2nd pane, open a tab to a connected external drive.
2. Go back into your original pane's tab and exit out of Dual Pane mode.
3. Try safely removing the drive and you will be told that it is still in use.
It seems that XY releases handles when switching away from that tab, but not when the pane that tab is in has been hidden. IMO, it's a bug, because pane is the parent of its tabs, so hiding a pane should release those handles. Not doing so doesn't make sense to me and can lead to quite puzzling behaviour where a user is being told that a location is open in XY even though it's really not.
Re: Process handles on a tab in the hidden pane
Posted: 04 Mar 2015 14:24
by admin
The pane exists (specifically in this context: it is auto-refreshed) even if it is not visible.
Re: Process handles on a tab in the hidden pane
Posted: 04 Mar 2015 15:57
by zer0
admin wrote:The pane exists (specifically in this context: it is auto-refreshed) even if it is not visible.
I am not denying that the pane exists. But it doesn't follow that just because something exists, given that it is hidden and not engaged in doing anything in the background (other than refreshing), that it should affect what is going on in the primary pane. Why is it not possible to sever the connection to the tab when hiding a pane and then re-connect (thus refreshing) when it is revealed again? Since it's in the background, a user will be none the wiser and where, if any, is the penalty? As it stands, you want me to reveal the pane, switch to a different tab (or a different location), hide the pane and then eject the device. And that's assuming that I know that a rogue tab in a pane I don't see is the culprit (XY is not going to tell me, is it?). The current functionality seems rather awkward without any obvious (at least to me) benefit.
Re: Process handles on a tab in the hidden pane
Posted: 04 Mar 2015 16:32
by admin
It is, or at least can be, a benefit if the invisible other pane is up-to-date. Otherwise I would have to refresh it each time it is shown -- a clear malefit (is that a word?).
Re: Process handles on a tab in the hidden pane
Posted: 04 Mar 2015 16:58
by zer0
admin wrote:It is, or at least can be, a benefit if the invisible other pane is up-to-date. Otherwise I would have to refresh it each time it is shown -- a clear malefit (is that a word?).
So you would rather refresh it continuously "under the hood" when the pane is hidden than do it ad-hoc when it is revealed? Why do something over and over with no benefit to the user -- the pane is hidden, can't see the updated contents, can't do anything with them -- when it can be done at the point that pane is accessed, thus making it more relevant and as up-to-date as can be?
Re: Process handles on a tab in the hidden pane
Posted: 04 Mar 2015 17:03
by admin
Because I think it's better.
Come on, there are millions of decisions. This one is as old as Dual Pane (v8.00). Accept it.

Re: Process handles on a tab in the hidden pane
Posted: 04 Mar 2015 18:39
by zer0
admin wrote:Come on, there are millions of decisions. This one is as old as Dual Pane (v8.00). Accept it.

I am sorry, but I can't. Usage behaviour changes with time, it's inevitable. Whereas before I may have had DP mode on all the time, I don't need it that way any more. As a user, I don't care how many times a hidden pane is refreshed as long as I see the latest when I reveal it. I start caring when I have to amend the way I use XY to work around its process handles. What's even more infuriating is that, once I eject an external drive, I can go back to its tab (yes, it will say that location is currently not available), hide the pane and then, after I plug the drive back in and reveal the pane, it will show me its contents. I will accept a tweak to disable auto-refresh of the hidden pane, if you are open to that approach, so long as it resolves the problem.