Renaming Extentions problem
Moderators: fgagnon, nikos, Site Mods
-
A.B.Ames
- Member

- Posts: 33
- Joined: 2004 Aug 07, 20:10
Renaming Extentions problem
Hi all,
After renaming a registered file extension(ie. .txt, htm, zip, etc.) you get a popup warning window.
If you click on this then the mouse cursor is stuck on lasso select mode (as if the left mouse button is being held down) until clicked again.
But if you press enter or space on popup window mouse cursor is ok when window disappears.
this also occurs with any other Windows popup mesages but they happen less often.
Is it just me or do others have this problem?
Thx Again
A.B.Ames
After renaming a registered file extension(ie. .txt, htm, zip, etc.) you get a popup warning window.
If you click on this then the mouse cursor is stuck on lasso select mode (as if the left mouse button is being held down) until clicked again.
But if you press enter or space on popup window mouse cursor is ok when window disappears.
this also occurs with any other Windows popup mesages but they happen less often.
Is it just me or do others have this problem?
Thx Again
A.B.Ames
-
nikos
- Site Admin

- Posts: 16401
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
A.B.Ames
- Member

- Posts: 33
- Joined: 2004 Aug 07, 20:10
Hi nikos,
not sure what you meant about dismissing dialog without lifting mouse, but usually i can press space bar or enter to select yes and it clears.
After experimenting with it some more I think i've narrowed it down better and It happens both on my NT and 2k systems.
I'll use test.exe for an example:
Select to rename it anyway you wish (hot key or slow double click).
Now rather than rename the file name, just rename the extension.
test.exe to test.tst
Now It only happens if you use the mouse to deselect by clicking on a blank spot in the pane.
Then a warning popup says:
"If you change the file extension, the file may become unusable.
Are you sure you want to change it?"
Once you select yes or no and move your cursor back to the pane it acts as if the button is held down to select mutiple files (lasso select) even though you haven't touched the mouse buttons.
I was incorrect before thinking it was the clicking of the message box that cause it, it's really the clicking to deselect the renaming of the file while a message box is appearing.
So the trigger seems to be left or right clicking on a blank area of the file pane as system popup box occurs, this happens each time you would rename an .exe to something else and use the mouse to deselect after renamed.
Hope I explained better, sorry for confusion.
Thx Again
A.B.Ames
not sure what you meant about dismissing dialog without lifting mouse, but usually i can press space bar or enter to select yes and it clears.
After experimenting with it some more I think i've narrowed it down better and It happens both on my NT and 2k systems.
I'll use test.exe for an example:
Select to rename it anyway you wish (hot key or slow double click).
Now rather than rename the file name, just rename the extension.
test.exe to test.tst
Now It only happens if you use the mouse to deselect by clicking on a blank spot in the pane.
Then a warning popup says:
"If you change the file extension, the file may become unusable.
Are you sure you want to change it?"
Once you select yes or no and move your cursor back to the pane it acts as if the button is held down to select mutiple files (lasso select) even though you haven't touched the mouse buttons.
I was incorrect before thinking it was the clicking of the message box that cause it, it's really the clicking to deselect the renaming of the file while a message box is appearing.
So the trigger seems to be left or right clicking on a blank area of the file pane as system popup box occurs, this happens each time you would rename an .exe to something else and use the mouse to deselect after renamed.
Hope I explained better, sorry for confusion.
Thx Again
A.B.Ames
-
A.B.Ames
- Member

- Posts: 33
- Joined: 2004 Aug 07, 20:10
-
vserghi
- Silver Member

- Posts: 309
- Joined: 2002 Mar 19, 08:54
- Location: UK
-
nikos
- Site Admin

- Posts: 16401
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
vserghi
- Silver Member

- Posts: 309
- Joined: 2002 Mar 19, 08:54
- Location: UK
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
Yes, I've seen it too.
& like vserghi, thought it was my system acting up because of dialog box pop-up.
Although the usual way I now finish rename IS with Enter, I sometimes finish the rename action with a mouseclick to select another item, clicking in the blank space to right of Name in Details view to select it.
This is the setup for the MOST annoying result, which ensues when (with mouse already in hand) I click the answer to the Are you sure you want to change it? question, AND those answerbuttons are below the x2 frame. Whichever answer I click I get a shockingly huge lasso selection from the item at former mouse position to the bottom of the folder list (sometimes hundreds of items).
This used to happen regularly, because the mouse action to pick the next item for action is a keystroke more efficient than hitting 'Enter' first.
But I have gradually trained myself to hit Enter, Enter before picking up the mouse for next selection.
(While I have learned to live with the behaviour, it would be really nice to have it fixed.)
[EDIT/ADD:]
I guess that the offending sequence is
+ mousekeydown
+ x2 hand-off to shell to do rename
+ shell puts dialog box in focus
+ mousekeyup (missed by x2 because dialog box has focus)
+ user moves mouse to dialogbox button
+ mousekeydown
+ shell shows buttondown
+ mousekeyup
+ shell accepts choice & releases focus
+ x2 'sees' new mouse coordinates & extends lasso accordingly
So a 'solution' might be x2 to force a mousekeyup before handoff to shell for remane.
& like vserghi, thought it was my system acting up because of dialog box pop-up.
Although the usual way I now finish rename IS with Enter, I sometimes finish the rename action with a mouseclick to select another item, clicking in the blank space to right of Name in Details view to select it.
This is the setup for the MOST annoying result, which ensues when (with mouse already in hand) I click the answer to the Are you sure you want to change it? question, AND those answerbuttons are below the x2 frame. Whichever answer I click I get a shockingly huge lasso selection from the item at former mouse position to the bottom of the folder list (sometimes hundreds of items).
This used to happen regularly, because the mouse action to pick the next item for action is a keystroke more efficient than hitting 'Enter' first.
But I have gradually trained myself to hit Enter, Enter before picking up the mouse for next selection.
(While I have learned to live with the behaviour, it would be really nice to have it fixed.)
[EDIT/ADD:]
I guess that the offending sequence is
+ mousekeydown
+ x2 hand-off to shell to do rename
+ shell puts dialog box in focus
+ mousekeyup (missed by x2 because dialog box has focus)
+ user moves mouse to dialogbox button
+ mousekeydown
+ shell shows buttondown
+ mousekeyup
+ shell accepts choice & releases focus
+ x2 'sees' new mouse coordinates & extends lasso accordingly
So a 'solution' might be x2 to force a mousekeyup before handoff to shell for remane.
-
JRz
- Gold Member

- Posts: 560
- Joined: 2003 Jun 10, 23:19
- Location: NL
Even worse.
When you click on another file to finish the rename action and this thing happens and then dismiss the dialog and move your mouse to the other pane (for instance), a drag and drop action is started :evil:
It seems like it thinks you want to move the clicked file/folder and gives the same context menu as if you dragged using the right mouse button
When you click on another file to finish the rename action and this thing happens and then dismiss the dialog and move your mouse to the other pane (for instance), a drag and drop action is started :evil:
It seems like it thinks you want to move the clicked file/folder and gives the same context menu as if you dragged using the right mouse button
Dumb questions are the ones that are never asked 
-
nikos
- Site Admin

- Posts: 16401
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
A.B.Ames
- Member

- Posts: 33
- Joined: 2004 Aug 07, 20:10
Hi Nikos,
Sorry, never meant to cause any headaches, no worry here as it is easy for me to work around as you mentioned. I just though it was something simple that could be solved in the future with some kind of wait/pause code that gives the mouse button function time to complete before windows system detects the change and pops up the message box. It seems to occur because the mouse release and message box happen at precisely the same time locking the mouse state in X2 as is (button down) till a new mouse state changes it. Maybe even a small pause (milliseconds) between what is done in Xplorer2 and when it sends that info to the windows system.
I'm not a programmer so I have no idea, I've just done some basic scripting and metioned it because i've had somewhat similar things occur that were fixed by adding small waits between one function not finishing completely before another started.
Thx Much for you info
Take Care
A.B.Ames
Sorry, never meant to cause any headaches, no worry here as it is easy for me to work around as you mentioned. I just though it was something simple that could be solved in the future with some kind of wait/pause code that gives the mouse button function time to complete before windows system detects the change and pops up the message box. It seems to occur because the mouse release and message box happen at precisely the same time locking the mouse state in X2 as is (button down) till a new mouse state changes it. Maybe even a small pause (milliseconds) between what is done in Xplorer2 and when it sends that info to the windows system.
I'm not a programmer so I have no idea, I've just done some basic scripting and metioned it because i've had somewhat similar things occur that were fixed by adding small waits between one function not finishing completely before another started.
Thx Much for you info
Take Care
A.B.Ames
-
Starsurfer
- Bronze Member

- Posts: 109
- Joined: 2002 Feb 23, 23:51
- Location: Atlantis