Open berrange opened 5 years ago
What OS's has this been checked against? I don't have access to a windows setup I can test upon.
I only have access to GIMP on Linux, specifically I've tested with GIMP 2.10.8 on Fedora 29
Doesn't appear that this works cross platforms.
I'm not familiar with OS-X - what is that "MacOS" directory it has ended up selecting ? Is that the root of the filesystem ? I guess that is probably the current working directory of GIMP as it likely took the fallback code path. IOW, it probably is working as intended, but none the less not being useful. I wonder if there's a better directory to try to default to. Does OS-X normally have a $HOME env variable set ? If so we could default to that.
Look for the XDG "Pictures" directory, and use that as the default for light / dark frames, rather than whatever the GIMP working directory is.
If the XDG dir can't be determined, default to the current working directory. This will be the case on non-Linux hosts.
This is an alternative to pull request #6