[Requester] GtkDialog mapped without a transient parent.

Post bugreports for the Linux version here
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

[Requester] GtkDialog mapped without a transient parent.

Post by Flype »

Using Ubuntu 18.04.4 LTS

When calling such code (or any requester component) :

Code: Select all

ColorRequester(CurrentColor)

Code: Select all

OpenFileRequester("Load Image...", "", "JPEG Images|*.jpeg|All Files|*.*", 0)
This produce such Gtk-Message :

Code: Select all

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




Does this means we should pass our parent window to the requesters ?

Code: Select all

ColorRequester(CurrentColor, [ParentWindow])
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer