Bug 272582 - freeciv-gtk2 + oxygen-gtk-1.0.4 looks gray
Summary: freeciv-gtk2 + oxygen-gtk-1.0.4 looks gray
Status: CONFIRMED
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk2-engine (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 00:22 UTC by Bernd Buschinski
Modified: 2021-03-10 07:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
freeciv-gtk2 + oxygen-gtk (101.68 KB, image/png)
2011-05-06 00:22 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2011-05-06 00:22:17 UTC
Created attachment 59672 [details]
freeciv-gtk2 + oxygen-gtk

Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

Like shown in the screenshot there are many gray areas, but there should be no gray area at all

Reproducible: Always

Steps to Reproduce:
- start freeciv-gtk2
- click new game
- click start

Actual Results:  
- many wrong gray areas

Expected Results:  
- game should look like with any other gtk style (no gray areas)

NOTE: freeciv-gtk2 menu renders fine
Comment 1 Hugo Pereira Da Costa 2011-05-09 21:12:22 UTC
Well, if it were up to me, I'd put more (not less) grey in the screenshot.
I hate these apps that force their own color scheme, and even their widget style for that matter (the screenshot barely looks oxygen at all), disregarding the rest of the desktop. just bad practice.

More seriously, I'm investigating ...
Comment 2 Hugo Pereira Da Costa 2011-05-09 21:38:37 UTC
ok. So after investigating, it turns out the grey is due to the fact that our *run-time generated* gtkrc overwrittes the one that freeciv push.

If one comments calls to Oxygen::QtSettings::generateGtkColors, then freeciv looks normal again. 

This on-fly color generation is needed for us to have the correct kde palette used in other apps, so I will not disable it.

Now maybe there is a way to call it in a way that it does not overwrite application's colors.
Comment 3 Justin Zobel 2021-03-09 23:58:27 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 4 Ruslan Kabatsayev 2021-03-10 07:10:37 UTC
freeciv is now on GTK3, so this is obsolete.