Companion File Handing in MP?

Moderators: XnTriq, helmut, cday, xnview, Dreamer

andrewj
Posts: 59
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Companion File Handing in MP?

Post by andrewj » Sat Apr 29, 2017 11:30 am

Hi,
Could someone please confirm whether MP has the ability to set up equivalent companion file handing to XnView Classic and if so how to access it. In Classic, there's a simple .INI section which implements exactly what I need, for example to move XMP and Canon/Panasonic/Sony Raw files with the JPG, I just set:

Code: Select all

[File]
Companion_00=cr2:jpg
Companion_01=cr2:cr2.bib
Companion_02=crw:jpg
Companion_03=crw:crw.bib
Companion_04=cr2:xmp
Companion_05=cr2:dng
Companion_06=cr2:cr2.xmp
Companion_07=rw2:xmp
Companion_08=rw2:jpg
Companion_09=rw2:rw2.xmp
Companion_10=arw:xmp
Companion_11=arw:jpg
Companion_12=arw:arw.xmp
ConfirmFileDelete=1
CopyCompanionFile=1
However, this doesn't seem to work in the XnViewMP .INI file.

What's the status of this, please?
Thanks
Andrew

User avatar
XnTriq
Moderator & Librarian
Posts: 5267
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Companion File Handing in MP?

Post by XnTriq » Sun Apr 30, 2017 11:00 am


andrewj
Posts: 59
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Re: Companion File Handing in MP?

Post by andrewj » Sun Apr 30, 2017 10:35 pm

Thanks, that helps.

obelisk
Posts: 374
Joined: Fri Jan 09, 2009 9:54 am

Re: Companion File Handing in MP?

Post by obelisk » Thu Jul 13, 2017 1:19 am

Any plans for this soon? It's the single most annoying thing about MP.
I can't do any file deletion with MP. LR is the only thing that works and you can't open 2 catalogs.

obelisk
Posts: 374
Joined: Fri Jan 09, 2009 9:54 am

Re: Companion File Handing in MP?

Post by obelisk » Thu Mar 15, 2018 6:53 am

Just to confirm, this isn't done right?

hic
Posts: 29
Joined: Thu Feb 27, 2014 2:55 pm

Re: Companion File Handing in MP?

Post by hic » Wed Apr 25, 2018 7:53 am

I would like to second the wish of having the possibility to move/copy/rename/delete companion or better sidecar files with the corresponding image files. Is there a timeline when this will be implemented (http://www.xnview.com/mantisbt/view.php?id=288)?

Regards,
hic

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Companion File Handing in MP?

Post by xnview » Sun May 20, 2018 12:31 pm

See issue for current status and some details.
Pierre.

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Companion File Handing in MP?

Post by xnview » Thu Jun 07, 2018 9:39 am

This problem is supposed to be fixed in XnView MP 0.91. Please check and confirm the bug fix here.
Pierre.

danhilu
Posts: 1
Joined: Wed Jul 11, 2018 8:08 pm

Re: Companion File Handing in MP?

Post by danhilu » Wed Jul 11, 2018 8:27 pm

Salut Pierre,
Merci for XnView & for this fix, excellent feature, glad to see it.
But - does not work for me with XnView MP 0.91.
Here my context & issue:
I have .CR2 as RAW, and I store as RAW+JPG, and I have some ON1 meta data files
When I uncheck "show companion files", [*.ON1] are correctly hidden, but [*.JPG] still show up.
In order to reduce the problem I've completely emptied the default extension list of and tried two set up:
First, "cr2" as "Master Extension", and "on1" as "Extension", "show companion files" unchecked: in this case, [*.ON1] are hidden.
Then, "cr2" as "Master Extension", and "jpg" as "Extension", "show companion files" unchecked: in this case, [*.JPG] are shown.
Merci!
DanieL

andrewj
Posts: 59
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Re: Companion File Handing in MP?

Post by andrewj » Tue Jul 17, 2018 8:08 am

Hi Pierre,
Thanks for what you have done so far. However I'm sorry, but there are a lot of bugs in this implementation. It might have been easier for you to copy what you had working so well in XnView.

Here's what I have found so far:
  • Companion file handling does not work with drag/drop move or copy, only if you choose copy/cut and paste from the menu
  • The system doesn't really work with the default rules, and there's no easy way to delete them. I had to delete the whole "list" section from the INI file and then add in explicit rules for each RAW filetype
  • If you delete the raw file then the display doesn't update correctly - the raw file disappears, but the JPG and XMP re still visible until you refresh the file list
Thanks
Andrew

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Companion File Handing in MP?

Post by xnview » Wed Jul 18, 2018 1:06 pm

danhilu wrote:
Wed Jul 11, 2018 8:27 pm
When I uncheck "show companion files", [*.ON1] are correctly hidden, but [*.JPG] still show up.
yes JPG is shown, else all your JPG will be hidden
Pierre.

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Companion File Handing in MP?

Post by xnview » Wed Jul 18, 2018 1:10 pm

andrewj wrote:
Tue Jul 17, 2018 8:08 am
. It might have been easier for you to copy what you had working so well in XnView.
But it's the same...
  • Companion file handling does not work with drag/drop move or copy, only if you choose copy/cut and paste from the menu
Here it works, which rules do you have? Which extension do you drop/drop?
[*]The system doesn't really work with the default rules, and there's no easy way to delete them. I had to delete the whole "list" section from the INI file and then add in explicit rules for each RAW filetype
you have the context menu to remove a rule
[*]If you delete the raw file then the display doesn't update correctly - the raw file disappears, but the JPG and XMP re still visible until you refresh the file list[/list]
The JPG/XMP are deleted, it's only a refresh problem, right?
Pierre.

andrewj
Posts: 59
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Re: Companion File Handing in MP?

Post by andrewj » Wed Jul 18, 2018 4:50 pm

Hi Pierre,

Drag and drop definitely doesn't work for me, if I drag the raw file. It works fine in XnView.

My rules are as follows:
cr2 -> xmp;jpg
crw -> xmp;jpg
arw -> xmp;jpg
rw2 -> xmp;jpg

There's no context menu for me in the settings dialog, files tab. Are you setting the rules somewhere else?

Re the last point, yes it's a refresh problem. The correct files are actually deleted.

Thanks
Andrew

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Companion File Handing in MP?

Post by xnview » Thu Jul 19, 2018 12:04 pm

andrewj wrote:
Wed Jul 18, 2018 4:50 pm
My rules are as follows:
cr2 -> xmp;jpg
crw -> xmp;jpg
arw -> xmp;jpg
rw2 -> xmp;jpg
It works for me, do you hide companion files?
There's no context menu for me in the settings dialog, files tab. Are you setting the rules somewhere else?
please check
Clipboard-1.jpg
Clipboard-1.jpg (37.15 KiB) Viewed 148 times
Pierre.

andrewj
Posts: 59
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Re: Companion File Handing in MP?

Post by andrewj » Thu Jul 19, 2018 12:26 pm

Hi Pierre,
Definitely no context menu for me. I have tried both left and right clicking in both columns...
I show companion files - I run with all three boxes checked.
Andrew

Post Reply