Graphics redrawn on Misc when clicking on a greyed-out butto

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
RADiCAL
Junior Member
Junior Member
Posts: 73
Joined: 2003-10-16, 18:57 UTC

Graphics redrawn on Misc when clicking on a greyed-out butto

Post by *RADiCAL »

* 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.
browny
Senior Member
Senior Member
Posts: 361
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

Reproduced in virtualbox with Windows 10 latest insider preview.
TC beta 13 64-bit unpacked from installer (default configuration).

Usually it was a blank group box, only title and Command were drawn; but also it could be as in your pictures.

Edit. I found beta 4; and it has the same issue.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

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.
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
User avatar
jslegers
Member
Member
Posts: 129
Joined: 2003-07-17, 08:13 UTC

Post by *jslegers »

Also confirmed in Windows 10 x64 on Beta 13.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

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)
Unfortuately it only works the first time I Alt-Tab - if I do it a second time the redraw error is there again. :-(
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

29.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)
confirmed fixed this time in TC9b17 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
Post Reply