After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775313 - Clipboard contents are not available when exited application in wayland
Clipboard contents are not available when exited application in wayland
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
: 784549 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-11-29 11:31 UTC by Kaartic
Modified: 2021-07-05 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kaartic 2016-11-29 11:31:04 UTC
When some text is copied to the clipboard and the user exits the program before pasting it somewhere and tries to paste it after exiting the contents are not available for pasting. A similar bug was filed for another component. I guess it could be used as a reference https://bugzilla.gnome.org/show_bug.cgi?id=622049 .

Steps to reproduce: 
1. Open any mail
2. Copy some text
3. Close the application
4. Try to paste the text somewhere

Expected results:
The contents are available for pasting

Actual results:
Contents are not available for pasting
Comment 1 Milan Crha 2016-12-06 14:26:21 UTC
Thanks for a bug report. I tried to reproduce this, but no luck. It works the same as with gedit. Basically:
a) select some portion of the message preview with a mouse
b) press Ctrl+C to copy the content
c) close the evolution
d) in terminal, press Ctrl+Shift+V to paste the text

And it's there.

Not using step b) makes only paste-on-middle-mouse-button-click work, which is expected, as far as I can tell. This is under X.org.

Using Wayland is a different story, in which case neither gedit works, thus this should be moved to gtk+, if you also meant that you use the Wayland.

Did you?

P.S.: my gtk+ version is gtk3-3.22.2-2.fc25.x86_64
Comment 2 Kaartic 2016-12-08 12:20:37 UTC
(In reply to Milan Crha from comment #1)
> Using Wayland is a different story, in which case neither gedit works, thus
> this should be moved to gtk+, if you also meant that you use the Wayland.
> 
> Did you?
> 
> P.S.: my gtk+ version is gtk3-3.22.2-2.fc25.x86_64
Yes. I just recently came to know that this was specific to Wayland. I initially thought that this was a general issue, so I didn't specify that I was using Wayland, sorry. You could do what should be done.
Comment 3 Milan Crha 2016-12-08 15:11:30 UTC
Thanks for the update. I'm moving this to gtk+ then.
Comment 4 romu 2017-01-07 16:26:12 UTC
I do confirm this bug which is sooo annoying ! F25 x64 Wayland, I can reproduce this bug on my 2 PCs, 100% of the time.
Comment 5 Jonas Ådahl 2017-01-09 01:57:17 UTC
This is due to the lack of a clipboard manager/duplicator. Such a feature must be implemented in mutter, as external clients can't eaves drop on clipboard without explicit user interaction.
Comment 6 Strangiato 2017-08-27 07:33:21 UTC
duplicate
https://bugzilla.gnome.org/show_bug.cgi?id=784549

Why is status "needinfo"?
Comment 7 Kaartic 2017-08-27 09:13:04 UTC
(In reply to Strangiato from comment #6)
> duplicate
> https://bugzilla.gnome.org/show_bug.cgi?id=784549
>

Possibly
 
> Why is status "needinfo"?

Because the developer forgot to update it?
Comment 8 André Klapper 2017-09-14 19:40:00 UTC
*** Bug 784549 has been marked as a duplicate of this bug. ***
Comment 9 Strangiato 2017-11-16 14:39:28 UTC
This problem is still happening on Arch Linux, GTK+ 3.22.26
Comment 10 Matthias Clasen 2017-11-26 23:54:17 UTC
As Jonas said in comment 5, this needs to be implemented in the compositor.
Comment 11 Strangiato 2018-03-24 03:45:20 UTC
Same thing in Gnome 3.28, Arch Linux.
Comment 12 Strangiato 2018-09-19 20:11:15 UTC
Same bug in Gnome 3.30. Wayland support is still in alpha-state because this and other bugs.
Comment 13 André Klapper 2018-09-19 20:57:41 UTC
Strangiato: Your interpretation of "alpha" seems to be off-topic here.
Comment 14 Strangiato 2018-09-19 21:05:01 UTC
ok, my mistake. It's in beta-state.
Comment 15 Strangiato 2019-10-12 16:36:45 UTC
This problem is still happening with Gnome 3.34.2 on Arch Linux.
Comment 16 GNOME Infrastructure Team 2021-07-05 13:43:50 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.