#785691 Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Package:
zenity
Source:
zenity
Description:
Display graphical dialog boxes from shell scripts
Submitter:
Vincent Lefevre
Date:
2022-04-26 22:42:03 UTC
Severity:
minor
#785691#5
Date:
2015-05-19 08:17:24 UTC
From:
To:
When using zenity, e.g.

  zenity --info foo

I get the following message:

Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

#785691#10
Date:
2016-01-31 11:51:14 UTC
From:
To:
Dear Maintainer,


Whatever I do with Zenity there is:
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.

It is not only annoying.

It disturbes scripts using zenity. Including editor entries that require
zenity.

I am doing: vim, then

!zenity --options

and I get in editor Gtk bugs. This should not be there, not in zenity
package.

#785691#15
Date:
2016-03-11 21:15:35 UTC
From:
To:
Hi,

i have the bug 785691 and i don't know how to resolve it.
Can you help me please?

Regards
T.

#785691#20
Date:
2016-05-31 18:30:02 UTC
From:
To:
Still here in 3.20.0
#785691#25
Date:
2016-08-13 00:50:14 UTC
From:
To:
This is not a 'bug' as such.

One of the GTK+ devs decided to insert this warning into the Gtk Dialog
function gtk_dialog_map because he thinks no dialog window (as used by
LOTS of applications, including Zenity) should run without a parent
window - see
https://mail.gnome.org/archives/commits-list/2014-May/msg00576.html and
https://github.com/GNOME/gtk/blob/master/gtk/gtkdialog.c.

Or perhaps it is a bug - in Gtk+.

#785691#30
Date:
2016-08-13 02:31:41 UTC
From:
To:
According to
https://mail.gnome.org/archives/commits-list/2014-May/msg00576.html

"We want make it mandatory for dialogs to have transient parents,
eventually. This is a first step in that direction."

So, perhaps this is currently not really a bug in zenity, but this
will become a more important bug with some future version of GTK+,
once this has been made mandatory. So, in short, zenity should be
fixed.

#785691#35
Date:
2022-04-26 22:19:42 UTC
From:
To:
Good day Friend.

This is Paul Adams I am a banker. I have an offer that will be of benefit to you contact me if interested for further discussion

Regards
Paul Adams