I will keep dying on this hill

Apparently this resonates ๐Ÿ˜‚

(I have been known to boost this particular image twice or trice before tbh)

Lol yโ€™all keep having fun with this, it just got boosted into my timeline again ๐Ÿ˜‚. As I have looooong since muted notifications for this toot I havenโ€™t noticed itโ€™s still doing the rounds. I should add that I did not make this meme but as it is with things like that I donโ€™t know who did either. Kinda wish I did now instead of shining with someone elseโ€™s feathers. At least the message gets spread ๐Ÿฅฒ

@h5e Definitely.

I usually want to paste text without formatting.

Sometimes I want to paste formatting without text.

I can't think of any situation where I've wanted to do both.

Have autohotkey kajigger your ctrl+v to a ctrl+shift+v?

@UrbanEdm @h5e

@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.

@shi @h5e ๐Ÿ˜ญ I like the formatting being default as 80% of the time that's what I need

@SabiLewSounds @h5e
speaking earnestly: same. if paste without formatting was the default, re-arranging heavily formatted text in a word-processor would be really annoying, for instance. Also Ctrl+Shift+V is these days pretty much a de facto standard keybinding for plain-text paste.

(๐Ÿคซ I might've been a lil bit silly in my original reply and in hindsight should've probably added a tone indicator)

@shi @h5e Both are needed. Programs that copy should not put formatting there by default in case a badly behaved program uses it, and programs that paste should not paste formatting by default in case a badly behaved program put it there.

This is not just a nice UX matter but a privacy/security one. C&P of formatting is an info leak side channel that exposes sources, process, etc.

@dalias @shi @h5e I think I might have a way to fix this for Linux. Will this help anybody?

@stags @shi @h5e I think recipes to avoid formatting getting preserved on clipboard are useful, but the benefit is limited to people who are already aware it's an issue and that there's a solution.

This really needs to be fixed universally: default of non-formatted copy and non-formatted paste everywhere, with formatting only if you explicitly ask for it at both copy time and paste time.

@dalias @shi @h5e the thing is that with the way current things work,each application implements its own copy and paste methods. Some even give you the opportunity to set the default behavior.

The only way for us, as a community, to change default behavior is by telling the devs directly via contact forms and telling them indirectly by preferring and using apps that behave like we want them to. This is true for copy/paste behavior, data stealing for AI, forcings ads, etc

