I will keep dying on this hill

@h5e whenever people say this, all I can think of is:

"COPY without formatting" should be the default, paste should paste whatever is on the clipboard.

😅

@shi From what I understand is that both formatted and unformatted copies are made at the same time, and maybe even other media (for instance you can copy an image from a website and then both the image data and the url are captured). I honestly think this is great and allows the most flexibility.

@h5e @shi Indeed. At least on Windows, programs can copy data in multiple formats to the clipboard. The destination program decides what to do when the user says Paste, like choosing the most sensible format for the app. E.g, Notepad chooses "plain text" instead of RTF, and pastes nothing if there's no "plain text" data.

IIRC you can witness this in MS Word by choosing "Paste Special..." or such option.

@smurthys @h5e @shi Is there documentation for how a destination program can decide which format to pull?
@AT1ST @smurthys @h5e there are a few ways, but e.g. the Windows API has a function EnumClipboardFormats that'll enumerate through the formats currently available on the clipboard. If you're looking for a specific format only, there's also IsClipboardFormatAvailable.
EnumClipboardFormats function (winuser.h) - Win32 apps

Enumerates the data formats currently available on the clipboard.