openSUSE / openSUSEway

dotfiles for Sway on openSUSE
MIT License
82 stars 17 forks source link

Cannot copy and paste from/to chromium browser #26

Closed jm2dev closed 3 years ago

jm2dev commented 3 years ago

I find impossible to copy/paste anything in chromium browser. It works fine (CTRL+C, CTRL+V, selection and mouse middle button).

I installed swaywm as instructed per the README file, on a vanilla opensuse tumbleweed system.

jubalh commented 3 years ago

I have the same problem on Firefox under GNOME Wayland. AFAIK it's a common problem that sometimes happens under Wayland but I'm not sure about the details.

jm2dev commented 3 years ago

Thanks for your response. It probably works for me because of the environment variables defined in the env file, and I wonder if another one is required for chromium to work. So far I haven't found a satisfactory solution, other than open a plain text file in chromium to paste content from, which isn't ideal.

denisok commented 3 years ago

hm, I don't use Chromium, but could reproduce. I could copy-paste inside chromium, and actually from chromium to some apps, for example Telegram, Visual Studio Code.

I see with xeyes that Chromium is running in X mode, Code as well, but Telegram is not....

denisok commented 3 years ago

BTW I tried Chrome and it works fine, so looks like Chromium misses some components.

https://bugs.chromium.org/p/chromium/issues/detail?id=986835

denisok commented 3 years ago

looks like Chromium is built with wayland support.

But who knows what bug is it: https://bugs.chromium.org/p/chromium/issues/list?q=clipboard%20wayland

denisok commented 3 years ago

@jm2dev I would close this if you don't mind, that is bug for upstream (Chromium). Feel free to reopen,