Feature Request: File/Directory Unlocking
Moderators: fgagnon, nikos, Site Mods
-
- New Member
- Posts: 5
- Joined: 2004 Aug 05, 17:45
Feature Request: File/Directory Unlocking
One of the differences between xplorer2 and Windows Explorer is that xplorer2 leaves directories open while they are being viewed. Windows Explorer peeks at what is there, refreshes the view of the directory, then closes and unlocks the directory. This second behavior would be very handy in a broadly utilized tool like xplorer2.
Although keeping the directory open perhaps provides some limited efficiency advantages for xplorer2, it really becomes a huge irritation if you are using xplorer2 while you are developing software or doing any major IT sort of thing.
For example, I really like using xplorer2 to browse output build directories. But then I like to blow them away (outside xplorer2) with "make clean" or "ant clean" etc.
And then, guess what, I have an open xplorer2 browser on some build directory, and the make/ant operation complains and fails to do its job. Instead, I think xplorer2 should do what Windows Explorer does, closing the connection to the directory when not in use, and if the directory disappears display something like "directory deleted".
This problem has been mentioned several times before by other people. Nikos, any chance you can fix it for a long-time user who paid the pro fee?
Dan Greening
Although keeping the directory open perhaps provides some limited efficiency advantages for xplorer2, it really becomes a huge irritation if you are using xplorer2 while you are developing software or doing any major IT sort of thing.
For example, I really like using xplorer2 to browse output build directories. But then I like to blow them away (outside xplorer2) with "make clean" or "ant clean" etc.
And then, guess what, I have an open xplorer2 browser on some build directory, and the make/ant operation complains and fails to do its job. Instead, I think xplorer2 should do what Windows Explorer does, closing the connection to the directory when not in use, and if the directory disappears display something like "directory deleted".
This problem has been mentioned several times before by other people. Nikos, any chance you can fix it for a long-time user who paid the pro fee?
Dan Greening
-
- Site Admin
- Posts: 16295
- Joined: 2002 Feb 07, 15:57
- Location: UK
(how many times i've answered this?)
the difference between x2 and explorer is that x2 sets the current directory on the folder being browsed. That's how you can execute commands on the files you see without path information. So it is not just a thing of "fixing it". This is by design. If i remove it then many things will stop working
the difference between x2 and explorer is that x2 sets the current directory on the folder being browsed. That's how you can execute commands on the files you see without path information. So it is not just a thing of "fixing it". This is by design. If i remove it then many things will stop working
-
- New Member
- Posts: 5
- Joined: 2004 Aug 05, 17:45
If you answer the same request many times, then perhaps what is being asked is important to a major subset of your customers.
It's worth taking a few moments to figure out what the user requirements are, seeing whether you might need to handle two different classes of customers by providing a user-option, or whether by some thoughtful algorithm you might satisfy both.
Obviously, since many people are asking for this, there is something important here. You can't just ignore it, just because it doesn't seem important to you. I almost didn't buy xplorer2 because it had this behavior. Perhaps if you figure out a good solution, you'll get many more customers.
Or perhaps you need to provide something in an FAQ that explains what great advantages you get in exchange for this disadvantage, and how to use them. I, for one, don't ever use this command feature you refer to, as far as I know.
It's worth taking a few moments to figure out what the user requirements are, seeing whether you might need to handle two different classes of customers by providing a user-option, or whether by some thoughtful algorithm you might satisfy both.
Obviously, since many people are asking for this, there is something important here. You can't just ignore it, just because it doesn't seem important to you. I almost didn't buy xplorer2 because it had this behavior. Perhaps if you figure out a good solution, you'll get many more customers.
Or perhaps you need to provide something in an FAQ that explains what great advantages you get in exchange for this disadvantage, and how to use them. I, for one, don't ever use this command feature you refer to, as far as I know.
-
- Site Admin
- Posts: 16295
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
- Bronze Member
- Posts: 142
- Joined: 2003 Apr 15, 15:39
- Location: Boulder, Colorado
-
- Site Admin
- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
- Site Admin
- Posts: 16295
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
- Site Admin
- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
okay, the quick & dirty 'fix' is IN for v1.0.0.3
(2^15 bit [= 32768] in binMiscOptions key)
But it's notably dirty in that while it unlocks the folder to permit deletion, it doesn't check to see if other apps have a file open in the folder, and deletes the folder anyway.
(except open msOffice files are recognized, & do inhibit folder deletion)
If that's the way some folks want it, I suppose it's ok;
but I certainly won't be using that setting on a regular basis.

(2^15 bit [= 32768] in binMiscOptions key)
But it's notably dirty in that while it unlocks the folder to permit deletion, it doesn't check to see if other apps have a file open in the folder, and deletes the folder anyway.

(except open msOffice files are recognized, & do inhibit folder deletion)
If that's the way some folks want it, I suppose it's ok;
but I certainly won't be using that setting on a regular basis.
-
- New Member
- Posts: 5
- Joined: 2004 Aug 05, 17:45
Just want to make sure the user requirement is clear.
It is not that I want to delete the folder from xplorer2. The folder is being deleted from OUTSIDE xplorer2 by another application, such as "make clean" or "ant clean". You are just keeping xplorer2 from interfering with those outside applications when xplorer2 is browsing a subdirectory that is being deleted by that OUTSIDE application.
If running apps are using a file inside a directory being deleted, I think you will find that the folder cannot be deleted anyway. Open files in a directory or sub-directory will prevent that directory from being deleted.
If you make this option available to others, I think you'll find people will want it as the default behavior. I'll put $20 that a survey of users will prefer this new behavior to keeping the directory open.
And THANK YOU VERY MUCH. I am hugely grateful that you heard my pleas. With this change I can likely get rid of Windows Explorer.
THANK YOU THANK YOU THANK YOU!
Dan Greening
It is not that I want to delete the folder from xplorer2. The folder is being deleted from OUTSIDE xplorer2 by another application, such as "make clean" or "ant clean". You are just keeping xplorer2 from interfering with those outside applications when xplorer2 is browsing a subdirectory that is being deleted by that OUTSIDE application.
If running apps are using a file inside a directory being deleted, I think you will find that the folder cannot be deleted anyway. Open files in a directory or sub-directory will prevent that directory from being deleted.
If you make this option available to others, I think you'll find people will want it as the default behavior. I'll put $20 that a survey of users will prefer this new behavior to keeping the directory open.
And THANK YOU VERY MUCH. I am hugely grateful that you heard my pleas. With this change I can likely get rid of Windows Explorer.
THANK YOU THANK YOU THANK YOU!
Dan Greening
-
- Site Admin
- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
I understand -- my point was that not all apps notify the shell the same way when they have a file open. In which case the folder can STILL be deleted.
(but then, I suppose it's really not an x2 issue, in spite of my complaint, above. [edit]NO, a double check shows there IS an x2 issue: folder can be deleted with open file(s) if GIOPT_NOSETCURDIR is set, but not if it is not. [/edit]
)


-
- New Member
- Posts: 5
- Joined: 2004 Aug 05, 17:45
-
- Site Admin
- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
- New Member
- Posts: 5
- Joined: 2004 Aug 05, 17:45
Interesting. I guess it's a haphazard thing. Probably some app developers think it's important to keep the file in consideration from being deleted or modified, others not. Most likely the developers went through (if they thought about it all) what we are going through now: Do you want your users to be able to delete the file from underneath the application or not?
Anyway, with xplorer2, I really appreciate that I now have more flexibility. I don't really need xplorer2 to "protect me from myself".
Anyway, with xplorer2, I really appreciate that I now have more flexibility. I don't really need xplorer2 to "protect me from myself".
-
- Site Admin
- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
- Member
- Posts: 13
- Joined: 2005 Aug 16, 08:07
Yes, it's an old discussion, but I just have to report this again since it will prevent me of buying this program...
xplorer HANGS when I try to let it delete a folder it has currently open!
I find two things very annoying:
- why the heck does it try to delete while it knows it has the folder locked?
- why is the folder locked when the USER tries to delete it?
This is a major bug, despite everyone says. I would think the correct programming order when the user tries to delete a folder from the tree should be this:
- unlock the 'current directory'
- remove folder
- set the new 'current directory' to the previous or next folder in the tree, as opposed to an option set by the user.
Yes, I know there is an option to remove the 'current directory', so that it is not locked, however, then there is no 'corrent folder' on any (dos) command issued.
xplorer HANGS when I try to let it delete a folder it has currently open!
I find two things very annoying:
- why the heck does it try to delete while it knows it has the folder locked?
- why is the folder locked when the USER tries to delete it?
This is a major bug, despite everyone says. I would think the correct programming order when the user tries to delete a folder from the tree should be this:
- unlock the 'current directory'
- remove folder
- set the new 'current directory' to the previous or next folder in the tree, as opposed to an option set by the user.
Yes, I know there is an option to remove the 'current directory', so that it is not locked, however, then there is no 'corrent folder' on any (dos) command issued.