[MP 0.31] How to add a keyword to a selection ?

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

[MP 0.31] How to add a keyword to a selection ?

Post by mahikeulbody »

Let say I have 2 pictures, P1 and P2. P1 has the keyword A, P2 has the keyword B.
I would like to add the keyword C to both P1 and P2 at the same time in order P1 to have A and C keywords, P2 to have B and C keywords.

I fail to find the right options of 'Edit IPTC/XMP' to do that correctly :?
May be I fail to understand the way MP works in this case...

NB1. P1 and P2 are tagged with 'XMP only' mode.
NB2. I tried setting 'Add new value to array' option.
mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

Re: [MP 0.31] How to add a keyword to a selection ?

Post by mahikeulbody »

Well, I tried also with 'IPTC only' mode, without success : I don't understand how to add a keyword to a selection of pictures having already a set of keywords (a different one for each item of the selection).

So is it a bug or am I very stupid ? :?
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: [MP 0.31] How to add a keyword to a selection ?

Post by oops66 »

Hello,
You have different solutions (but still under development - beta stage, so maybe some bugs) :

1-) "On the fly"
you can try into the Browser Mode (Preview windows):
Multi-select thumbnails
Info tab \ Categories tab
Expend the "Other" directory , click on (+)
Left mouse click on Other \ New Subcategory
"your new keyword"
then check the related item(s) to apply to image(s)
...

2-) With the Edit IPTC/XMP menu ( ctrl + i )
Keywords tab
add new keywords
....
save

The behavior also depends of your custom setting in :Tools\settings\Metadata ...
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

Re: [MP 0.31] How to add a keyword to a selection ?

Post by mahikeulbody »

Thanks for the help.

I tried the 2nd way (with different option settings) and MP (or myself ?) fails to add a new keyword preserving the existing ones of each item of the selection.

NB. In this 2nd way it seems to me that the behaviour doesn't depend of Tool/Setting/Metadata but it depends of IPTC/XMP Editor/Options.
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: [MP 0.31] How to add a keyword to a selection ?

Post by oops66 »

mahikeulbody wrote:... In this 2nd way it seems to me that the behaviour doesn't depend of Tool/Setting/Metadata but it depends of IPTC/XMP Editor/Options.[/i]
Yes, I think in this case, it depends of the both configurations.
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

Re: [MP 0.31] How to add a keyword to a selection ?

Post by mahikeulbody »

The only related setting I see into Tools/Setting/Metadata is about DB categories but I don't want to use DB categories (at least for the moment), only keywords (i.e. subjects into XMP world).
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: [MP 0.31] How to add a keyword to a selection ?

Post by oops66 »

mahikeulbody wrote:The only related setting I see into Tools/Setting/Metadata is about DB categories but I don't want to use DB categories (at least for the moment), only keywords (i.e. subjects into XMP world).
You also can have the "XMP/IPTC keywords inside the DB", it's much faster. (default behavior)
In you case, maybe the option "Export DB categories to XMP keywords" is a good idea if you use the solution n°1 (with a synchronization).

PS: Do not forget to always make preliminary tests with some copies (especially with a beta version)
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

Re: [MP 0.31] How to add a keyword to a selection ?

Post by mahikeulbody »

I am not using MP 0.31 in production, I am only testing it. So I am not asking about another way to add a keyword to a selection, I would like one confirms there is a bug into IPTC/XMP editor in case of multi-selection or, at the opposite, shows me I am doing the wrong way.

Anyway, thanks for your help. I will try DB categories, of course.
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: [MP 0.31] How to add a keyword to a selection ?

Post by oops66 »

For your information:
Here, I have just make a test via solution n°2 (crtl+i), and that works fine here, new keywords are added into IPTC & XMP (with a multi-selected .jpgs mouse selection --> save all, - does not work yet if you tag the files)
OS:Ubuntu 10.04 under Wine 1.2 and XnViewMP0.31windows.
So i have not your bug .
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

Re: [MP 0.31] How to add a keyword to a selection ?

Post by mahikeulbody »

does not work yet if you tag the files
What do you mean ?

My test case
Tools/Settings/Metadata: all keywords settings unchecked (since I don't want to use DB categories right now)
Edit IPTC/XMP Editor: Mode = 'XMP only', all multiple selection settings checked but the last one ('Replace only if original value is empty')
I clean XMP and IPTC metadata of my two pictures (let say P1 and P2). I check also they don't have any DB categories.
I select P1 and I do ctrl-I.
I go to keyword panel, I write "kw1" and I add it doing 'Return' and then Save. I check that kw1 has been added to P1 through the XMP panel of Info windows (dc.subject[1] kw1).
In the same way, I add kw2 to P2.

Now I want to add kw3 to both P1 and P2 in order to have {kw1, kw3} for P1 and {kw2, kw3} for P2. So I multi-select P1 and P2 and then I do ctrl-I. What I have to do to get the expected result (using Save All, of course) ?

NB. I tried with Ubuntu under Wine and with Windows XP.
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: [MP 0.31] How to add a keyword to a selection ?

Post by oops66 »

mahikeulbody wrote:
does not work yet if you tag the files
What do you mean ?
Usually two ways are available with XnView & XnViewMP to multi-selected files.
You can multi-select files with a Ctrl + mouse selection, or use the tag functionality to select them.
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
User avatar
xnview
Author of XnView
Posts: 33840
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [MP 0.31] How to add a keyword to a selection ?

Post by xnview »

Are you able to add keyword to a selection?
Pierre.
Vapavite
Posts: 210
Joined: Tue Jun 26, 2007 1:57 pm

Re: [MP 0.31] How to add a keyword to a selection ?

Post by Vapavite »

Hello,

Si je peux me permettre et si nécessaire traduire !

En utilisant ou non la BD (choix dans Outils/Options/Métadonnées).
Les trois options cochées :
yes : Add new value to array
Yes : Keep original value if new value is empty
Yes : Replace only if original values is empty
Quel que soit le mode choisis (seulement IPTC, seulement XMP, etc) et quelque soit la manière de sélectionné les images, cela fonctionne toujours !
NB : Le plus important ! Seul le mot-clé ou les mots-clés à rajoutés doivent êtres visible dans la liste. Donc, pas tous ceux qui seraient déjà dans les mots-clés inscrits et qui seront "automatiquement" sauvegardés !
Vapavite @+
Post Reply