On Ubuntu 15.04 and above, Krita only uses GTK open/save/export dialogue on Gnome-Shell sessions. Krita uses KDE file dialogues on other GTK based DEs like Gnome Flashback, XFCE and Unity, which introduces UI inconsistency. Reproducible: Always
Well, there are three file dialogs (five if we count Windows and OSX): * KDE: only used when KDE_FULL_SESSION is set * GTK: only used when XDG_CURRENT_DESKTOP is set to "GNOME" * Qt's native file dialog: used in all other desktops (And of course, the native Windows and OSX file dialogs) It's not possible to figure out runtime which desktops are Qt-based and which desktops are GTK-based, so I decided to give Gnome users the GTK file dialog, KDE users the KDE file dialog and everyone else the default Qt file dialog. I got complaints from XFCE users about the GTK file dialog when that was enabled for their desktop -- I'm not sure I remember why, though.
So what I saw was Qt file dialogue then. XFCE aside, for some reason Unity, Gnome Flashback and Gnome Classic sessions got Qt file dialogue on Ubuntu 15.04. It wasn't the case for Gnome flashback on 14.04. I think we should at least give Unity, Gnome Flashback and Gnome Classic sessions GTK file dialogue because Qt file dialogues looks out-of-place on these DEs. More importantly, it lacks shortcuts to some important locations -- Home folder, mounted drives and Favorite locations. Another important aspect, GTK file dialogue locates to Home folder by default, and remembers the last used location within one Krita session. This is very convenient. Qt file dialogue on the other hand, locates to root folder everytime when it's opened. I have to click many times to change the location -- not a very good user experience in my opinion. Honestly, I don't see why anybody would want to use Qt file dialogue on a GTK based DE. I think we should also give other GTK based DEs like MATE and Cinnamon their native GTK file dialogue. There were some file dialogue related malfunctions on Krita's GTK dialogues, but they are all solved now. If that was the reason why XFCE users hates GTK dialogue, why not change it to GTK this time to see their reaction ;b
Created attachment 94826 [details] Krita's GTK file dialogue on Ubunt Gnome 15.04, Gnome-shell session Notice that it has those useful locations on the left column.
Created attachment 94827 [details] Krita's Qt file dialogue on Ubunt Gnome 15.04, Gnome Classic session Notice the left column has only Home folder and Root folder. It doesn't show mounted drives -- where everybody is going to open from and save to. Finding mounted drive though root folders on a Linux distribution is scary -- look at those names! I don't think a normal user can figure out going to "/media/username/mounted-drive", no to mention that every Linux distribution has different way to put their mounted drive. "/media/username/mounted-drive" works for Ubuntu 15.04 but not 12.04, and it's definitely not the case on Fedora these days. A user cannot add favorite location from a GTK based DE to alleviate this problem. It does remember last-used location, though, it was my mistake.
Qt 5 .6 fixed this for us :-)
Good news! Somehow on Ubuntu Gnome 15.10 I have never encountered this bug anymore...I wonder what triggered it last time. :b
Probably a bug in Qt somewhere, actually.