[8.0ß8-x64] Click on autocomplete element launches operation
Moderators: Hacker, petermad, Stefan2, white
[8.0ß8-x64] Click on autocomplete element launches operation
1. Start TC with empty INI.
2. Navigate to any file, press F5.
3. In the destination editbox start typing something like c:\ — autocomplete dropdown list appears.
4. In the autocomplete list click on any subdirectory element with the left mouse button.
5. The file is immediately copied into the directory we clicked instead of just pasting the path into the editbox.
2. Navigate to any file, press F5.
3. In the destination editbox start typing something like c:\ — autocomplete dropdown list appears.
4. In the autocomplete list click on any subdirectory element with the left mouse button.
5. The file is immediately copied into the directory we clicked instead of just pasting the path into the editbox.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately you will have to live with that - I have seen it too, but couldn't find a way to prevent it. The click is forwarded to the edit control.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I don't get it. How forwarding a click into the edit control could start the copying operation?ghisler(Author) wrote:Unfortunately you will have to live with that - I have seen it too, but couldn't find a way to prevent it. The click is forwarded to the edit control.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem is that Windows itself sends a VK_RETURN key message when you click on such an entry. It's very difficult to distinguish that from a real ENTER pressed in that edit box. I have tried something now in beta 9, but it's not sure that it will work in all cases...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I see. Thanks for the fix.
I tested the version 8.0β9: Copy/Move and command line work fine now. Probably, it's worth searching through code where autocomplete is used and implementing the same solution.
Quick check revealed the following places where this problem is still present: Split file, Combine file, Edit buttonbar, Edit Starter menu, File encode.
I tested the version 8.0β9: Copy/Move and command line work fine now. Probably, it's worth searching through code where autocomplete is used and implementing the same solution.
Quick check revealed the following places where this problem is still present: Split file, Combine file, Edit buttonbar, Edit Starter menu, File encode.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for confirming the fix. Since it's quite complex, I don't want to spread it to many other dialogs yet until I know that it works correctly in all situations.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
OK, I'll keep an eye on it and try to test it thoroughly. For now, single left-button click and selecting an element by pressing Enter with different keyboard modifiers work correctly.
I found a couple of different problems though, I'll report them separately.
I found a couple of different problems though, I'll report them separately.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Tested in β11 (sorry, could not find enough time for β10, was very busy at my work), so here's what is still not fixed:
1) cm_EditPath
2) Encode file
3) SyncDirs (when entering path in any of the two path fields)
Everything else seems to work correctly now.
1) cm_EditPath
2) Encode file
3) SyncDirs (when entering path in any of the two path fields)
Everything else seems to work correctly now.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Confirm fixed in 8.0β12.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: