Author Topic: Synchronize preferences  (Read 10208 times)

Offline oryk

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Synchronize preferences
« on: September 14, 2012, 01:43:10 AM »
How is it possible to synchronize PM preferences of different users on one MAC ?

On my MAC are different users. They all should work with PM and the same workaround.
-Oryk

( MAC, OS 10.13.6 )

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #1 on: September 14, 2012, 06:12:01 AM »
Oryk,

How is it possible to synchronize PM preferences of different users on one MAC ?

On my MAC are different users. They all should work with PM and the same workaround.

I'm not sure what you're asking?  Each user gets their own set of preferences.  If you want to copy them manually from one user account to the other then you can certainly do that, but there is no mechanism to allow one user to change another user's preferences.  The Export and Import buttons in the Preferences dialog is one way of copying one set of preferences to another account or even another computer.

-Kirk

Offline mbbphoto

  • Sr. Member
  • ****
  • Posts: 312
    • View Profile
Re: Synchronize preferences
« Reply #2 on: September 14, 2012, 07:13:50 AM »
This would be fantastic! (Post catalog!!!!)
Marc

Offline Juerg

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Synchronize preferences
« Reply #3 on: September 14, 2012, 07:54:51 AM »
Hello everyone,

Sorry if I jump in here, but my qustion fits the qustion and rather than start a new thread I may ask here:

I just ugraded my laptop (running Vista 32-bit) to V5. I then copied the preference file from my PC (Win 7 64-bit) onto the laptop and importet it. I got the pop-up window asking whether I want to merge if possbile or overwrite all preferences on the laptop.

How are the options "Overwrite" or "Merge where possible" during the import of preferences  suppose to work?

When I select to overwrite all, only a few preferences are actually imported. But even worse, when starting PM it will display a error message and shut down during start.

When I select "merge where possible" all preferences are copied onto the laptop (even I still get the message some settings cannot be merged) and PM will also start without problem.

What is the difference between "overwrite all" and "merge where possible"? I mean, I understand it (I think), but something is not working with the "overwrite" option.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #4 on: September 14, 2012, 09:52:40 AM »
I just ugraded my laptop (running Vista 32-bit) to V5. I then copied the preference file from my PC (Win 7 64-bit) onto the laptop and importet it. I got the pop-up window asking whether I want to merge if possbile or overwrite all preferences on the laptop.

How are the options "Overwrite" or "Merge where possible" during the import of preferences  suppose to work?

When I select to overwrite all, only a few preferences are actually imported. But even worse, when starting PM it will display a error message and shut down during start.

When I select "merge where possible" all preferences are copied onto the laptop (even I still get the message some settings cannot be merged) and PM will also start without problem.

What is the difference between "overwrite all" and "merge where possible"? I mean, I understand it (I think), but something is not working with the "overwrite" option.

Merge where possible does the same thing as Overwrite does with the exception of things that are lists, for instance Keywords, Photographers, etc.  They'll get added to your current Keywords, Photographers, etc.

What error message did you get during startup?

-Kirk

Offline Juerg

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Synchronize preferences
« Reply #5 on: September 14, 2012, 10:25:23 AM »
Hi Kirk,
Merge where possible does the same thing as Overwrite does with the exception of things that are lists, for instance Keywords, Photographers, etc.  They'll get added to your current Keywords, Photographers, etc.
Thanks for the explanation.

Am I also correct that if I select "overwrite", PM will only overwrite preference files/folders that already exist in the preference folder of the local machine from the pref-backup file, but not also copy and add files/folders that don't exist on the local machine?

At least that seems how it works in my case.

Quote
What error message did you get during startup?

It was the message "Photomechanic encountered a problem and needs to shut down" with the process bar below "Windows is checking for a solution of this problem...". But as usual, it never finds a solution for any such problem. Didn't find one in that case either.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #6 on: September 14, 2012, 01:34:18 PM »
Juerg,

