GNOME Bugzilla – Bug 125257
GtkSocket doesn't check screen before reparenting
Last modified: 2020-11-06 20:25:41 UTC
(Looking at CVS HEAD) I'm unable to find a screen check before gtk/gdk reparents a window. According to the manual, reparenting from another screen will result in a BadMatch error. The Gtk+ API documentation does not mention that error will occur. The notification area code doesn't check the screen before calling gtk_socket_add_id(), and this is almost surely the cause of the multi-screen (non-Xinerama) errors that have been reported against it. Those reports also indicate mapping is occuring though reparenting was unsuccessful, but I'm not sure Gtk+ is responsible.
I don't consider this a GTK+ problem. All GTK+ could conceivably do would be to give a better warning message.
Re-assigning to gnome-panel-maint. Apologies for the spam.
What's the user effect here?
Bug #115704 is caused by this, at least in part.
Can I close this bug ?
Why do you want to close this bug?
Any pointers to what's missing here? Is it just a function call or more involved?
(In reply to comment #3) > What's the user effect here? Well, this is marked as blocking bug 346162. Whether that's correct or not I can't say, but if it is, that's a user effect.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.