Graphics redrawn on Misc when clicking on a greyed-out butto
Moderators: Hacker, petermad, Stefan2, white
Graphics redrawn on Misc when clicking on a greyed-out butto
* Reproduction is easy.
Version: 9.0 beta13
OS: Win10 x64
Total Commander EXE: x64
1. Go to Configuration -> Options -> Misc. (initial state of the windows as you can see in "1_" prefix screenshot).
Image: https://s13.postimg.org/nhv7yfcsn/1_misc_ok.png
2. Click on one of the greyed-out fields/buttons (the magnifying glass, the check mark sign or the "Default command (no mapping)" field.
3. Press ALT+TAB to move focus to another window.
4. Press ALT+TAB again to focus back in Total Commander window.
Behold and see screenshot with "2_" prefix.
Image: https://s13.postimg.org/83m4580lj/2_misc_not_ok_just_alt_tab.png
5. Move the mouse without clicking as you over the area where the fields I mentioned used to be and you will see you are starting to draw some of the fields that were disappeared (see screenshot with "3_" prefix).
Image: https://s9.postimg.org/8b98iem4v/3_misc_not_ok_drawing_mouse.png
Important note: if you will not click the greyed-out fields, and then press ALT+TAB, you will not be able to reproduce the bug.
Version: 9.0 beta13
OS: Win10 x64
Total Commander EXE: x64
1. Go to Configuration -> Options -> Misc. (initial state of the windows as you can see in "1_" prefix screenshot).
Image: https://s13.postimg.org/nhv7yfcsn/1_misc_ok.png
2. Click on one of the greyed-out fields/buttons (the magnifying glass, the check mark sign or the "Default command (no mapping)" field.
3. Press ALT+TAB to move focus to another window.
4. Press ALT+TAB again to focus back in Total Commander window.
Behold and see screenshot with "2_" prefix.
Image: https://s13.postimg.org/83m4580lj/2_misc_not_ok_just_alt_tab.png
5. Move the mouse without clicking as you over the area where the fields I mentioned used to be and you will see you are starting to draw some of the fields that were disappeared (see screenshot with "3_" prefix).
Image: https://s9.postimg.org/8b98iem4v/3_misc_not_ok_drawing_mouse.png
Important note: if you will not click the greyed-out fields, and then press ALT+TAB, you will not be able to reproduce the bug.
I can confirm the bug for TC9b13 x64 under Windows 10 x64
It does NOT occur in TC9b13 32bit under Windows 10 and it does NOT occur under Windows 7 or Windows 8.1.
It does NOT occur in TC9b13 32bit under Windows 10 and it does NOT occur under Windows 7 or Windows 8.1.
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
I can still reproduce this bug in TC9b14 x64 

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: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I could not find the reason (nor a solution) for this odd behaviour. It only occurs on Windows 10, and goes back to Total Commander 8 (and maybe even older). The controls are erased by the huge Alt+Tab window in Windows 10, and the controls don't seem to get redraw messages from Windows. Windows+Tab doesn't seem to be affected.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Unfortuately it only works the first time I Alt-Tab - if I do it a second time the redraw error is there again.28.09.16 Fixed: Windows 10 bug: Alt+Tab away from Configuration - Options - Misc after clicking on a disabled control in that dialog caused redraw errors (64)

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: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Damn you Microsoft, these Windows 10 bugs are really frustrating! A few hours later I can say that the only way to avoid it is to set the focus elsewhere (e.g. on the list of pages) when Alt-Tabbing away from the dialog. Oh well...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
confirmed fixed this time in TC9b17 x6429.09.16 Fixed: Windows 10 bug: Alt+Tab away from Configuration - Options - Misc after clicking on a disabled control in that dialog still caused redraw errors -> we need to focus a different control (list of pages) (64)

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