News for hackers. Stuff that matters.
Re:Using Windows after 15 years on Linux by cbm-vic-20 on Thursday April 07, 2022 @03:57PM (#30949624)
> Speaking of keyboard shortcuts provides the right segue to the clipboard behavior. I don’t know who had the brilliant idea of making copy and paste preserve the formatting of the source text. This is almost never ever what you want.

+1

Re:Using Windows after 15 years on Linux by etataetaet on Thursday April 07, 2022 @05:28PM (#30950552)
Holding shift while pasting will remove all the formatting for most programs! Still annoying but usually an easy fix.
Re:Using Windows after 15 years on Linux by dataflow on Thursday April 07, 2022 @05:40PM (#30950666)
I'd never heard of this, thanks for the tip. I just tried it in Word and had no luck, but it worked in Chrome. Any other programs you're aware of that respect this?
Re:Using Windows after 15 years on Linux by infamia on Thursday April 07, 2022 @07:28PM (#30951560)
Use Ctrl-Alt-V to paste without formatting in most Office apps. Lots of other Windows apps support Ctrl-Shift-V though.
Re:Using Windows after 15 years on Linux by dataflow on Thursday April 07, 2022 @07:45PM (#30951672)
Wow, thanks!
Re:Using Windows after 15 years on Linux by etataetaet on Thursday April 07, 2022 @07:21PM (#30951515)
Yeah the two main places where it comes up for me is LebreOffice and Google Docs! I'm surprised as word doesn't have it as its quite useful. It's really nice when I'm doing citations as most titles have some annoying color / font size.

I think there were a couple other programs that worked with it but I forget them! I've had quite a lot of success though as It seems like most of the programs I use respect it.

Re:Using Windows after 15 years on Linux by WaffleIronMaker on Friday April 08, 2022 @08:37AM (#30956118)
Word just has you press Ctrl+V to paste the text, and then Ctrl again to select the type of formatting you want to paste it with. It's not as elegant as Ctrl+Shift+V, but it works.
Re:Using Windows after 15 years on Linux by wanderer_ on Thursday April 07, 2022 @06:56PM (#30951304)
This might be because Word overrides system shortcuts (i.e. the 'paste without formatting' in this case). Google Docs tries to do this in the browser as well, but it happens to support this particular shortcut.
Re:Using Windows after 15 years on Linux by dataflow on Thursday April 07, 2022 @07:46PM (#30951679)
Is "paste without formatting" really a system shortcut? I'd never heard of it before. I feel like it might be something semi-standard that apps implement?
Re:Using Windows after 15 years on Linux by wanderer_ on Friday April 08, 2022 @02:07PM (#30960520)
I believe I may have seen it in a shortcut editor somewhere, but I suppose I could be misremembering or that could have been a one-off implementation.
Re:Using Windows after 15 years on Linux by humanistbot on Thursday April 07, 2022 @04:16PM (#30949821)
Most people who aren't programmers expect formatting to be copied and pasted.
Re:Using Windows after 15 years on Linux by uuyi on Thursday April 07, 2022 @05:16PM (#30950433)
Having watched my mother swearing at this on numerous occasions I would not make that assumption.
Re:Using Windows after 15 years on Linux by dataflow on Thursday April 07, 2022 @05:41PM (#30950681)
I think it depends on what you're copying. If you're copying text only, then no. But if you're copying text with images or other non-text elements, then possibly yes.
Re:Using Windows after 15 years on Linux by jmmv on Thursday April 07, 2022 @06:03PM (#30950872)
I think it also depends on where you are copying from and pasting into. If it's within the same document, you likely want to maintain everything. If it is within the same app (different docs), you may want to maintain everything. If it is across apps... I cannot imagine the use case for maintaining formatting.

But as you well said, respecting images, tables and the like is one thing. The other is keeping fonts.

Anyhow... so many options that a single feature doesn't fit all. The problem with Windows is the lack of a uniform solution to paste without formatting (my complaint) as opposed to macOS.

Re:Using Windows after 15 years on Linux by dataflow on Thursday April 07, 2022 @06:25PM (#30951069)
> But as you well said, respecting images, tables and the like is one thing. The other is keeping fonts.

Oh, to clarify: I meant: "if you're copying text along with images, you probably want to keep the text formatting [fonts etc.] too, whereas if you're only copying text, you probably don't want the formatting either." It's not a perfect heuristic by any means, but I think it'd be better than the current situation.

Re:Using Windows after 15 years on Linux by iso1210 on Thursday April 07, 2022 @06:38PM (#30951153)
> If it is across apps... I cannot imagine the use case for maintaining formatting

You have some formatted text (maybe some bold or italic in a line) on a webpage, you want to copy it into an email (lets set aside the argument that email should be text only).

Re:Using Windows after 15 years on Linux by benhurmarcel on Thursday April 07, 2022 @07:12PM (#30951452)