Closed Bug 1636712 Opened 5 years ago Closed 5 years ago

wayland paste does not paste, if the text was copied outside of firefox

Categories

(Core :: Widget: Gtk, defect)

76 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1509740

People

(Reporter: dpa-mozilla, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

I have compiled Firefox 76 myself with --enable-default-toolkit=cairo-gtk3-wayland and I run weston as The Desktop Environment. I run wayland-protocols-1.20, cairo 1.14.12, weston 8, libinput 1.15.2 and wayland 1.18. I have installed https://github.com/bugaevc/wl-clipboard . I have the environment variables: CLUTTER_BACKEND=wayland, GDK_BACKEND=wayland, WAYLAND_DISPLAY=wayland-0 .

Problem description: I cannot paste text into FIrefox.

I can copy text from from Firefox and paste it in gedit (and other gtk applications) and wl-paste.

I can copy text from wl-copy and paste it to wl-paste or gedit.

But I cannot paste into Firefox the text I copied from wl-copy or gedit.

I have to add for my system, that sometimes the GTK applications come to a mode, where they can only paste text that was copied from within the same application, until I copy again different text from that application, paste it there, and then I copy text from a different application and paste it in the original application. I have not figured out why and when this happens, but it seems to be related to GTK (in fact I use primary Evolution and Epiphany, so this might be WebKitGTK related actually).

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

I forgot to add that I have no X11.

Could you try running both Firefox and the other application with WAYLAND_DEBUG=1 and paste the logs? Thx.

Flags: needinfo?(dpa-mozilla)

I first copied text with wl-copy and then tried to paste it in firefox.

Flags: needinfo?(dpa-mozilla)

Comment on attachment 9147290 [details]
This is the output of WAYLAND_DEBUG=1 wl-copy AAA

Ignore this, I uploaded it twice.

Because this bug's Severity is normal and has not been changed, and this bug's priority is -- (none,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --

Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: