Renaming Extentions problem

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

A.B.Ames
Member
Member
Posts: 33
Joined: 2004 Aug 07, 20:10

Renaming Extentions problem

Post by A.B.Ames »

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
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

sorry i can't see that
how can you dismiss the dialog without lifting the mouse button?
A.B.Ames
Member
Member
Posts: 33
Joined: 2004 Aug 07, 20:10

Post by A.B.Ames »

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
A.B.Ames
Member
Member
Posts: 33
Joined: 2004 Aug 07, 20:10

Post by A.B.Ames »

P.S.

It also occurs renaming a read only file anyway (name or extension) and using mouse to deselect after because the read only files pop up a warning box too.

Hope this helps
A.B.Ames
User avatar
vserghi
Silver Member
Silver Member
Posts: 309
Joined: 2002 Mar 19, 08:54
Location: UK

Post by vserghi »

Well done, I've seen this on my system, but thought that it was just my PC playing up.

I can confirm that this is a problem on Win98SE also.
Vas
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

now i see
any reason why you stop the rename with a mouse click rather than pressing <enter>? you wouldn't be having problems then!
User avatar
vserghi
Silver Member
Silver Member
Posts: 309
Joined: 2002 Mar 19, 08:54
Location: UK

Post by vserghi »

I find it is a natural thing to do when I want to use the mouse for something else straight after.
Vas
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

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).   :shock:  

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.  
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

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 :?
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i have to apologize for the inconvenience caused but this is all down to the list control, surely!

since renaming inherently involves the keyboard, surely hitting another rather large key called enter isn't such a grave calamity ;)
song
Member
Member
Posts: 18
Joined: 2004 Jul 13, 05:22
Location: China

~~!

Post by song »

Why doesn't join 2xExplorer Alt + Num+function?
I thought it also is quickly accurate!
A.B.Ames
Member
Member
Posts: 33
Joined: 2004 Aug 07, 20:10

Post by A.B.Ames »

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
Starsurfer
Bronze Member
Bronze Member
Posts: 109
Joined: 2002 Feb 23, 23:51
Location: Atlantis

Post by Starsurfer »

never happened to me before maybe cause i press enter,..but i tried what
A.B.Ames said, & it happens on my Win98 system too hehe :) (funny!)