RSS/Atom feed Twitter
Site is read-only, email is disabled

small bug in GIMP 2.6.7, windows, SF-DIRNAME?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

small bug in GIMP 2.6.7, windows, SF-DIRNAME? Alan Campbell 19 Mar 10:08
Alan Campbell
2011-03-19 10:08:50 UTC (almost 14 years ago)

small bug in GIMP 2.6.7, windows, SF-DIRNAME?

I was trying to find something to put in a SF-DIRNAME widget that would work on all platforms.

I tried "/". Bad choice on *nix/Mac, cause it leaves you at root of file system.

On windows, "/" is displayed as "\"; the parameter associated with the SF-DIRNAME displays with gimp-message as \, but throws an error when used as argument to SF-DIRNAME string-append.

If it is genuinely coming back as a single backslash I can see why (string-append would have problems with it (a single escape \ shouldn't be allowed, and indeed generates an error in e.g.

(define x "\")

in the console)

So, something a bit wrong there?

And back to my original problem: is there any way to make sure I land in a sensible folder (like $HOME or windows %USERPROFILE) when using SF-DIRNAME? "~" doesn't work for Windows. Null string ends up in \bin on windows, $HOME I think on Mac/*nix.

Yrs,

Alan

Fac ut gaudeam:

Make my day.

===================== +++++ =====================