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, sheep, Hacker, Stefan2

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

OK becomes Cancel in Click OK when program terminates dialog

Post by *Hacker » 2017-10-27, 18:35 UTC

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: 36504
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-10-30, 11:33 UTC

I will check it, thanks.
Author of Total Commander
http://www.ghisler.com

siealex
Senior Member
Senior Member
Posts: 222
Joined: 2009-03-22, 16:36 UTC

Post by *siealex » 2017-10-31, 19:16 UTC

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: 8060
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-10-31, 19:31 UTC

- 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
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

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

Post by *ghisler(Author) » 2017-11-01, 10:21 UTC

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
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8060
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-11-03, 17:30 UTC

Confirmed fixed in TC 9.12rc2 :-)
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

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

Post by *Hacker » 2017-11-03, 20:25 UTC

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