Bug 429757 - Firefox 83 Wayland: clipboard - copy from firefox & paste to kate not working
Summary: Firefox 83 Wayland: clipboard - copy from firefox & paste to kate not working
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-28 13:53 UTC by Martin Kostolný
Modified: 2021-01-27 18:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kostolný 2020-11-28 13:53:59 UTC
SUMMARY
Copying from firefox wayland since version 83 not working.


STEPS TO REPRODUCE
1. Open firefox 83 in wayland mode
2. Copy some text
3. Paste it to kate

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.9
Qt Version: 5.15.1

Tested on Arch and Gentoo.

ADDITIONAL INFORMATION
Where clipboard works:
- firefox 82- (in wayland mode)
- copy paste within firefox 83 (in wayland mode)
- firefox 83 (in XWayland mode)
- firefox 83 (in wayland mode) in gnome-session

I believe this issue is NOT related to bugs:
https://bugs.kde.org/show_bug.cgi?id=428521
https://bugs.kde.org/show_bug.cgi?id=428075
https://bugs.kde.org/show_bug.cgi?id=424754

I vaguely remember that the issue with wayland firefox clipboard in plasma wayland session was connected to (don't take my word for it) 'multiple presented clipboard interfaces' from firefox but I cannot find the related bug report. This was already fixed so maybe the one clipboard read but plasma is the wrong one now? I've no idea.

Or should I report this to mozzila since their update broke things? :)
Comment 1 Martin Kostolný 2020-12-04 18:45:17 UTC
After more testing I can see that this problem is only related to address bar in firefox. Copying from within browser viewport is fine. Even from native GTK widgets (such as textfields) rendered in page.

I will investigate further.
Comment 2 Brian 2021-01-21 05:18:41 UTC
(In reply to Martin Kostolný from comment #1)
> After more testing I can see that this problem is only related to address
> bar in firefox. Copying from within browser viewport is fine. Even from
> native GTK widgets (such as textfields) rendered in page.
> 
> I will investigate further.

It's not just Firefox's address bar. The password vault also does not allow you to copy (in my case to XWayland applications). Copying from the main viewport works however.
Comment 3 Vlad Zahorodnii 2021-01-21 09:04:21 UTC
I remember this issue. After updating to 84, it's gone.
Comment 4 Martin Kostolný 2021-01-26 23:33:01 UTC
I've now tried Firefox 85 on Arch Linux and cannot indeed reproduce this issue anymore.

However problem persists on Gentoo. I'll ask there.

Closing issue here, thanks for your input! :-)
Comment 5 Martin Kostolný 2021-01-27 18:15:33 UTC
For anybody who wander here seeking solution - updating gtk+ from 3.24.22 to 3.24.24 fixed the issue for me.