@CriticalCupcake It used to be before someone decided to include the formatting on the copy command.
Top-level
@CriticalCupcake It used to be before someone decided to include the formatting on the copy command. 10 comments
@TimWardCam @CriticalCupcake Create a problem and then let someone else come up with a solution, when they do, make the problem more complicated and make others do even more work to come up with a solution. @davesmeg @CriticalCupcake I was indeed surprised when I started writing clipboard code to find how complicated it was. There's also yet another layer of complexity around keeping stuff on the clipboard after the publishing application has closed. But all this complexity is designed to give a simple and straightforward user experience ... which it was, until some misguided smartarses decided to change their default format for text pasting. @davesmeg @TimWardCam @CriticalCupcake As always, this should be the USERS choice. There was already the problem of the paste command losing information. A no-no! It's not just a plain text world for many people. @ianp5a @davesmeg @CriticalCupcake Yes, it should be the user's choice. We're discussing what should be the *default*, without having to right click or find a menu or anything. @TimWardCam @davesmeg @CriticalCupcake Defaults will never be right for everyone. Defaults are something where devs are damned if they do, and damned if they don't. If you can't give a user choice, then if you are in an IT setting, then maybe plain text is preferred. Many of us are not in IT though. @ianp5a @TimWardCam @davesmeg @CriticalCupcake @MennoWolff @ianp5a @TimWardCam @davesmeg @CriticalCupcake @TimWardCam @ianp5a @CriticalCupcake I think that when using right-click to select "copy" there should be an option of "copy with formatting." @davesmeg @ianp5a @CriticalCupcake That's not how the Windows clipboard works - the "cut" operation should offer as many formats as the source application can cope with, it's up to the "paste" application to choose one that it understands. What we're discussing is what should happen when the "paste" application can understand multiple of the formats on offer. |
@davesmeg @CriticalCupcake It's a long time (decades!) since I've written any low level Windows clipboard code, but my recollection is that the cutting application should register as many formats as it be bothered to cope with generating, and it's then up to the pasting application to choose which one it wants. So I would put the fault firmly on the pasting side.