Comment 17 for bug 262617

Revision history for this message
su_v (suv-lp) wrote :

@JazzyNico - I tested your patch on osx too - since as far as I understand, the new code is seen by all platforms and allows to select the external editor by full path not only on Windows. If this testing doesn't help at the moment and interferes with solving the issue for the Windows port in the first place, please do tell me.

With this patch - tested with r10045 on OS X (built as normal linux command line app, not as osxapp) - Inkscape opens a linked image for external editing always in Gimp, no matter what I choose in the dialog or which path is stored in the preferences file (tested with default (new) preferences). How can I debug what is happening? Or is this intended?

For the osxapp-enabled and packaged version, we'll probably have different needs for the dialog (or add special instructions for normal Mac users once Inkscape actually calls the executable (binary or shell script) selected in the dialog). Probably I should open a separate report for the issue on OS X? Would it be possible to enter a command string (with arguments) instead of choosing an executable itself?

Example to launch an normal application on Mac OS X from the command line:
  $ open -a Gimp filename.jpg
or
  $ open -a Pixen "ripple_100 copy.png"

Inkscape packaged for Mac OS X already uses a similar command string for the print preview launched from the print dialog (GTK settings default to evince which is not available on osx):

522 # use OS X default pdf-viewer for print preview
523 gtk-print-preview-command="/usr/bin/open %f"

<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/packaging/macosx/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/pre_gtkrc#L522>