Open vvvvvvitor opened 1 year ago
I'm not sure about the scope or the features you asked for in this issue. Could you be a bit more specific or offer some examples/use cases?
The dialogs on Linux don't really look consistent with GNOME, they don't use the same dialog as the ones that the system uses, instead they use a custom GTK3 one, so what I'm asking for an update to them that uses the actual system dialogs.
Could you provide more info about which distros look inconsistent? A screenshot of the dialog shown by this plugin vs. the one you would expect to see would be very useful. I have tested this plugin with Ubuntu and they look fine.
I can only provide screenshots from Fedora as that's the distro I use.
Expected (GNOME):
https://docs.gtk.org/gtk4/class.MessageDialog.html
Current:
I suspected this may happen. The library portable-file-dialogs checks your distro at compile time. Since I compiled this plugin on Ubuntu, you see the Ubuntu theme even on Fedora. I need to find a library that checks your distro at runtime, because I can only provide one version of this plugin for every Linux distro. In the meantime, you can compile this plugin on Fedora, and it should work.
The thing is, Ubuntu and Fedora use the same toolkit, GTK, so that shouldn't happen since Ubuntu is basically just a reskin of default Gnome. I believe the lib you're using might be outdated or uses a custom dialog for linux.
Support modern system dialogs for GTK, like these: