select wrong text when double clicking on copy file dialog

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
yxjoey
Junior Member
Junior Member
Posts: 6
Joined: 2010-07-11, 16:24 UTC

select wrong text when double clicking on copy file dialog

Post by *yxjoey »

When the names of parent folders are number only, double click on the filename in copy file dailog selects wrong part of the filename. This makes us difficult when we want to rename the filename.
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sorry but don't understand. Please desrribe step-by-step.

If you need to rename file when copying, just press F5 again after pressing it for opening copy dialog.

Mouse double-click doesn't select filename in editbox, it just selects word under mouse cursor (character sequence between spaces).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You mean in F5 copy dialog? Double clicking on the name always selects the entire line (path+file name). Please explain what you mean.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler(Author) wrote:Double clicking on the name always selects the entire line (path+file name).
Only if line have no spaces. :)
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

MVV wrote:
ghisler(Author) wrote:Double clicking on the name always selects the entire line (path+file name).
Only if line have no spaces. :)
Only if line have no spaces and some other special characters :wink:
yxjoey
Junior Member
Junior Member
Posts: 6
Joined: 2010-07-11, 16:24 UTC

Post by *yxjoey »

ghisler(Author) wrote:You mean in F5 copy dialog? Double clicking on the name always selects the entire line (path+file name). Please explain what you mean.
1. Assume you are copying "test.txt" file to "D:\abc\123\456\test.txt", when you double click "test", it will select "123\456\test.txt".
2. Assume you are copying "test.txt" file to "D:\abc\123\efg\test.txt", when you double click "test", it will only select "test.txt".

I think "numbers" should not be included in selection, am I right?

Thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - TC doesn't do that by itself, it's all handled by the Windows edit control...
Author of Total Commander
https://www.ghisler.com
yxjoey
Junior Member
Junior Member
Posts: 6
Joined: 2010-07-11, 16:24 UTC

Post by *yxjoey »

ghisler(Author) wrote:I see - TC doesn't do that by itself, it's all handled by the Windows edit control...
Thanks! At lease F5 solves my problem.
Post Reply