Copy a portion of a Messages.app message on macOS [duplicate]

I am pretty sure I used to be able to select and copy text in Messages.app like in any other app (click + drag, double-click, etc.)

Right now I don't seem to be able to do this.

I am not sure what updated last, I am on macOS 10.14.6, Messages.app 12.0

Use case:

enter image description here

How do I copy the code from the message?

enter image description here


Solution 1:

Looks like it was a bug.

I restarted Messages.app and now it works as expected (and as it should have done in the first place)

enter image description here

I'll keep an eye out and edit this answer if I figure out what causes the bug.

Solution 2:

It does have an odd behaviour, but one that's easy to work round.

If you click-hold, the 'reaction' pop-up will appear, so the trick is just a short click.

If you click once straight onto the message bubble, anywhere, the text goes grey. At this point any interaction is with the entire message. If you directly double click or right click whilst the text is initially black, it doesn't go to grey, you can interact directly.

Basically, don't do that first click. You can do anything else & it works as individual words - so right click, double-click or click-drag works, for instance.

If you click outside the message bubble, the text goes back to black & you can now interact like any ordinary text.

BTW, verification codes like that will be found by Safari & will click right into the web page.

Examples

  • Grey text - handled as a single item for copy/paste.

enter image description here

  • Black text, can be individually selected.

enter image description here

  • Same in dark mode (first message is selected)

enter image description here

  • Smart fill-in feature in Safari

enter image description here