GNOME Bugzilla – Bug 775311
Clipboard contents are not available when exited
Last modified: 2018-05-22 16:55:28 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 document 2. Copy some text 3. Close the document 4. Try to paste the text somewhere Expected results: The contents are available for pasting Actual results: Contents are not available for pasting
Is this not a "bug" of every linux application?
(In reply to José Aliste from comment #1) > Is this not a "bug" of every linux application? I guess Mr. Andre Klapper hax answeredthat with those "See Also" links.
Sorry about those typos, I find it difficult typing in desktop sites using my mobile. Also, Thanks Mr. Andre Klapper for adding those links.
If you mean Ctrl-C / Ctrl-V copy and paste, that's working fine for me. Ctrl-V paste works after evince has been closed. If you mean the X selection / middle click copy and paste, that's just how the X selection works.
(In reply to Jason Crain from comment #4) > If you mean Ctrl-C / Ctrl-V copy and paste, that's working fine for me. > Ctrl-V paste works after evince has been closed. I did mean the Ctrl-C / Ctrl-V copy and paste. I thought it was a general issue and everyone could reproduce this. Are you sure that evince exited completely before you tried to paste the contents? I could still see the issue and could reproduce it all the time I try to. In case this is not a general issue the below are the details of my device GNOME: v3.22.2 Graphics: Wayland Base system: Debian GNU/Linux stretch/sid 64-bit > If you mean the X selection / middle click copy and paste, that's just how > the X selection works. I don't know what you mean by this. Could you be more specific?
(In reply to José Aliste from comment #1) > Is this not a "bug" of every linux application? To add to my previous comment, some applications seem to have taken alternative measures to fix this. For example, I could not see the in Firefox, nautilus, Chrome.
Oh. I see that probably adding a call to gtk_clipboard_store somewhere in our code before exiting should fix this... Should be easy to fix if you want to give it a try.
(In reply to Kaartic from comment #5) > (In reply to Jason Crain from comment #4) > GNOME: v3.22.2 > Graphics: Wayland > Base system: Debian GNU/Linux stretch/sid 64-bit It seems to be related to wayland. Copy and paste works as expected under xorg, but does not persist under wayland. > > If you mean the X selection / middle click copy and paste, that's just how > > the X selection works. > > I don't know what you mean by this. Could you be more specific? It's another method of copy and paste from the X window system. Select some text with the mouse and middle click to paste.
(In reply to José Aliste from comment #7) > Oh. I see that probably adding a call to gtk_clipboard_store somewhere in > our code before exiting should fix this... Should be easy to fix if you want > to give it a try. I'm not much acquainted with the code for now. Will try if someone else doesn't solve this before I could catch up.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/738.