After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 61142 - gtk_file_selection_new() returns realized widget
gtk_file_selection_new() returns realized widget
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-09-25 15:10 UTC by Pawel Salek
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pawel Salek 2001-09-25 15:10:03 UTC
It has been observed that the following sequence:

    fsw = gtk_file_selection_new(_("Attach file"));
    gtk_window_set_wmclass(GTK_WINDOW(fsw), "file", "Balsa");

generates a warning:
Gtk-WARNING **: shouldn't set wmclass after window is realized!

with gtk+-1.2.10 (but not with gtk+-1.2.9). 

This is believed to be a bug.
Comment 1 Owen Taylor 2001-09-26 16:39:19 UTC
Are you using the Ximian-modified GtkFileSel widget with
the buttons for different directories?

(No significant changes have been made in the official
GtkFileSel widget on the stable branch for a long time.)

Comment 2 Pawel Salek 2001-09-26 16:52:42 UTC
I confirm that gtk+-1.2.10 rpm package taken from RH roswell does NOT
have this bug.

I have contacted the original reporter asking for more detailed
version information (but I have impression ximian was mentioned).
(and thanks for the response!)
Comment 3 PeterBloomfield 2001-09-27 09:57:20 UTC
I'm seeing the bug with gtk+-1.2.10-ximian.10
So *that* is why the widget has those funny buttons!
Comment 4 Pawel Salek 2001-09-27 10:08:14 UTC
Is this the right place for this report, or should it be transferred
to bugzilla.ximian.com?
Comment 5 Havoc Pennington 2001-09-27 15:45:52 UTC
Yes, it needs to go to bugzilla.ximian.com if it's caused by their
patches; we specifically did not make that kind of filesel change
because it had the potential to break things.

Please reopen the report here if it turns out to be a problem in
unpatched GTK.