Copying of individual tag fields in Extended Tags (Alt+T) dialog seems broken


#1

Hello,

I just updated to Mp3tag 2.91d, and tried the new feature "Copying of individual tag fields" in Extended Tags dialog (Alt+T) that has been introduced in Mp3tag 2.91.

It seems currently broken, nothing goes into the clipboard :sob:

However, note that when using "Cut" the value is properly deleted.


#2

Have you tried to paste them to another file via the extended tags dialog?


#3

Have you tried to paste them to another file via the extended tags dialog?

This scenario works (though it the destination tag already exists, it doesn't replace the value, but adds a second tag).

These cut/copy/paste commands are quite unconventional, is it technically the best doable?


#4

This has been discussed before, see

Can you be more specific?


#5

I mean being as close as possible as regular copy/cut/paste commands:

  • Copy would put the tag value in the clipboard
  • Cut would put the tag value in the clipboard + delete the value
  • Paste would replace the tag value with what is stored in clipboard

In addition to the principle of least astonishment, this behaviour would make it possible to:

  • move values from one tag to another
  • paste any plain text, for example from another program

#6

I've thought about this quite extensively while implementing the feature. I think it's important to note, that the feature deals with field-value pairs and not only the tag values. Given that we're talking about the same thing, the only differences from your proposal to the current implementation are

  1. pasting a field-value pair doesn't replace existing ones. As I've mentioned in the topic linked to above, this is intended behavior. It allows for pasting field-value pairs and adding them to existing ones. Replacing can be done by pasting and removing unwanted entries.

  2. When I read between the lines, you wish for a textual representation of the copied/cut field-value pairs in the clipboard so that you can use the data in an external application. This is a feature request and is on my list.

This statement makes me doubt that we're talking about the same thing. Can you explain what would be the least astonishment (referring to the principle quoted above) if you copy this text to the clipboard and paste it? In my understanding, the text representation would need to follow at least a certain structure, e.g., FIELD = VALUE to be processed in a way that makes sense.


#7

Indeed, I understood that what is currently copy/pasted is some internally managed field+value set.

When I read between the lines, you wish for a textual representation of the copied/cut field-value pairs in the clipboard so that you can use the data in an external application. This is a feature request and is on my list.

That's this. If it were up to me, it would put to text clipboard only the tag value. But this wouldn't please everyone. And what about if several tags are selected…

Now that I understand better the situation, I also understand it's more complicated than I initially thought…