Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775224 - www-client/firefox-86.0: copy/paste does not work for firefox under wayland
Summary: www-client/firefox-86.0: copy/paste does not work for firefox under wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-10 08:11 UTC by giskard
Modified: 2021-06-18 14:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giskard 2021-03-10 08:11:05 UTC
Clipboard in Firefox running under Wayland (GNOME Wayland) doesn't always work:

1. text copied outside firefox into any firefox window.
2. text copied from firefox window does not paste outside firefox.
3. text copied in firefox window can be past as it should be in firefox window
4. text copied from keepassxc can be paste in firefox and other applications when the issue exist

sometime I need to restart firefox and the copy/paste may work for a while, but later it does not work.

the issue seems to be related to wayland and have been there for a while. Here is some reference I found:
1. seems to be fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1631061
2. same issue with kde: https://bugzilla.mozilla.org/show_bug.cgi?id=1567762
3. fixed for kwayland: https://bugs.kde.org/show_bug.cgi?id=411682

currently installed version:
www-client/firefox-86.0
dev-libs/wayland-1.18.0
dev-qt/qtwayland-5.15.2-r1

Reproducible: Always
Comment 1 jospezial 2021-03-24 16:51:05 UTC
Copy and paste in plasma wayland is also broken or works strange.
Copy by marking with mouse is very strangly broken.
Beetween other applications too.
latest live ebuilds from qt and kde overlay in use
Comment 2 giskard 2021-03-28 16:34:23 UTC
firefox has been update to www-client/firefox-87.0, the problem still exist though much better, at least not so frequently.

But to say, copy from other application like nautilus or gnome terminal may also fails sometime, I may have forgot it, but the issue seems to be there at least for several months as I have experienced, though not frequently as this time.

Several days ago, I switched to gnome on X11, copy and paste works well(but ctl + shift + c/p does not work in terminal, strange ...), X11 still have the best compatbility, but to say that it does not support more flexible scale of multiple monitor, and the display performance(e.g. play a video with celluloid) is obvious much poor than wayland, I switched back to wayland yesterday, and thanks to god, maybe for some of the update, the frequency of copy-paste problem is acceptable now ...
Comment 3 Marco Scardovi (scardracs) 2021-06-10 10:05:52 UTC
I can confirm the bug but on latest version of Firefox does not appear anymore. Can you confirm too @giskard?
Comment 4 Marco Scardovi (scardracs) 2021-06-10 10:07:16 UTC
(In reply to Marco Scardovi from comment #3)
> I can confirm the bug but on latest version of Firefox does not appear
> anymore. Can you confirm too @giskard?

(Saying latest i mean v89)
Comment 5 giskard 2021-06-12 07:48:14 UTC
(In reply to Marco Scardovi (scardracs) from comment #4)
> (In reply to Marco Scardovi from comment #3)
> > I can confirm the bug but on latest version of Firefox does not appear
> > anymore. Can you confirm too @giskard?
> 
> (Saying latest i mean v89)

it does not happen for firefox v89.0, but is still there sometimes for gedit (copy from terminal does not paste in gedit, but paste works in firefox), this issue seems to be system-wide
Comment 6 Marco Scardovi (scardracs) 2021-06-18 14:43:54 UTC
Closing bug as OP confirmed the problem doesn't happens on newer versions