Announcement

Collapse
No announcement yet.

Copy and paste flaky

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Copy and paste flaky

    I've had this issue for a while but it seems more pronounced lately. Basically when I copy and paste something, often it does not take. It will either paste nothing, or it will paste something really old from a previous time I copied something. I find I really have to spam ctrl+c to get it to copy, but sometimes even that is not enough.

    I also noticed now that in Firefox it especially seems to fail a lot. For example if I want to copy an email address to Firefox, it won't take at all no matter how much I try. But if I copy the email address in notepad, then copy it again, then paste it in Firefox it works. It's really weird like that.

    Anyone else have issues with copy/paste, is it a known bug? I also tried right click and copy/paste, to rule out a keyboard issue, but it does not change anything.

    #2
    What are your clipboard settings?

    I think that the plasma clipboard can get out of sync with the xorg clipboard. The only issue I come across is also FF specific - It often pastes as HTML formatted text, which is a pain when creating a forum post or reply. I can't remember how I fixed that one, without resorting to a keyboard shortcut.

    I wonder if this is/was a plasma or Qt specific issue? I had some clipboard problems some time back (I use KDE Neon), so I wonder if Kubuntu's Plasma/Qt combo is a factor? I can't find a KDE bug report. I would have an extra blank entry in the clipboard above whatever I copied., so pasting would paste.... the blank line.


    It might be helpful to try setting Klipper to clear the history at logout, and see if that alleviates things.

    Comment


      #3
      Not sure if I'm looking in the right place but this is what I have:



      Experienced it even just pasting that link. It seems if I spam Ctrl+C it eventually copies but like if I right click and do "save image location" for example, which would rule out a keyboard or shortcut issue, it does not work.

      Comment


        #4
        Seems going between applications is where it really glitches out the worse, but it's still very random, like even within the same application sometimes it will just randomly cease to work. Like right now if I copy part of what I'm typing and paste it, it works, but other times if I try it, it won't.

        But if I try to paste it into another program, it won't work. If I try to paste here from another program, it works. But that's right now. Wait 10 minutes, and it might change. It's really weird. I do need to spam ctrl+c quite a lot to get a copy to go through as well, doing it just once rarely works. When it does not work, instead of pasting the last thing, it just pastes nothing. So, something is registering when I hit it once, but rather than copying the text it just clears the clipboard. But if I spam it enough times it eventually goes through.

        Either way this is super annoying. It's only gotten worse in the past few days.

        Comment


          #5
          HI
          You have an interesting question.

          It might help folks more knowledgeable than me for you to post your OS and version.

          I have noticed a similar thing on my ancient 19.04 and 19.10 installs, it is not "prevalent" but it happens with "drag and copy or drag and drop" between two splits of Dolphin.

          woodsmoke

          Comment


            #6
            Running latest Kubuntu. 20.04. This issue is getting worse, but it's really weird, like if it decides not to work, it will refuse to work for that exact situation, but then if I try to copy something else and paste it somewhere else it will be fine, then I can return to where I was originally trying, and then suddenly it will work. Like for example if it's not letting me paste from a console to a text file, I can paste it in the browser instead, (ex: a forum post or other text box) then I can copy it from there, and paste it in note pad. But if I try to copy and paste from console again, then suddenly it will work now. And that's just an example, the opposite can easily happen where I can't paste into browser, or can't paste from browser etc. Even copy/paste files is flaky, like if I'm in a folder and select files and do ctrl+c and then ctrl+v somewhere else it may or may not work, it's random.

            I'm probably going to end up reinstalling as I have a bunch of other issues with this system. Really don't feel like going through a reinstall though and having to resetup everything.

            Comment


              #7
              An idea - you've got more than one clipboard manager running, fighting and tripping over each other. The KDE one used to be called klipper, but it's been losing its identity as a distinct component and I'm not sure if that name is still used.

              Maybe run ps -fu $USER and look it, but I imagine you've already done that.
              Regards, John Little

              Comment


                #8
                Hmm is there a way to get rid of all the managers and just go with whatever is default? Not sure where there are two.

                This is output of ps -fu with my username.

                Code:
                user        1245       1  0 17:07 ? 00:00:00 /lib/systemd/systemd --user
                user        1246    1245  0 17:07 ? 00:00:00 (sd-pam)
                user        1252    1245  0 17:07 ? 00:00:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal
                user        1253    1241  0 17:07 ? 00:00:00 /usr/bin/startplasma-x11
                user        1272    1245  0 17:07 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --
                user        1301    1253  0 17:07 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/im-launch /usr/bin/startplasma-x11
                user        1322       1  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit --kded +kcminit_start
                user        1324       1  0 17:07 ? 00:00:00 kdeinit5: Running...
                user        1326    1324  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher --fd=9
                user        1340    1324  0 17:07 ?
                
                00:00:00 kded5
                user        1348    1324  0 17:07 ? 00:00:00 /usr/bin/kaccess
                user        1360    1245  0 17:07 ? 00:00:00 /usr/bin/kglobalaccel5
                user        1362    1245  0 17:07 ? 00:00:00 /usr/libexec/dconf-service
                user        1374    1253  0 17:07 ? 00:00:00 /usr/bin/plasma_session
                user        1379       1  0 17:07 ? 00:00:00 /usr/bin/xsettingsd
                user        1382       1  0 17:07 ? 00:00:00 /usr/bin/ksmserver
                user        1397    1382  3 17:07 ? 00:00:04 /usr/bin/kwin_x11
                user        1399       1  3 17:07 ? 00:00:06 /usr/bin/plasmashell
                user        1403       1  0 17:07 ? 00:00:00 /usr/bin/xembedsniproxy
                user        1405    1245  0 17:07 ?
                
                00:00:00 /usr/lib/x86_64-linux-gnu/libexec/kactivitymanagerd
                user        1407       1  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
                user        1410       1  0 17:07 ? 00:00:00 /usr/bin/baloo_file
                user        1429       1  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/kdeconnectd
                user        1432       1  0 17:07 ? 00:00:00 /usr/bin/gmenudbusmenuproxy
                user        1434       1  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/DiscoverNotifier
                user        1463       1  0 17:07 ? 00:00:00 /usr/libexec/at-spi-bus-launcher --launch-immediately
                user        1477       1  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil
                user        1479    1463  0 17:07 ? 00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibil
                user        1481       1  0 17:07 ? 00:00:00 /usr/libexec/geoclue-2.0/demos/agent
                user        1554    1245  0 17:07 ?
                
                00:00:00 /usr/lib/bluetooth/obexd
                user        1568    1245  0 17:07 ? 00:00:00 /usr/lib/x86_64-linux-gnu/libexec/kf5/kscreen_backend_launcher
                user        1593    1324  0 17:07 ? 00:00:00 desktop.so [kdeinit5] desktop local:/run/user/1000/klauncherEFUnCC.1.slav
                user        1595    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1596    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1597    1324  0 17:07 ? 00:00:00 tags.so [kdeinit5] tags local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1601    1324  0 17:07 ? 00:00:00 desktop.so [kdeinit5] desktop local:/run/user/1000/klauncherEFUnCC.1.slav
                user        1603    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1604    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1605    1324  0 17:07 ? 00:00:00 desktop.so [kdeinit5] desktop local:/run/user/1000/klauncherEFUnCC.1.slav
                user        1609    1324  0 17:07 ?
                
                00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1610    1324  0 17:07 ? 00:00:00 desktop.so [kdeinit5] desktop local:/run/user/1000/klauncherEFUnCC.1.slav
                user        1616    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1617    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1618    1324  0 17:07 ? 00:00:00 thumbnail.so [kdeinit5] thumbnail local:/run/user/1000/klauncherEFUnCC.1.
                user        1619    1324  0 17:07 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1714    1324  0 17:08 ? 00:00:00 file.so [kdeinit5] file local:/run/user/1000/klauncherEFUnCC.1.slave-sock
                user        1725    1399 13 17:08 ? 00:00:11 /usr/lib/firefox/firefox
                user        1804    1725  7 17:08 ? 00:00:05 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 
                user        1851    1725  3 17:08 ? 00:00:02 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 
                user        1922    1725  0 17:08 ?
                
                00:00:00 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 
                user        1964    1399  2 17:09 ? 00:00:00 /usr/bin/konsole
                user        1978    1964  0 17:09 pts/1    00:00:00 /bin/bash

                Comment

                Working...
                X