Background transferring and in-place renaming

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Jungle
Member
Member
Posts: 129
Joined: 2005-12-03, 11:18 UTC
Contact:

Background transferring and in-place renaming

Post by *Jungle »

1. Start transferring in background
2. Press Shift+F6 on any file/folder to open in-place editor
3. Wait until transferring is completed

After it in-place editor closes, editing cancels and all changes loses. It happens quite often for me and it's annoying. Of course i dont wait till the end of transfer :) But it always happens suddenly and makes me nervous:)

Thanks.
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

It happens to me all the time.
When some application steals focus from TC editing is canceld. There should be option to handle this.

Also, another suggestion: option to automatically use previous extension. This should not be default behavior, more like, when I press <ENTER> after edit (like now) extension is left alone, but when I press <CTRL>+<ENTER> previous extension is restored.
This is important because it can save us from lot of work when renaming bunch of files.

What do you think guys...
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Post by *X-Byte »

@majkinetor
Press Shift+F6 twice (or twice F2 if you changed the default function key for inplace rename) to select the filename w/o extension.
Press the inplace function key repeatedly to alterante between full name and name w/o extension.

Concerning the cancellation of inplace rename field when losing focus/forced refresh - it's also annoying for me. But I guess it's a general Windows problem. This happens to all inplace edit fields in Windows, so I doubt there can be done anything about it.
Only the forced refresh after background file operations might be altered by Christian Ghisler to wait until inplace editing has been finished by the user.
User avatar
frenky
Senior Member
Senior Member
Posts: 250
Joined: 2005-07-30, 19:36 UTC

Post by *frenky »

Select root folder [..] and file you want to rename.
Window will pop up...

Someone wrote this nice script exploiting this "feature":

http://www.ghisler.ch/wiki/index.php/AutoHotkey:_Inplace_rename_with_dialog
Ambiguity succeeds where honesty dares not venture.
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

X-Byte wrote:Press Shift+F6 twice
Great news.

Loosing editing is not genearal Win problem. It is up to application.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

majkinetor wrote:
X-Byte wrote:Press Shift+F6 twice
Great news.

Loosing editing is not genearal Win problem. It is up to application.
Do you actually know any applicatin that keeps the changes after unfocus - refocus it?

I think the filelist has to be actualized each time the App gets focus again, because otherwise you can get serious trouble by trying to rename a file that has been renamed/deleted/moved by some other Application in the meanwhile.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Jungle
Member
Member
Posts: 129
Joined: 2005-12-03, 11:18 UTC
Contact:

Post by *Jungle »

Sheepdog wrote:I think the filelist has to be actualized each time the App gets focus again, because otherwise you can get serious trouble by trying to rename a file that has been renamed/deleted/moved by some other Application in the meanwhile.

sheepdog
I think it's not hard to handle. Here is an example solution as i see it.

When a user starts in-place renaming...
1. current name is stored into buffer_1 and FLAG_RENAME is set to TRUE.

When he changes the text...
2. it is stored into buffer_2.

If renaming was successful (ENTER pressed etc)...
3. all buffers are cleared and FLAG_RENAME is set to FALSE.

After actualizing (we know that in-place editor was closed) program checks whether FLAG_RENAME is FALSE. If so - there is nothing to do. Otherwise program checks whether file/folder with name stored in buffer_1 exists. If it not exists then go to step 3. If it exists...

4. program goes to that file/folder position, opens in-place editor, copies text from buffer_2 there and continues its work as it always does. And then step 3 again.

Thanks.
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

Do you actually know any applicatin that keeps the changes after unfocus - refocus it?
Why do we need this comparison? We are trying to make something good, not to learn from ignorance of others.
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
Post Reply