@h5e it should at least always be available. The frequency with which I have to do the โ€œpaste in a text editor, copy againโ€ trick is just sad.
@drakeblue @h5e On Macs you can usually just press Shift + Command + V to paste without formatting.
@simongray @h5e that's a good tip, but somehow it still doesn't always work everywhere :(

@drakeblue @h5e Very likely, though it hasn't failed me yet :-)

I basically default to adding the Shift key whenever I paste stuff.

@simongray @drakeblue @h5e I thought ctrl+shift+v on a PC keyboard was Paste, but there's a neat trick where you leave out the Shift key and it will paste with formatting
@cherdt Unless you have to use Office a lot, because for some reason M$ decided to break that behavior and force you to go through their awful paste menu

@h5e

Absolutely, the amount of times I paste something into notepad and then copy it again to where I actually want it to go is ridiculous.

I particularly like whatever the hell Gmail does with formatting that means you can never seem to paste into or out of it without completely messing up what you've typed.

@h5e This meme was made by the CTRL + SHIFT + V Gang
@h5e Yes, it definitely should!
@h5e It might be nice to be able to set a system wide variable (like dark/light mode) and allow apps to read the setting and use that by default. I personally usually prefer formatted paste, but I like the idea of allowing the user the option - just please not in every app individually! ๐Ÿ˜…

@h5e

I will also keep
* dying
* on this hill

@h5e Amen!! (I'm a big fan of plain text.)
@h5e Agreed. Meanwhile, if you're copying from a web page the 'copy plain text' browser plugin is useful.

@h5e

Especially MS Word. Paste, click, right-click, click plain-text, every time.

@h5e I have a slightly more nuanced take:

99% of the time what people want is the stuff implemented by markdown. That is, bold stays bold, italic stays italic, bullets stay bullets, but font size and styling goes away. That's the real problem - if I copy text in 30 pt Comic Sans, I don't want that. But if I copy a list of bullet points, I want them to stay bullet points.

Also, when I do copy with style/format, it should reproduce perfectly. But html is a trash language. So we get mangled.

@h5e please tell me you copied and pasted this from somewhere
@h5e yes please!
*can't remember the shortcut for it and ends up using editor instead*

@h5e

I use the macOS utility Paste Plain Text (Fiplab), which lets me set โ€œAutomatically clear formattingโ€ as default, but also to switch back and forth, and (when formatting is cut or copied) to โ€œClear formatting from the clipboardโ€.

@teresa_arroyo

@h5e Rage on, sister! Iโ€™m with you every step of the way.
@h5e YES! It's so annoying when it's not the default.
@h5e let's hope that our deaths will not be in vain
@h5e @geerlingguy I passionately agree. I think the trouble is that we know how to work around it being formatted but there are many (so. many.) more people who don't when it's not formatted.

@h5e

This.

Also, as a long-time Linux user, copy-with-anything-other-than-plain-text is a new thing that I'm only starting to get used to.

(Being able to paste a picture into Mastodon is *really* nice, though.)

@h5e ๐Ÿ’ฏโ€ผ๏ธ
@h5e I have backed off from this one because I read that Microsoft actually ran numbers on this and found more people wanted to keep formatting than not. However I will back you to the hilt if you were to suggest it should be possible to set a different default for your system.
@h5e
10% it's a feature, 90% it's a nnoying
@h5e - I would argue that the copy buffer may have a source link that can be pasted separately _IF_THE_PERSON_PASTING_IS_LOOKING_FOR_THAT_, not by default. Perhaps with 'ctrl-alt-Insert' or other less used key combination. At the very least, options for 'paste' should be provided the first couple of times someone paste's into a document, with one of those options being to 'set this as default.'
@h5e And there should be standardised keyboard shortcuts for both options.
@h5e
#OMG and Microsoft Teams is the worst offender
@delawen
@infosec812 @h5e @delawen I wouldn't mind Paste with formatting to be default. What I don't like is Paste with formatting and totally f- it up... Yes, MS Teams is also for that quite bad.
@h5e
And I shall die beside you. โš”๏ธ

@h5e
Also, highlighting shouldnโ€™t grab formatting by default. Especially line breaks*!

Highlight inner bullet point, paste, document blows up. Hit enter and Iโ€™m in a new section as that followed the second level bullet point.

Actually this also needs changing. As a programmer, Iโ€™d put the section break in front of the title of the next section, not on the end of the previous thing. You are opening a new thing, not closing the old one, itโ€™s even in the name!

*Carriage return for the older folks.

@h5e It's not because of discoverability. When people see an unformatted paste, they don't assume they pushed the wrong button and didn't get the formatting... They assume this is not a context where formatted paste could work.

... That having been said, me too. ๐Ÿ˜‰

@h5e especially, and I cannot stress this enough, in a spreadsheet
@h5e It used to be the default, but then coders fucked it up in the name of "adding features".
@h5e yes, I have pasted text in the url bar so many times to clear the formating. Additionaly if you paste multiline text in a single line input, it should just strip the line breaks

@h5e Among my many annoyances with copying formatting is when I copy a URI or an address with an '@' in it, and see it in blue, underlined. Did it render it as a hyperlink? Is it just the color and underlining? Did it misinterpret a Fediverse or XMPP address as an email address?

And in general, I think there's a loss of understanding of the virtues of plain text.

"This screenshot could have been the text from the terminal."

"This PDF could have been a text file."