Feature request: make the color of the cursor of the inactive panel setable

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
SSc
Junior Member
Junior Member
Posts: 33
Joined: 2015-10-27, 10:12 UTC
Location: Karlsruhe

Feature request: make the color of the cursor of the inactive panel setable

Post by *SSc » 2019-10-18, 08:56 UTC

First of all many thanks to Mr. Ghisler for the 9.50 Beta 1 (and especially the Dark Mode). Very nice inceed!

The Dark Mode brings me to an old topic for which I would like to submit a suggestion for improvement. In Dark Mode I personally find the frame color of the cursor line of the inactive panel too bright. Sometimes it happens to me that I identify the inactive panel optically as an active panel.

It would therefore be great if you could set the frame color of the cursor line of the inactive panel yourself (an ini entry would be completely sufficient for me). The screenshot will hopefully make it clear what I mean

Thanks for listening,
Stefan

Image: https://ibb.co/9bpw1kp

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

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *petermad » 2019-10-18, 14:57 UTC

You can control it with the parameter InactiveFocus
InactiveFocus=0 Set to 1 or RGB value (see description of BackColor below) to show cursor in the target panel too. Accepts hex in form $BBGGRR.
Add $1000000 = dashes, $2000000=dashes/dots, $3000000=solid frame
I recommend InactiveFocus=1 - then you will have a dashed outline where the color is reverted in Dark Mode - otherwise you will have to find a color that works in both Dark and Normal mode (in case you till wants to also use Normal Mode).
Last edited by petermad on 2019-10-18, 19:36 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b3 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
SSc
Junior Member
Junior Member
Posts: 33
Joined: 2015-10-27, 10:12 UTC
Location: Karlsruhe

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *SSc » 2019-10-18, 16:01 UTC

Brilliant, thanks a lot! That's exactly what I needed! 👍

User avatar
Usher
Power Member
Power Member
Posts: 588
Joined: 2011-03-11, 10:11 UTC

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *Usher » 2019-10-21, 22:22 UTC

Still there should be separate settings for InactiveFocus in dark mode:
1. Properly set dark mode IS NOT just simple reversing colors and reusing font settings. Many people need to set bold or larger font in dark mode to keep good visibility. It also means, that they may use different colors for active/inactive cursor.
2. In older Windows people will probably set manually separate themes for normal and dark and modes so all colors, including InactiveFocus, should be defined separately.
3. There is NO reason to exclude ANY color setting from availability in any mode or in GUI configuration. On the contrary, separate settings for active/inactive cursor in bothe modes are needed for completeness.
Regards from Poland
Andrzej P. Wozniak

polle452
Junior Member
Junior Member
Posts: 27
Joined: 2013-10-09, 20:40 UTC

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *polle452 » 2019-10-24, 14:18 UTC

It looks like InactiveFocus only works if placed in the [Configuration] section of wincmd.ini.
Moving InactiveFocus inside the [Colors]&[ColorsDark] sections should take care of the InactiveFocus color in normal vs dark mode.
Hopefully this would also work if one uses the RedirectSection=%COMMANDER_INI%-%PROCESSOR_ARCHITECTURE% allows for color selection(s) based upon CPU type.

User avatar
Usher
Power Member
Power Member
Posts: 588
Joined: 2011-03-11, 10:11 UTC

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *Usher » 2019-10-24, 18:36 UTC

2polle452
Do read carefully, please. It's a FEATURE REQUEST here. We know that currently we have InactiveFocus in [Configuration] section, but we don't like such a common option. Redirection won't help, it will stay a stranger in the night.
We want to have separate options InactiveFocusColor in [Colors] section and InactiveFocusColorDark in [ColorsDark] section.
Regards from Poland
Andrzej P. Wozniak

polle452
Junior Member
Junior Member
Posts: 27
Joined: 2013-10-09, 20:40 UTC

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *polle452 » 2019-10-24, 20:06 UTC

2Usher
I think my 2nd line above, states about the same - short some specific names.
I'm not particularly fond of Dark Mode; but I use separate background and other colors based upon x86/64 version of TC. This is my reason to mention the Redirect.
All in all, I believe we are on the same page.

User avatar
Usher
Power Member
Power Member
Posts: 588
Joined: 2011-03-11, 10:11 UTC

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *Usher » 2019-10-25, 00:16 UTC

2polle452
I see. I proposed names which should be easy understood and follow the rules for names used in [Colors*] sections.
Regards from Poland
Andrzej P. Wozniak

User avatar
MVV
Power Member
Power Member
Posts: 8397
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Feature request: make the color of the cursor of the inactive panel setable

Post by *MVV » 2019-10-25, 05:44 UTC

I agree that InactiveFocus should be added to [Colors] section, so similar option would appear in [ColorsDark] section. Old one in [Configuration] section may be left for compatibility and used if new one is not set.

Post Reply