Label colors with Themes

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, xnview

Post Reply
jkm
Posts: 110
Joined: Sat May 11, 2024 12:43 am

Label colors with Themes

Post by jkm »

Maybe I'm missing something, but it seems like Label Colors don't really work with Themes well.

So XnViewMP has light and dark themes. That's great. It will also let you select foreground and background colors for labels based on file format. Also great.

But when you switch themes, the background color for the UI changes, obviously. And the colors defined in Label Colors just don't.

Which means if you switch themes, as you might for daytime or nighttime, your label colors look like trash.

Is there a way to set a transparent background color, or otherwise having the label colors adapt based on theme? Or define a 2nd set of colors per theme in the ini file or something?

If not, it would seem Label Colors are just not really compatible with switching themes, if you want things to look decent. Manually and individually changing the colors for 20 file formats any time you switch themes is not practical.

The user seems to be faced with a choice of either not using label colors, or never switching themes. Is there something I'm missing here?

Thanks...
User avatar
xnview
Author of XnView
Posts: 46685
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Label colors with Themes

Post by xnview »

the problem is in dark theme?
Pierre.
jkm
Posts: 110
Joined: Sat May 11, 2024 12:43 am

Re: Label colors with Themes

Post by jkm »

Well, both.

If you make the background color of labels match Light Theme, it doesn't match when you switch to Dark Theme.

If you make the background color of labels match Dark Theme, it doesn't match when you switch to Light Theme.

Since changing the colors of all the items has to be done manually, and it takes so long with many items, the user ends up either disabling this feature, or not switching themes.
jkm
Posts: 110
Joined: Sat May 11, 2024 12:43 am

Re: Label colors with Themes

Post by jkm »

If you wanted to improve this, I can think of two ways.

1. Each color setting has separate color for each theme. But there are three themes plus custom, so maybe not a great idea.

Or

2. Color settings are tied to the theme active when you set them. Load dark theme, set colors as you like. Load light theme, set colors as you like. When you switch back to dark theme, it has the colors you set with dark theme, etc. This would be nice if it worked with custom themes too.

There might need to be an option to just use one set of colors, to preserve existing behavior for people that like it.

I foolishly assumed XnViewMP actually did #2 already until I played with it a bit. It seemed an obvious thing so that’s why I thought I might be misunderstanding something, or there was an option I missed somewhere. :)
User avatar
user0
XnThusiast
Posts: 2543
Joined: Sat May 09, 2015 9:37 am

Re: Label colors with Themes

Post by user0 »

adding 'Presets' functionality to 'Label colors' section will help

though I'm not a big fan of colored labels in general, I would prefer an option to use format color in cell background:
Settings - thumbnails - appearance - improve settings
Post Reply