by mistercow · 5y ago · 0 comments
I know that this is tangential to the point of the article, but it highlights an important point: you can't always trust what users say they want. You need to listen to them, because their frustrations point to real problems, but finding out what the actual solution is involves more work than just taking the user's suggestions at face value.
BTW in most programs that handle rich text, SHIFT-CTRL-V does a plain-text paste without the source formatting.
Boldness, italics and underlining actually denote meaning, whereas font and colour are generally just aesthetic
The linked text format is usually Rich Text (RTF). This allows a lot of things, but the Desktop Publishing tools only interpret the tags for bold, italics, underline, and a few other things (strikeout, subscript, etc.) All other styling in the linked text, they throw away.
This is precisely because, as you say, those specific styles actually denote meaning. They're something the writer adds. No other styling is used from the linked text, because none of the other styling is the writer's job.
All other styling is instead applied to the block(s) within the layout where the text gets embedded into. It's the layout designer that gets to decide the font, size, spacing, etc. for the text. Those attributes aren't stored with the text; they're stored with the layout.
To me, this makes far more sense as a workflow, even if you're a single author. I constantly wish that "word processors" had restructured and absorbed ideas from Desktop Publishing software when it came about. Instead, we got the garbled hybrid: you can have "document styles" like Title, Heading, Body, List Item, etc.; but they are essentially markup, moving around with the text (rather than there being any concept of an "section of the document" that gets styled, that text can be moved into/out of, and where the styles of that section will apply to the text only while it remains inside that section, such that moving text out of that area doesn't copy the styles of the section, only the styles of the text.)
What I'm looking for, though, is particularly for the font itself, the font color and maybe the size to match. If something is bolded, or italicized, that should ideally be retained.
A good configuration could be to ask whether you want the formatting of what you're pasting to match the document, and then ask if they want to set that choice as default.
So the tweet may be describing a better practice for many use cases, but it may not be the practice most people want.
* Copying formatting works well and is desired when it is done within an app but it is janky and undesired when the apps are different.
I furiously hates copying/pasting of formatting. After reflecting, the problems all exist when I'm pasting from one app to another.
I just think out of the apps I use, the ones where paste with formatting is the default (eg it's what CMD+V does) are the ones where I'm usually pasting from somewhere else.
Perhaps you should consider asking the user what they want by just giving them options. No need to prematurely break your software. (which is what most good software does now.)