Closed Bug 1745614 Opened 3 years ago Closed 9 months ago

[Wayland] Pasting from firefox crashes apps

Categories

(Core :: Widget: Gtk, defect, P2)

Firefox 95
Desktop
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox95 --- affected

People

(Reporter: artem13.prokop, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

OS: Fedora 34, 35
DE: GNOME 40, 41 on Wayland

  1. Copy text from firefox
  2. Paste in in any external app

Actual results:

Sometimes (not sure, but guess when using multiple windows of firefox) copying from firefox and pasting to external apps freeze or crash them (everything is OK when copy&paste from and info firefox). It's happen only sometimes, not always. Being fixed by re-launching browser.

Expected results:

Text is being pasted

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Version: Firefox 94 → Firefox 95

Confirmed: It happens when using multiple windows of firefox

What does crash - Firefox or the target app? Also which app do you use - can you reproduce that with gedit for instance?

Flags: needinfo?(artem13.prokop)
Priority: -- → P2

(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)

What does crash - Firefox or the target app?

External app.

Also which app do you use - can you reproduce that with gedit for instance?

Yes, I can reproduce that with gedit - as other GTK apps, it does not crash, but freezes for seconds and no text is pasted.

Flags: needinfo?(artem13.prokop)

Good! Please run Firefox with MOZ_LOG="WidgetClipboard:5" env variable on terminal, do the paste to gedit and attach the log here.
Thanks.

Flags: needinfo?(artem13.prokop)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #5)

Good! Please run Firefox with MOZ_LOG="WidgetClipboard:5" env variable on terminal, do the paste to gedit and attach the log here.
Thanks.

There is no log after pasting, only after copying: https://pastebin.com/hsKJYFYm.
It was plain text from div element on web page

Flags: needinfo?(artem13.prokop)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Do you still see it?
Thanks!

Flags: needinfo?(artem13.prokop)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:stransky, since the bug has recent activity, could you please find another way to get the information or close the bug as INCOMPLETE if it is not actionable?

For more information, please visit BugBot documentation.

Flags: needinfo?(artem13.prokop) → needinfo?(stransky)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #8)

Do you still see it?
Thanks!

Sorry, missed your message.
On the same setup (updated to Fedora 39), Firefox 121.0.1 - issue seems to be fixed - I can not reproduce it anymore.
Should I resolve ticket as WORKSFORME?

Closing, Thanks.

Status: NEW → RESOLVED
Closed: 9 months ago
Flags: needinfo?(stransky)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.