Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Strange copy-and-paste problem

  1. #1

    Default Strange copy-and-paste problem

    I've been having some real copy-and-paste problems, and I don't know quite where to begin. The biggest problem is copying and pasting into LibreOffice Calc, but there are also copy-and-paste issues into gedit, and occasional problems with Firefox or Chromium.

    It's not constant - somewhat intermittent but frequent.

    I open a pdf file (one that you can copy-and-paste from). I then try to copy and paste information from the pdf into either LibreOffice Calc or gedit. Sometimes it works fine. Sometimes when I try to paste, I get the previous copied item (this has been reported but in a different context, and seemed to be LibreOffice only in other people's description). That has held true for both LibreOffice AND gedit! I also have had occasional problems copying back and forth to Firefox or Chromium.

    Sometimes it will copy fine and paste - but when I try to paste the information into multiple cells, it only pastes into the first one. (That's a minor irritation.)

    It's not limited to using the mouse for copying, control-C (which I use a lot) also will do it. Doing Control-C twice sometimes seems to trigger the problem in the previous sentence, other times it works fine. I've done some reading and have found nothing that works. This 'feels' (experienced observation) to be more than LibreOffice, unlike the other reports I read.

    I'm using Leap 15.2, LibreOffice 7.1.3.2. I have problems from PDF files to Calc, gedit, Firefox, Chromium. I have problems going between the different programs, although it's far less of an issue with Firefox and Chromium than with gedit or Calc. It's also showed when using Writer.

    I'm getting tired of having to copy twice to get the right info pasted. I do a LOT of cut-and-paste in my work (gathering metadata from formal reports), and it's slowing me down.

    I'd appreciate some assistance with this!

    Thanks!

    Bob

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,147

    Default Re: Strange copy-and-paste problem

    This is probably in a desktop, but I failed to find which DE you use.

    Personally I use KDE Plasma and I copy/paste in the X-Windows way: using mouse left button to select a piece of text, when needed left button click on the place where to paste and then middle button click to paste. But I have seen other people using weird typing on the keyboard. So it seems that there are several ways to copy/paste. Better always explain exactly what you do instead of hoping that others have the same working habits as you.

    Also with KDE, after selecting with (left mouse button) that text is then in the KDE Clipboard. When copy/paste doesn't function as you expect, is the text then in the clpiboard or not?
    Henk van Velden

  3. #3

    Default Re: Strange copy-and-paste problem

    I'm using Gnome Classic.

    I use the keystrokes for copy-and-paste (control-c, control-v) a lot - for me it's a LOT faster than the mouse. They're also old-school, used in word processors before the mouse was invented. There is a bunch of them, carried over from Word Perfect.

    Thanks for the reply!

  4. #4
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,974

    Default Re: Strange copy-and-paste problem

    Quote Originally Posted by Archaeometrist View Post
    I'm using Gnome Classic. I use the keystrokes for copy-and-paste (control-c, control-v) a lot - for me it's a LOT faster than the mouse. They're also old-school, used in word processors before the mouse was invented. There is a bunch of them, carried over from Word Perfect.
    From https://www.milanlaslop.dev/post/202...ary-selection/

    Linux - disabling primary selection and using only clipboard selection

    There are 2 clipboard-like mechanisms in Linux - primary selection (copy by selecting text and paste by middle mouse button) and clipboard selection (copy by CTRL+C, paste by CTRL+V).
    I presume some users want to disable primary selection. I use the primary selection and never use CTRL+C, CTRL+V and others.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,147

    Default Re: Strange copy-and-paste problem

    Quote Originally Posted by Archaeometrist View Post
    I'm using Gnome Classic.

    I use the keystrokes for copy-and-paste (control-c, control-v) a lot - for me it's a LOT faster than the mouse. They're also old-school, used in word processors before the mouse was invented. There is a bunch of them, carried over from Word Perfect.

    Thanks for the reply!
    You are of course free to use any existing way of doing things the way you like it. And there is no need to explain why it is your preferred way of doing it. And you are also free to ask questions when this way of working gives you problems. But assuming that the way you do it is thus the way anybody will do it that thus posting a question without further explanation about what you do requires asking from this side. With all the loss of time end effort involved.

    Same with using Gnome. That is very fine, but when you do not explain, how can others know?
    Henk van Velden

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,363

    Default Re: Strange copy-and-paste problem

    Quote Originally Posted by Archaeometrist View Post
    It's not constant - somewhat intermittent but frequent.
    A “feature” of UNIX® systems is the “copy and paste buffer” and, the “clipboard” – which often causes some confusion in the user community …

    All is not lost – there's an ArchWiki article – <https://wiki.archlinux.org/title/Clipboard>.


    I admit to also being caught out by this Clipboard behaviour – with KDE Plasma – occasionally I have to click to the Clipboard Plasmoid (Klipper) to select the item to be pasted …
    BTW, the KDE Klipper handbook mentions this –
    The X Window System® uses two separate clipboard buffers: the “selection” and the “clipboard”. Text is placed in the selection buffer by simply selecting it, and can be pasted with the middle mouse button. To place text in the clipboard buffer, select it and press Ctrl+X or Ctrl+C. Text from the clipboard buffer is pasted using Ctrl+V or by selecting Paste in a context menu.

  7. #7

    Question Re: Strange copy-and-paste problem

    Quote Originally Posted by hcvv View Post
    You are of course free to use any existing way of doing things the way you like it. And there is no need to explain why it is your preferred way of doing it. And you are also free to ask questions when this way of working gives you problems. But assuming that the way you do it is thus the way anybody will do it that thus posting a question without further explanation about what you do requires asking from this side. With all the loss of time end effort involved.

    Same with using Gnome. That is very fine, but when you do not explain, how can others know?
    I don't understand why you're replying like this. I never assumed that the way I do things is the way everyone does it - but throughout my life, I've had people insist that I do things the way THEY think they should be done (and I'm past tired of that). I've never used the middle button for copy-and-paste (didn't even know that it would work). WWFY is my mindset. I use keystrokes. Other people do things different. IMO, neither method is superior, but both should work.

    I also don't understand what you mean about Gnome. I was asked, I answered with that information.

    I do see that others have pointed to sources that might help. I appreciate that - I've already spent a couple of hours searching on how to fix that problem, and the answers I'd found, were all about the same issue with LibreOffice, but didn't include the other software I use all the time.

  8. #8
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,363

    Default Re: Strange copy-and-paste problem

    Quote Originally Posted by Archaeometrist View Post
    I never assumed that the way I do things is the way everyone does it - but throughout my life, I've had people insist that I do things the way THEY think they should be done (and I'm past tired of that). I've never used the middle button for copy-and-paste (didn't even know that it would work). WWFY is my mindset. I use keystrokes. Other people do things different. IMO, neither method is superior, but both should work.
    I suspect that what's going on here is, an unwanted interaction between the “selection buffer” and the “clipboard buffer” –
    • You point out that, you only ever use keystrokes.
    • The question is, what happens when you select text by <Shift-Ctrl-LeftArrow (or RightArrow or UpArrow or Down Arrow)>?
    • I suspect that, the selected text will be placed in the “selection buffer” but, need to test this with a “try and see” method …
    • I do notice that, KDE Plasma also places test selected by keystrokes in it's Clipboard – which may well service both buffers …
    • But, that's something I'll investigate next week – Tuesday at the earliest …


    BTW, please try to not be upset by Henk's style – he's even older than me and probably feeling his age even more than me – and I'm old enough to remember repairing DEC PDP-11 machines in the late 1970s – Tool-Case, Oscilloscope, Micro-Fiche, hardware schematic drawings …

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,147

    Default Re: Strange copy-and-paste problem

    Quote Originally Posted by Archaeometrist View Post
    I also don't understand what you mean about Gnome. I was asked, I answered with that information.
    .
    I was only talking about your very first post in this thread where you neither informed us that you were using Gnome, nor how you copy/paste. Thus my conclusion that you implicitly must have assumed that people you ask for help do these things the same you you do them.

    But better go for your real problem.
    Henk van Velden

  10. #10

    Default Re: Strange copy-and-paste problem

    Quote Originally Posted by dcurtisfra View Post
    I suspect that what's going on here is, an unwanted interaction between the “selection buffer” and the “clipboard buffer” –
    • You point out that, you only ever use keystrokes.
    • The question is, what happens when you select text by <Shift-Ctrl-LeftArrow (or RightArrow or UpArrow or Down Arrow)>?
    • I suspect that, the selected text will be placed in the “selection buffer” but, need to test this with a “try and see” method …
    • I do notice that, KDE Plasma also places test selected by keystrokes in it's Clipboard – which may well service both buffers …
    • But, that's something I'll investigate next week – Tuesday at the earliest …


    BTW, please try to not be upset by Henk's style – he's even older than me and probably feeling his age even more than me – and I'm old enough to remember repairing DEC PDP-11 machines in the late 1970s – Tool-Case, Oscilloscope, Micro-Fiche, hardware schematic drawings …
    I greatly appreciate that! I've learned a lot through this headache... if my time and resources weren't so limited, I'd be doing more to try to figure it out!

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •