Apparently this resonates ๐
(I have been known to boost this particular image twice or trice before tbh)
@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.
๐
@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.
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.@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.
@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
@drakeblue @h5e Very likely, though it hasn't failed me yet :-)
I basically default to adding the Shift key whenever I paste stuff.
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.
I will also keep
* dying
* on this hill
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.
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โ.
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
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 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."