Merge where possible does the same thing as Overwrite does with the exception of things that are lists, for instance Keywords, Photographers, etc.  They'll get added to your current Keywords, Photographers, etc.
Thanks for the explanation.

Am I also correct that if I select "overwrite", PM will only overwrite preference files/folders that already exist in the preference folder of the local machine from the pref-backup file, but not also copy and add files/folders that don't exist on the local machine?

Only items that are selected for import are imported, regardless of the Overwrite/Merge option.

-Kirk

Offline Juerg

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Synchronize preferences
« Reply #7 on: September 14, 2012, 03:36:53 PM »
Kirk,
Only items that are selected for import are imported, regardless of the Overwrite/Merge option.

I figured that much. But when selecting "overwrite", only the very few basic preferences are acutally loaded, even if all items are selected.
« Last Edit: September 14, 2012, 04:04:40 PM by archer69 »

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #8 on: September 14, 2012, 04:45:00 PM »
Juerg,

Only items that are selected for import are imported, regardless of the Overwrite/Merge option.

I figured that much. But when selecting "overwrite", only the very few basic preferences are acutally loaded, even if all items are selected.

That sounds like a bug to me.

-Kirk

Offline oryk

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: Synchronize preferences
« Reply #9 on: September 15, 2012, 03:11:43 AM »
what happens if I synchronize the <com.camerabits.PhotoMechanic> folders of the user's library with apps like 'SynchTwoFolders' or 'MacDropAny' ?
-Oryk

( MAC, OS 10.13.6 )

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #10 on: September 15, 2012, 07:38:34 AM »
what happens if I synchronize the <com.camerabits.PhotoMechanic> folders of the user's library with apps like 'SynchTwoFolders' or 'MacDropAny' ?

Any preferences that have file or folder paths in them won't work unless the exact same paths exist on both systems.

The other preferences should work.

-Kirk

Offline oryk

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: Synchronize preferences
« Reply #11 on: September 16, 2012, 12:39:15 AM »
Kirk,

it would be very helpful if the files 'com.camerabits.PhotoMechanic.plist' and 'com.camerabits.PhotoMechanic.LSSharedFileList.plist' are in the 'com.camerabits.Photomechanic'-folder.
So you can synchronize ALL PM-preferences.
-Oryk

( MAC, OS 10.13.6 )

Offline Ben Curtis

  • Member
  • **
  • Posts: 94
    • View Profile
    • Snappertalk blog
Synchronize preferences
« Reply #12 on: September 16, 2012, 01:48:26 AM »
If the paths were saved as ~/example wouldn't it work for any user so long as they had the same subfolder structure?

Re: the synchronise prefs aspect. Could there be an option in PM to choose the location where all prefs are saved? That way one could redirect the location to eg a Dropbox folder and that would take care of prefs sync. Just an idea.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #13 on: September 16, 2012, 07:01:58 AM »
Oryk,

it would be very helpful if the files 'com.camerabits.PhotoMechanic.plist' and 'com.camerabits.PhotoMechanic.LSSharedFileList.plist' are in the 'com.camerabits.Photomechanic'-folder.
So you can synchronize ALL PM-preferences.

Those files are created by the OS, not Photo Mechanic and as such I have no control over where they go.

-Kirk

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Synchronize preferences
« Reply #14 on: September 16, 2012, 07:04:31 AM »
Ben,

If the paths were saved as ~/example wouldn't it work for any user so long as they had the same subfolder structure?

Re: the synchronise prefs aspect. Could there be an option in PM to choose the location where all prefs are saved? That way one could redirect the location to eg a Dropbox folder and that would take care of prefs sync. Just an idea.

Define what you mean by a Dropbox folder.  To me that means a folder that an application can write to but not read from.

The Import/Export preferences functionality is supposed to make all of this very simple and reliable.  If it isn't working, I'd like to fix it.  I don't want to create other methods that try to do the same thing.

-Kirk