OK becomes Cancel in Click OK when program terminates dialog

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

OK becomes Cancel in Click OK when program terminates dialog

Post by *Hacker »

Hi,
Confirmed bug report from Slovak/Czech forum:

- create test.bat with the following contents:

Code: Select all

pause
- pack it into test.zip
- enter archive, Alt-Enter on test.bat, click Unpack all and execute
- dialog Click OK when program terminates! appears with an OK button
- press any key in the test.bat console window to close it
- the OK in the TC dialog changes to Cancel

The bug is there in 9.10 final as well as 9.11 RC1. Tested on 9.11 RC1 x86 and x64. The bug was not present in 9.0a.
Windows 10.

Thanks to MartinK, the original poster.

Roman
Last edited by Hacker on 2017-10-30, 20:11 UTC, edited 1 time in total.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it, thanks.
Author of Total Commander
https://www.ghisler.com
siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Post by *siealex »

Confirmed also in the Russian version.
We are not so S.M.A.R.T. as we imagine...
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

- press any key in the test.bat console window to close it
- the OK in the TC dialog changes to Cancel
It is not pressing OK in the DOS console per se that causes it - it is when TC's dialog box gets focus that it happens. Try an put focus on the dialog box without closing the DOS console - same result.

It seems that be bug appears the first time in TC 9.10b1 - it is not present in TC 9.0a final
Last edited by petermad on 2017-11-03, 20:28 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's actually a misfeature of the Windows MessageBox itself! When it gets focus, the control ID of the OK button changes to IDCANCEL! TC sees this and retranslates the button. I will change it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 9.12rc2 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Confirmed fixed, thanks.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply