Skip to main content

Topic: Interface odd color problem  (Read 134 times)

  • dim
  • [*]
Interface odd color problem


My guess is that panels and tab bar is hardcoded white background
is there a workaround i could use to make Otter follow system's colors ?

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Interface odd color problem
Reply #1
This is on WIndows? On Xubuntu it simply takes on my system theme. There's also a manual theme command line switch on Linux but I wouldn't know if something similar exists on Windows.

In case of "emergency" you can always use a custom interface stylesheet in preferences > appearance. Sorry I can't be more helpful but I've only got a minute. :)

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Interface odd color problem
Reply #2
@dim, it's limitation WinAPI, so far I haven't found a way to get color used for drawing tab bar:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724371(v=vs.85).aspx
And it's almost always #FFF in all themes since Windows 98.

You can try switching to Fusion style for now.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • dim
  • [*]
Re: Interface odd color problem
Reply #3
Fusion works great. I didn't notice it was there. Thanks

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Interface odd color problem
Reply #4
Just out of curiosity, what does it look like now?

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Interface odd color problem
Reply #5
@dim, one more thing, could you please also show how does Preferences dialog look like with Windows style?
If it looks correctly then perhaps I would be able to find solution in Qt code.
BTW, is that some third party color scheme or what? I could try to reproduce it locally.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • Borut
  • [*]
Re: Interface odd color problem
Reply #6
Tabs in Fusion style and Windows style (under Windows 7, itself in classic scheme).

  • Borut
  • [*]
Re: Interface odd color problem
Reply #7
Prefs in Windows style.

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Interface odd color problem
Reply #8
Tabs in Fusion style
Oh, not bad at all! The close button and the scrollbar aren't exactly native but nothing terrible.

  • dim
  • [*]
Re: Interface odd color problem
Reply #9
No third party themes or anything, just tweaking the classic windows 7 theme at the control panel
Control.Panel_Window.Color.Appearance

This is Otter in Fusion
Otter_Fusion

This is Otter in System Style
Otter_System.Style

Those are the registry entries for the color scheme
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"Background"="0 0 0"
"Scrollbar"="100 105 110"
"ActiveTitle"="50 50 50"
"InactiveTitle"="50 50 50"
"Menu"="50 50 50"
"Window"="30 30 30"
"WindowFrame"="100 100 100"
"MenuText"="160 160 160"
"WindowText"="160 160 160"
"TitleText"="160 160 160"
"ActiveBorder"="50 50 50"
"InactiveBorder"="50 50 50"
"AppWorkspace"="20 20 20"
"Hilight"="50 100 150"
"HilightText"="200 200 200"
"ButtonFace"="50 50 50"
"ButtonShadow"="35 35 35"
"GrayText"="46 46 46"
"ButtonText"="160 160 160"
"InactiveTitleText"="100 100 100"
"ButtonHilight"="65 65 65"
"ButtonDkShadow"="30 30 30"
"ButtonLight"="60 60 60"
"InfoText"="160 160 160"
"InfoWindow"="50 50 50"
"ButtonAlternateFace"="50 50 50"
"HotTrackingColor"="70 130 180"
"GradientActiveTitle"="50 50 50"
"GradientInactiveTitle"="50 50 50"
"MenuHilight"="160 160 160"
"MenuBar"="50 50 50"
An old utility to easy change colors
JaSMiN 3D Color Changer

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: Interface odd color problem
Reply #10
@dim, thanks for details, hopefully there is some solution for this issue.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.