mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
422 stars 140 forks source link

Mono Applications Ignore GTK Environment Variables for Appearance #277

Open jclds139 opened 4 years ago

jclds139 commented 4 years ago

Steps to Reproduce

  1. Run a mono program, particularly with a dark GTK theme set - some elements do not obey the theme rules, leading to unreadable text.
  2. Manually set GTK_THEME and/or GTK2_RC_FILES to point to a theme other than the system default
  3. Re-Run the mono program, observing no difference
  4. For comparison, run a normal GTK program (such as gvim), and see how the theme has changed

Current Behavior

Nothing changes when GTK_THEME (for gtk3 themes) or GTK2_RC_FILES (for gtk2 themes) is set differently from the system gtk theme. This is essentially a re-post of mono/mono#9998 which was prematurely closed.

Expected Behavior

Setting one of those environment variables will override the GTK theme for the mono application being launched

On which platforms did you notice this

[ ] macOS [x] Linux [ ] Windows

Version Used: 5.20.1 (and older)

blackthornedk commented 4 years ago

Any news on this bug? I have the same problem with Keepass2 on Mint 19.3.

maxsupermanhd commented 3 years ago

Same thing here, will be glad to hear a fix