FileChooserDialog broken on Windows
Steps to reproduce
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gio
from gi.repository import Gtk
class App(Gtk.Application):
def __init__(self):
Gtk.Application.__init__(self, flags=Gio.ApplicationFlags.NON_UNIQUE)
self.connect('activate', self.activate)
def activate(self, app):
self.window = Gtk.ApplicationWindow(application=self)
box = Gtk.Box()
button = Gtk.Button(label='Test')
button.connect('clicked', self.clicked)
box.add(button)
self.window.add(box)
self.window.show_all()
def clicked(self, *args):
dialog = Gtk.FileChooserDialog()
dialog.show()
if __name__ == '__main__':
app = App()
app.run()
Current behavior
Clicking on harddrives does not switch to the folder/harddrive
Expected outcome
It should switch to the folder/harddrive
Version information
Windows 7/8, Gtk 3.22.30
Additional information
It works with Gtk 3.22.28