[MacPorts] #44778: -600 error opening image files from the Finder when Gimp.app is open

MacPorts noreply at macports.org
Tue Aug 26 09:53:37 PDT 2014


#44778: -600 error opening image files from the Finder when Gimp.app is open
----------------------------------+----------------------
  Reporter:  enekogotzon@…        |      Owner:  devans@…
      Type:  defect               |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.3.1
Resolution:                       |   Keywords:
      Port:  gimp gimp2 gimp-app  |
----------------------------------+----------------------

Comment (by devans@…):

 I've been able to reproduce the reported problem and have determined that
 the problem only occurs in the situation where GIMP.app (provided by gimp-
 app) is already running without regard to the state of ${prefix}/bin/gimp
 or the X11 server, either XQuartz or MacPorts xorg-server (slightly newer
 version of the same thing).

 When initially running ${prefix}/bin/gimp from the command line in the
 terminal with the name of the target file as an argument (without using
 GIMP.app), GIMP launches and correctly opens the target file in a window.
 Subsequent such commands while ${prefix}/bin/gimp is running results in a
 new instance of the file being opened in an additional window in the
 original GIMP process not a new instance of GIMP in a separate process.
 This is the expected behavior.
 {{{
 gimp my-image.jpeg & # lauches GIMP and opens my-image.jpeg in a window.
 gimp my-image.jpeg & # opens a new copy of my-image.jpeg in a second
 window of the running GIMP process
 }}}

 In the case of the GIMP.app, if the GIMP.app is not running and GIMP
 itself is not running, attempting to open the file from the context window
 opens GIMP.app, displaying an icon in the dock, ${prefix}/bin/gimp
 launches and the file is opened in a window as expected.  If
 ${prefix}/bin/gimp was already running (say from a terminal invocation)
 then the image is opened in an additional window as above.

 However, at this point, if you right-click on the GIMP.app icon in the
 dock, the context menu says the application (GIMP.app) is not responding
 and a subsequent attempt to open the file via context menu fails with the
 -600 error shown above. Forcing GIMP.app to quit from the dock kills
 GIMP.app and any child ${prefix}/bin/gimp process.

 So it appears that after the initial successful attempt, GIMP.app is in an
 improper state which makes it impossible for the Finder to communicate
 with it further.  Further digging required to see why this is the case.

-- 
Ticket URL: <https://trac.macports.org/ticket/44778#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list