Solved [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
Moderators: Hacker, petermad, Stefan2, white
- Elwin_Ransom
- Junior Member
- Posts: 38
- Joined: 2022-07-31, 18:14 UTC
- Location: Perelandra
Solved [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
Steps to reproduce:
1) Place the cursor on the command line, type cm_exit 1.
2) Double click on cm_exit 1.
3) Expected: command execution, program restart.
4) Instead: nothing happens, but if you now close TC with the red Close button in the corner of the window, the program will restart.
1) Place the cursor on the command line, type cm_exit 1.
2) Double click on cm_exit 1.
3) Expected: command execution, program restart.
4) Instead: nothing happens, but if you now close TC with the red Close button in the corner of the window, the program will restart.
Last edited by Elwin_Ransom on 2022-10-10, 22:51 UTC, edited 1 time in total.
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
The command line is a text field. Double-clicking on text within that field is supposed to select that word that's been clicked on. At least that's what I expect. Why do you expect TC to execute that command? Is it just to confirm the command? If so, just press Enter (it's a command line, so I don't think it's that far fetched).
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
Because it works that way.
Issue confirmed.
And when I type dir and hold Shift and double-click, a command prompt is opened on top of TC, but TC is active. So if I press Alt+F4 then TC is closed.
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
OK, it seems you're right. Well, I didn't expect this behavior at all. And honestly, I don't see a reason to use the mouse to confirm a command.
Anyway, bug confirmed. cm_Exit alone (without parameter) is the same.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- Elwin_Ransom
- Junior Member
- Posts: 38
- Joined: 2022-07-31, 18:14 UTC
- Location: Perelandra
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
This can be useful when you use copy/paste. You hold the mouse with your first hand, Ctrl+C some command in the text, move the cursor to the command line, Ctrl+V, double-click.Dalai wrote:I don't see a reason to use the mouse to confirm a command
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
These commands also don't wörk with double-click in the command-line:
and of course these - but that's to be expected:
Code: Select all
cm_Minimize
cm_Maximize
cm_Restore
and of course these - but that's to be expected:
Code: Select all
cm_ClearCmdLine
cm_NextCommand
cm_PrevCommand
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
Sorry, there are no plans to support this.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
So only the weirder case of restarting TC by clicking the close button is supported?
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
TC posts a message WM_SYSCOMMAND, SC_CLOSE to itself in both cases, but the message never arrives when using the double click. I could not find any reason for this to happen, so it will not be supported, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
But can the command be disabled (do nothing) when people use double-click?
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
I found a solution: it seems to work when I call "Close" instead of posting WM_SYSCOMMAND, SC_CLOSE. I hope that this doesn't have any negative side effects. I will not change the other system commands for now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
Confirmed fixed in TC 10.52rc2histpry.txt wrote:10.10.22 Fixed: CM_EXIT didn't work when starting command line via double click instead of Enter (32/64)

Last edited by petermad on 2022-10-10, 23:06 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
If you mean 10.52rc2 then confirmed

- Elwin_Ransom
- Junior Member
- Posts: 38
- Joined: 2022-07-31, 18:14 UTC
- Location: Perelandra
Re: [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
Everything is fine now. Thanks for the fix.
Re: Solved [TC 10.52rc1] Double-clicking cm_exit 1 at the command line does not work
2white

I have fixed the fixed comment nowIf you mean 10.52rc2 then confirmed

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar