Author Topic: PM 4.6.8 Mac & edit in CS4  (Read 13163 times)

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
PM 4.6.8 Mac & edit in CS4
« on: January 09, 2012, 01:53:31 AM »
Myself and another guy have updated to 4.6.8 from 4.6.6 and have both noticed an issue arise. It regards pressing E in PM to edit a jpg in PS CS4. Normally the jpg is brought up straight into CS4, it becomes the app in use and you see the image. After the update we have to cmd+tab to switch apps from PM to CS4 to see the image for editing. This has never happened before and is really annoying! Has anyone else experienced this or can help resume normal service?

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #1 on: January 09, 2012, 04:09:28 AM »
Should have said he is on Leopard, I'm on Snow Leopard.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #2 on: January 09, 2012, 06:19:11 AM »
Myself and another guy have updated to 4.6.8 from 4.6.6 and have both noticed an issue arise. It regards pressing E in PM to edit a jpg in PS CS4. Normally the jpg is brought up straight into CS4, it becomes the app in use and you see the image. After the update we have to cmd+tab to switch apps from PM to CS4 to see the image for editing. This has never happened before and is really annoying! Has anyone else experienced this or can help resume normal service?

If you drag and drop photos from the Finder onto Photoshop CS4 does it come forward?  If not, try reinstalling Photoshop CS4.  It is a common problem with older versions of Photoshop.

If Photoshop responds normally when you drag and drop from the Finder, then I don't know what else to suggest at this time.  I'll check with our support specialists.

-Kirk

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #3 on: January 09, 2012, 07:19:13 AM »
What's happening is when I view files in the large preview window and press E to edit that image, CS4 comes to the front but not the open image.  It's weird as it always worked perfectly before my update. Dragging files from the finder into CS4 works perfectly.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #4 on: January 09, 2012, 11:38:41 AM »
Paul,

Try the following:

Quit Photo Mechanic and Photoshop. Locate a JPEG file in the Finder and drag it on top of Photoshop's icon in the Dock. If Photoshop launched but didn't open the image, then Photoshop needs to be re-installed.

-Kirk

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #5 on: January 09, 2012, 12:41:34 PM »
Kirk thanks for the advice. I've tried your suggestion and CS4 opens the image from the Finder as you would expect. Maybe I need a fresh install of PM?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #6 on: January 09, 2012, 12:49:32 PM »
Paul,

Kirk thanks for the advice. I've tried your suggestion and CS4 opens the image from the Finder as you would expect. Maybe I need a fresh install of PM?

You could try that, but I wouldn't expect it to make any difference.

Try the procedures outlined in this post:

http://forums.camerabits.com/index.php?topic=6755.msg31477#msg31477

HTH,

-Kirk

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #7 on: January 09, 2012, 02:08:59 PM »
Thanks Kirk tried that procedure. No difference I'm afraid. Do you think it's a PM issue or a CS4 issue? I could try reinstalling Photoshop.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #8 on: January 09, 2012, 04:17:32 PM »
Paul,

Thanks Kirk tried that procedure. No difference I'm afraid. Do you think it's a PM issue or a CS4 issue? I could try reinstalling Photoshop.

I checked the source code for changes to how PM launches photos towards other applications like Photoshop.  There were no changes since version 4.6.4 of PM.  You said that you were using PM 4.6.6 previously and that things were working fine then.  The launching code is the same in 4.6.6 through 4.6.8.

I guess reinstalling Photoshop would be the next thing to try.

-Kirk

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #9 on: January 10, 2012, 11:46:53 AM »
I've noticed that clicking edit in the toolbar preview window always opens the image correctly in CS4. Weird.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #10 on: January 10, 2012, 12:22:52 PM »
I've noticed that clicking edit in the toolbar preview window always opens the image correctly in CS4. Weird.

That is very strange!  Both methods use the same code.

-Kirk

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #11 on: January 11, 2012, 12:28:14 PM »
When I updated PM I just overwrote the 4.6.6 version without removing it from my app list. Does this matter Kirk or not?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #12 on: January 11, 2012, 02:44:37 PM »
Paul,

When I updated PM I just overwrote the 4.6.6 version without removing it from my app list. Does this matter Kirk or not?

It should not matter.

-Kirk

Offline Paul Burrows UK

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: PM 4.6.8 Mac & edit in CS4
« Reply #13 on: January 12, 2012, 05:27:19 AM »
Ok thanks Kirk your help is appreciated.
I have now checked on my brand new iMac (2 weeks old) on Lion with a brand new installation of 4.6.8 from scratch with brand new install of CS4.
The same issue arises which never happened in 4.6.6. The image does not come to the foreground on pressing E even though Photoshop does.
Something has changed in PM surely?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25025
    • View Profile
    • Camera Bits, Inc.
Re: PM 4.6.8 Mac & edit in CS4
« Reply #14 on: January 12, 2012, 06:44:27 AM »
Paul,

Ok thanks Kirk your help is appreciated.
I have now checked on my brand new iMac (2 weeks old) on Lion with a brand new installation of 4.6.8 from scratch with brand new install of CS4.
The same issue arises which never happened in 4.6.6. The image does not come to the foreground on pressing E even though Photoshop does.
Something has changed in PM surely?

So you're saying that Photoshop becomes the foreground application but then never opens the image, or that it comes to the foreground but the image is opened behind some other window?

I checked the checkin logs for the source code in PM that is launching files to external applications and it hasn't changed for a really long time, certainly not significantly in any way since early 2010:

revision 1.16
date: 2010-02-16 09:17:59 -0800;  author: kbaker;  state: Exp;  lines: +12 -4;  commitid: BqfOU8ufWcb9EAnu;
Fixed problem launching RAW files that are part of a RAW+JPEG pair but don't reside in the same folder as the JPEG

PM uses a function provided by Apple called LSOpenFromRefSpec() to send files to external apps.  Once PM calls this function PM has no bearing on the functionality of the external application that would respond to the system telling it to open a file.

There are two paths through the launching code, one is when you have assigned a specific editor in the preferences dialog (Launching section) and the other is when you let the Finder decide what to application to launch for a given file type.

Have you chosen Photoshop (found the installed application and selected it in a file picker dialog) or are you letting the Finder decide what to launch?

-Kirk