Using Win98SE, the text color in the active tab comes from my Windows color scheme. The background is a light blue. I haven't seen that color before and don't know where it comes from. It may be built in the xnview.
I see only black in the label of the inactive tabs. Changing my windows color scheme makes no difference in the empty inactive
tab.
Question 1. Is there any way to set the color of the text of the active tab and override the color xnview gets from the Windows color scheme?
Question 2. Is there any way to get something to show in the inactive tabs?
Where can I specify colors for the tabs?
Moderators: helmut, XnTriq, xnview
Re: Where can I specify colors for the tabs?
Could you post a screenshot? Currently you can't change color!J Smith wrote:Using Win98SE, the text color in the active tab comes from my Windows color scheme. The background is a light blue. I haven't seen that color before and don't know where it comes from. It may be built in the xnview.
I see only black in the label of the inactive tabs. Changing my windows color scheme makes no difference in the empty inactive
tab.
Question 1. Is there any way to set the color of the text of the active tab and override the color xnview gets from the Windows color scheme?
Question 2. Is there any way to get something to show in the inactive tabs?
Pierre.
Nothing !
—> XnTriq
Hello !
When chosen, you get ghost tabs, nothing is drawn… I use a classic Win 9x theme, though…
- I've reported the non-fix, no feedback yet…
FR
Claude
Clo

• I don't know under Win 98 SE (mine are out), but under XP that option is quite buggy :have you tried switching the Use default tab control setting (Tools » Options... » Interface » Tabs)?
When chosen, you get ghost tabs, nothing is drawn… I use a classic Win 9x theme, though…
- I've reported the non-fix, no feedback yet…


Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Subject to limitations of my being unable to check use default
tab control because it is greyed out, here is what appears to
underlie the problem.
I use Windows 98 SE.
When Xnview starts, it sets the background color of the active
tab to a hard coded light blue, and the foreground text color, to
the users' Windows color scheme message box, font color. If you
change the users' Windows color scheme to one with a different
message box font color, the foreground text color of the active tab updates accordingly but the background color remains the light blue.
Also when Xnview starts, it sets the background color of the
inactive tab to what appears to be a color derived from the
user's Windows color scheme 3d objects item color, as opposed to
the 3d objects font color. It looks to me like Xnview then takes
the 3d item color and darkens it slightly for the inactive tab
background color and darkens it yet more for the foreground text
color. If you change the users' Windows color scheme, these
colors do not change. These colors appear to be set at start up
and change when you exit and restart the program.
The problem arose because I use black in 3d objects item color.
It looks like the program calculated my inactive tabs colors by blackening my black once for the background and once for the foreground, giving unreadable black on black.
It looks like the darkening algorithm doesn't check for color
equal to 0.
The light blue creates another problem because I have a light
message font box color.
Question.
Is there any work around for this problem?
Suggestion for Solution.
I would suggest the following for setting these colors.
Leave the selection of the active tab foreground text color to
the Windows message box text color, as is.
Instead of hard coding light blue for the active tab background,
set it to the users' Windows color scheme window item color.
Set the inactive tab foreground and background colors from the
users' Windows color scheme inactive title bar font and item
colors.
tab control because it is greyed out, here is what appears to
underlie the problem.
I use Windows 98 SE.
When Xnview starts, it sets the background color of the active
tab to a hard coded light blue, and the foreground text color, to
the users' Windows color scheme message box, font color. If you
change the users' Windows color scheme to one with a different
message box font color, the foreground text color of the active tab updates accordingly but the background color remains the light blue.
Also when Xnview starts, it sets the background color of the
inactive tab to what appears to be a color derived from the
user's Windows color scheme 3d objects item color, as opposed to
the 3d objects font color. It looks to me like Xnview then takes
the 3d item color and darkens it slightly for the inactive tab
background color and darkens it yet more for the foreground text
color. If you change the users' Windows color scheme, these
colors do not change. These colors appear to be set at start up
and change when you exit and restart the program.
The problem arose because I use black in 3d objects item color.
It looks like the program calculated my inactive tabs colors by blackening my black once for the background and once for the foreground, giving unreadable black on black.
It looks like the darkening algorithm doesn't check for color
equal to 0.
The light blue creates another problem because I have a light
message font box color.
Question.
Is there any work around for this problem?
Suggestion for Solution.
I would suggest the following for setting these colors.
Leave the selection of the active tab foreground text color to
the Windows message box text color, as is.
Instead of hard coding light blue for the active tab background,
set it to the users' Windows color scheme window item color.
Set the inactive tab foreground and background colors from the
users' Windows color scheme inactive title bar font and item
colors.
Re: Nothing !
Yes, I remember this issue from beta testing. We had only reports from people with XP or 2K systems, which made me wonder if this option was implemented for compatibility reasons with older versions of Windows. But apparently that's not the case:Clo wrote:• I don't know under Win 98 SE (mine are out), but under XP that option is quite buggy :
When chosen, you get ghost tabs, nothing is drawn… I use a classic Win 9x theme, though…
J Smith wrote:On my system Win98SE/ Xnview 1.90.2, the use default tab control is greyed out.
Joker feature
—> XnTriq
Hello !
• It seems normal that the option be greyed out under Win 98 SE… But this is a multi-face bug !
- For J Smith, it shows still the owner-drawn blue tabs, while for me and others under XP
- but using the classic Win 9x theme - it shows… *peanuts* !
- Like I said a while ago, THE BIG BUG was not fixed up, and not yet in the 1.90.x versions
(currently, I've a special test version newer than 1.90.2)
• Hence, I think that this topic might be moved to the Bugs section… Sirs Mods, please ?
FR
Claude
Clo

• It seems normal that the option be greyed out under Win 98 SE… But this is a multi-face bug !
- For J Smith, it shows still the owner-drawn blue tabs, while for me and others under XP
- but using the classic Win 9x theme - it shows… *peanuts* !
- Like I said a while ago, THE BIG BUG was not fixed up, and not yet in the 1.90.x versions
(currently, I've a special test version newer than 1.90.2)
• Hence, I think that this topic might be moved to the Bugs section… Sirs Mods, please ?

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •