GNOME Bugzilla – Bug 690560
Regression: GtkSocket draws background when container window becomes inactive
Last modified: 2018-04-15 00:26:07 UTC
In version of GTK3 prior to 3.6, when the containing window of a GtkSocket became inactive the GtkSocket was not cleared. In 3.6 this appears to be happening. I have added the following to my code GdkRGBA color; color.red = 1.0; color.alpha = 0.25; gdk_window_set_background_rgba (gtk_widget_get_window(player->socket), &color); gdk_window_set_background_pattern (gtk_widget_get_window (player->socket), NULL); And this color overwrites the contents of my GtkSocket.And the contents are not seen under the color. If there is a new way in gtk 3.6 to not have the socket overwrite the contents of the window, that is fine, but I could not find it in the documentation.
Note that this problem happens with the adwaita theme, but not the high contrast theme.
Tested several themes and Adwaita is the only one that exhibits this issue. The theme should not redraw the background of the GtkSocket widget when the window becomes insensitive.
Would you be so kind and provide a test case (app) where this occurs?
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new