cosmic-epoch
cosmic-epoch copied to clipboard
Copy paste issues
Hey, thanks for the hardwork I'm enjoying trying out the new environment.
The copy paste behavior seems "strange". I am not sure how I got into this state but at one point I couldn't copy anything from firefox (from right click menu and ctrl C) well the clipboard buffer wasn't being updated. I killed Firefox and restarted it, it now seems to be working but other applications seem to have a different clipboard buffer, I am trying to copy something from firefox into VS code but when pasting in vs code I get the last thing copied in VS code.
None extensive testing:
- Copy firefox -> paste firefox = OK
- Copy firefox -> paste VS Code = Not OK (contents from VS code)
- Copy VS Code -> paste VS Code = OK
- Copy VS Code -> paste Postman = OK
-
- Copy VS Code -> paste Firefox = OK
- Copy Firefox -> paste postman = (not OK I get the contents copied from VS code)
Not sure if there is anything else I can test? Quite potentially a reboot could solve this but thought I would bring it up as you are in alpha
I face also plenty of issue with copy paste even within two windows of the same app like two libreoffice files open in two windows. The weird thing is that I don't think I was facing such issue before alpha 3, at least it didn't bother me as much as now.
Upd: this is less serious since i noticed i can Ctrl+V paste into terminal. nice job. nxt step: smart Ctrl+C, lol.
adding another paste issue: newly openned terminal (via Super+T) cannot be paste into. however, if i paste somewhere else, it can then be normally pasted into. so it neither clears clipboard nor prohibits pasting, but this very weird issue i actually failed to imagine its cause.
#paste_issue #terminal
Having the same issue copying and pasting from the Brave browser into emacs (using the GTK3 version running under Xwayland).
Same issue here and renders cosmic quite unusable for actual work... :(
Do we all experience these issues when clipboard manager applet is on only or do you experience these issue also when the applet is off?
I get the same with or without clipboard manager applet. Clipboard support in general is just chaotic and unpredictable for me. Can't even reproduce it entirely.
Using primary selection clipboard (select to copy middle mouse to paste) helps but that too sometimes has nothing in the clipboard when trying to paste for no apparent reason.
Regarding pasting and nothing happening, this is a known issue when you've copied data from a closed application: https://github.com/pop-os/cosmic-comp/issues/1142
Copying from Zed IDE --> pasting to Slack does not work. I can paste the same line into Firefox, so I know it successfully copied
I have major paste issues, where copying from browser to terminal / other apps will freeze the app dead, either closing the app or needing to kill it. This has been going on for several alphas now. Very erratic, like playing roulette whether the paste will succeed or hang the app. Seems to maybe be format related, as I seem to have success using wl-paste to "sanitize" the paste by pasting type plain/text and the then copying that again.
I've got similar issues, normally uses copy/pasting in between, zen browser, wezterm, slack, vs-code and vs-codium and paste fails alot, I've not found any pattern. What I found that seems to always work (at least 99% of the times) is to paste into cosmic text-editor and then mark it and copy from there, then I can always paste into the app I intend to. Maybe this can give some clue.
For what it's worth I am also struggling with copy/paste issues. ctrl+v doesn't work in cosmic-terminal, but the edit->paste menu does.
A bigger issue is that I have workflows where I want to copy something into the clipboard on the wayland side, then paste into a task running on the x11 side.
I have helper scripts that pull secrets on the wayland side, and in kde used to put them on the primary clipboard which evidently was synchronized because ctrl+v on the x11 side worked without needing to think about it in KDE.
Thus far, my work around is this:
- wayland get info/helper startup script
PASS=redacted
FIFO=${HOME}/.my-paste-fifo
if [ ! -p ${FIFO} ]; then
mkfifo ${FIFO}
fi
echo ${PASS} | wl-copy
echo ${PASS} > ${FIFO} &
launch_command_here
- x11 side: Once the program is launched this injects the text
# This script is triggered via a custom global hotkey setup.
export DISPLAY=:1
xvkbd -xsendevent -text $(cat ~/.my-paste-fifo)
It's clunky but it works and I can remain using cosmic without disrupting my handful of places where I want/need to do this. Some of the secrets I lookup in 1password are very long and cumbersome to type. This helps unify things and lets me work.
I used to echo the secret into xclip, but either xwayland doesn't have ctrl+v bound at all, which might be the case or something else is wrong. Either way it might be cool if wayland/xwayland kept at least their primary clipboard synched up and shared the same copy/paste keys. YMMV
I'm getting hit by this one after the last update I made: it seems some apps fail to put the copied content at the top of the stack, while some do it fine?
For example:
1Password and Brave always succeed in copying to the top of the clipboard stack, but Firefox, IntelliJ IDEA and Neovim in Cosmic-term always fail.
I'm not sure where to start looking - it seems I even got it to work for a short time for the failing apps above when I had wl-paste -w ls running in a window, but after a while it started failing again.
So it looks to me like it's a thing with cosmic?
I have another computer where all this works fine: no copy-paste issues whatsoever. They are on the same Pop version (24.04 with Cosmic), but the one where thing fail was upgraded from 22.04. Though everything worked fine with copy-paste on that one too until the recent update from ca. May 1.
I noticed a pretty strange issue, using cosmic 24.04 LTE, nad trying to copy paste from different windows. The first paste goes smoothly, but then untill I close and open the "target" application again all the subsequent paste are empty
Copy to clipboard is a issue since alpha releases and persists in Beta.
- Empty clipboard just after copy - cross windows.
- sometime coping complex content - image, table (sheet/markdown) causes windo to crash (any browser/sublime)
Sometimes I suspect that the CTRL key is not working sometimes when I switch app, and I have to switch app focus and switch the focus back to fix it.
Issue persists on my Cosmic session. Copy-pasting from Zen browser to Hexchat requires repeated ctrl-v inputs to succeed on the first paste. Following pastes work on the first input afterwards.
Apologies for the spam I found exact way to replicate.
if you stack apps and navigate between the stacked apps with mouse the keyboard doesn't work/ paste doesn't work either.
but if you navigate the stacked apps via hotkeys it works fine.
on my side I have very strange behaviors.
• sometimes copy don't happen. it just do not copy the selected text. I have to "Ctrl-shift-C" or right click and select copy many times (2 or 3) to have it in the clipboard so I can paste.
• sometimes middle click button do not paste selected text, but a this precise moment (after the middle click) if I go back to windows were is the selected text and right-click and select "copy" it immediately paste in the previous windows (typically the terminal). what's weird is that if you middle click few times it then paste text when copying as many times as your middle clicked.
Just my 2 cents on this: Cosmic 1.0.0.beta.1.1-1.1 on Arch Linux.
Copy / paste Browser -> Kate editor (XDG) - does not work, after reopening Kate I can paste but only once (1 time exactly) Copy / paste Browser -> Double Commander (XDG) - does not work, after reopening Double Commander I can paste but only once (1 time exactly)
Gtk gedit copy paste with same scenario is perfectly fine.
Any known workarounds for this?
Hello, I'm using cosmic desktop on Fedora atomic distribution. When I try to paste some text copied from Firefox into any Chrome family browser, it crashes. I have to kill the process to get it on again.