| Summary: | adwaita-gtk2-theme: impossible to modify the background colour of a GtkEntry or a wxTextCtrl | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Nicolas Salguero <nicolas.salguero> |
| Component: | RPM Packages | Assignee: | GNOME maintainers <gnome> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | olav |
| Version: | Cauldron | Keywords: | NEEDINFO, PATCH, UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | gnome-themes-standard | CVE: | |
| Status comment: | |||
| Attachments: |
Source code of a GtkEntry test
wx.TextCtrl test Result of GtkEntry test using Adwaita as GTK+ 2 theme Result of GtkEntry test when not using Adwaita as GTK+ 2 theme Result of wx.TextCtrl test using Adwaita as GTK+ 2 theme Result of wx.TextCtrl test when not using Adwaita as GTK+ 2 theme File taken from Mga5 pkg A patch to restore the ability to set the background colour of GtkEntry or wxTextCtrl |
||
|
Description
Nicolas Salguero
2016-06-06 16:02:22 CEST
Created attachment 7927 [details]
Source code of a GtkEntry test
I built that test with: gcc -o test $(pkg-config --cflags --libs gtk+-2.0) test.c
Created attachment 7928 [details]
wx.TextCtrl test
Created attachment 7929 [details]
Result of GtkEntry test using Adwaita as GTK+ 2 theme
Created attachment 7930 [details]
Result of GtkEntry test when not using Adwaita as GTK+ 2 theme
Created attachment 7931 [details]
Result of wx.TextCtrl test using Adwaita as GTK+ 2 theme
Created attachment 7932 [details]
Result of wx.TextCtrl test when not using Adwaita as GTK+ 2 theme
Nicolas Salguero
2016-06-06 16:07:35 CEST
Source RPM:
(none) =>
gnome-themes-standard If I replace the directory /usr/share/themes/Adwaita/gtk-2.0 by the one from adwaita-gtk2-theme Mga5 pkg, the problem disappears too. Created attachment 7933 [details]
File taken from Mga5 pkg
This file would have to be put into /usr/share/themes/Adwaita/gtk-2.0/assets
Created attachment 7934 [details]
A patch to restore the ability to set the background colour of GtkEntry or wxTextCtrl
Rémi Verschelde
2016-06-06 18:04:02 CEST
Keywords:
(none) =>
PATCH, UPSTREAM A little precision: the problem does not occur with multi line wxTextCtrl because, in that case, the GTK component which is used is not GtkEntry but GtkTextView, which does not have the bug. Wouldn't you want to submit this patch upstream? Then it is fixed for everyone. Hi, I created this bug report: https://bugzilla.gnome.org/show_bug.cgi?id=767562 Best regards, Nico. Thanks!! As we're close to Mageia 6 release, I've added your patch to gnome-themes-standard. I've also cc'ed myself upstream. Note: If you want to help out with GNOME in Mageia, I'd support you. You can do as little or as much as you'd like. The PNG file taken from version 3.14.2.3 was missing so I added it and pushed a new build (3.mga6). Re-assigning to the Gnome maintainers group. Is this bug still valid in a completely updated system? Keywords:
(none) =>
NEEDINFO (In reply to Marja van Waes from comment #15) > Is this bug still valid in a completely updated system? No the problem is now solved. I forgot to close the bug report, sorry. Status:
NEW =>
RESOLVED |