Description of problem:
When an application is closed, the X selection buffers are cleared, but the wayland selection is persistent.
Version-Release number of selected component (if applicable):
$ rpm -qa \*gnome-shell\* \*wayland\* \*mutter\*
Steps to Reproduce:
1. Run gnome with Wayland
2. Install xsel and wl-clip to investigate the X and Wayland clipboard
3. Open Gedit and write some text
4. Open a terminal (tile them both for ease)
5. In gedit copy the text: highlight and right click > copy
5. In the terminal, run the following commands:
5a. xsel -o (PRIMARY X selection buffer)
5b. xsel -o -b (CLIPBOARD X selection buffer)
5c. wl-paste (wayland selection buffer)
6. Then, close gedit, and re-run these commands.
When gedit is running, the copied text is available to the X and wayland selection buffers.
Content should be available to both selection buffers even after gedit is closed?
I'm not sure what the right component is. Please reassign as required.
I'm pretty sure this has been the case for a while. In fact, when using xsel to set a buffer, it forks and sticks around in the background until something else replaces the buffer.