Hi, I found that, with adwaita-gtk2-theme 3.20.2 from Cauldron, it is no more possible to modify the background colour of a GtkEntry (gtk+2.0) or a wxTextCtrl (wxPython using wxGTK built against gtk+2.0). The problem does not exist in Mga5. Best regards, Nico.
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
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
Keywords: (none) => PATCH, UPSTREAMCC: (none) => olavAssignee: bugsquad => pkg-bugs
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) => NEEDINFOAssignee: pkg-bugs => gnome
(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 => RESOLVEDResolution: (none) => FIXED