GTK3: NativeDialog on top of modal Window becomes unresponsive
If you have a NativeDialog on top of a modal Window you cannot interact with either the NativeDialog or the Window.
This was tested on GNOME-Shell X11.
This does not happen on GTK4.
#!/usr/bin/python3
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib
window = Gtk.Window()
window.present()
window2 = Gtk.Window(transient_for=window, modal=True)
window2.present()
filechooser = Gtk.FileChooserNative(transient_for=window2)
filechooser.show()
GLib.MainLoop().run()