[SOLVED] Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Rep:
[SOLVED] Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Debian Jessie, standalone OpenBox.
Get this message in terminal whenever i click on Search in Synaptic Package Manager. Both, when i launch it from the OpenBox Menu (where it opens a terminal and i have to authenticate as root), and when i launch it from the terminal with sudo (i am a sudoer). It is nothing critical as everything works just fine as far as i can tell but it gives me a nagging feeling at the back of my head that i am doing something wrong. I have installed gtk2-engines, even some of those gir12 polkits for good measure but this annoyance won't go away.
Tip for newbies trying out a minimal install: Don't shy away from installing Synaptic, it is indispensible for installing packages without errors and meeting all dependencies. Just installed Xfe from it and it rocks. Built-in text-editor and image viewer too, and yet so featherweight! Beats me why some people still sing paeans to Thunar and Nautilus.
gtk warnings and even errors are very common.
you might find that you get different errors when you change your gtk theme, and with different applications.
as long as they're only gtk errors, and your system works otherwise, and you're not a gtk theme developer... ignore them.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,058
Rep:
in the gtk toolkit when poping up a dialog you have the option of supplying a parent window ( the 'transient for..' bit), this helps window mangers to keep the dialog and main windows in sync and keeps the dialog box on top of the main window ( presuming the dialog is supposed to be always above the main window ), presumably the gtk devs meant for this to become compulsory at some point but never gotbaround to it, it's just a warning and can be safely ignored, there are many such in gtk, it woud be nice if you could turn off gtk warnings globaly but you can't.
At Debian 9.3.0 with Gnome, if you open a terminal and launch a gtk program -ej. calibre- the warning exist: "GtkDialog mapped without a transient parent. This is discouraged."
Ok, but IF you launch Gnome in Wayland, you open a terminal and launch again gtk program -calibre- the warning NOT exist.
I think that the warning is for transition propoues.
The posts were good pointers to resolving the issue. It might be a warning but I, as a keen amateur developer, will pursue the matter in my own code. It will teach me more about gtk dev.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.