Don't invert text color when using selection color as bg

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Don't invert text color when using selection color as bg

Post by *Lefteous »

Currently there is an option to define a color for selections. This normally affects the font color. When using 'invert selection' this color is used as background color. The font color is just the inverted normal font color (normally white instead of black). This is basically very nice - similar to the new themed cursor. This has some downsides:

1. When using colors per filetype the coloring is gone when the file is selected.
2. As the font color is inverted it's almost impossible to use a lighter color (when using black text on white bg).


So my question is why not allow users to define a background color for selection without inverting the font color?
Last edited by Lefteous on 2016-08-10, 12:31 UTC, edited 2 times in total.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Similarly I would allow an option to draw focus rectangle with font color with inverted cursor) since I always use inverted cursor (since DOS file managers).

With non-inverted cursor there is a strange thing: we can set its style when there is a selection or when it is in inactive panel, but we can't make it solid or set its weight in active panel so it is visible barely.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Here is an example how it looks like when you have a light bg color set for selection:

[img]http://fs5.directupload.net/images/160804/n3j2afbz.png[/img]

Another argument for the suggested behavior is that readability for the file under the cursor is better than on the selected background but still for from good.
Post Reply