Dark More: Focus doesn't dissappear from command line
Moderators: Hacker, petermad, Stefan2, white
Dark More: Focus doesn't dissappear from command line
I reported this by email, but Christian Ghisler couldn't reproduce this.
To reproduce:
1. Start TC, switch to dark mode.
2. Move mouse pointer over Total Commander's command line:
command line borders will become white.
3. Start moving the pointer to and from command line.
Eventually when mouse pointer will be out of command line, the command line will still have white borders.
Note: such white border disappears if to move mouse pointer again to and from command line, or if TC window size is changed, it is minimized/maximized, or the command line gets covered by other window (if other window covers only part of command line, white border will disappear only for that part after switching from that window to TC).
Reproduced in TC 9.50 beta 10 on Vista 32-bit with classic theme.
To reproduce:
1. Start TC, switch to dark mode.
2. Move mouse pointer over Total Commander's command line:
command line borders will become white.
3. Start moving the pointer to and from command line.
Eventually when mouse pointer will be out of command line, the command line will still have white borders.
Note: such white border disappears if to move mouse pointer again to and from command line, or if TC window size is changed, it is minimized/maximized, or the command line gets covered by other window (if other window covers only part of command line, white border will disappear only for that part after switching from that window to TC).
Reproduced in TC 9.50 beta 10 on Vista 32-bit with classic theme.
Last edited by DrShark on 2019-12-30, 12:21 UTC, edited 1 time in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Dark More: Focus doesn't dissappear from comman line
Thanks for the extra info, that was the problem - Classic theme doesn't know a hover effect in normal mode, so there is no WM_PAINT when the cursor leaves the control. I will have to use a timer to handle this.with classic theme
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Dark More: Focus doesn't dissappear from command line
I can confirm the fix in TC 9.50 beta 11, checked on Vista 32-bit with classic theme.history950.txt wrote:30.12.19 Fixed: Dark mode, classic theme: Moving mouse cursor away from combobox sometimes didn't change the border from focused to normal (32/64)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Dark More: Focus doesn't dissappear from command line
The problem still exists on Windows XP:
* on classic theme moving mouse pointer over command line doesn't change its focus look at all.
* on default XP theme the behavior is the same as was on Vista before beta 11 fix: focused border sometimes does't disappear after moving the pointer away from command line.
* on classic theme moving mouse pointer over command line doesn't change its focus look at all.
* on default XP theme the behavior is the same as was on Vista before beta 11 fix: focused border sometimes does't disappear after moving the pointer away from command line.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Dark More: Focus doesn't dissappear from command line
Sorry, I will not invest any more time in this minor problem just for XP. It's extremely time consuming.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Dark More: Focus doesn't dissappear from command line
On Vista's classic theme you fixed the issue by using timer. Can you simply enable it also for XP's default theme to see what will happen (it's really strange that this timer doesn't work as it should on XP's classic theme, but maybe it at least will work on Luna)?ghisler(Author) wrote: 2020-03-01, 07:50 UTC Sorry, I will not invest any more time in this minor problem just for XP. It's extremely time consuming.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Dark More: Focus doesn't dissappear from command line
I'm already doing the same on Vista and XP, there is no version check (just a check whether classic theme is on or off). So something is different on XP, but it's very time consuming to find out what exactly is different. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Dark More: Focus doesn't dissappear from command line
As far as I understand, XP's defalut Luna theme is not recognized by TC as classic, and since the behavior there is the same as on Vista's classic theme BEFORE adding a timer, I wonder how TC deals with mouse hovering the command line in this case...ghisler(Author) wrote: 2020-03-02, 11:40 UTCthere is no version check (just a check whether classic theme is on or off).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708