Is this the normal behavior now? Cutting text in gedit and pasting it into the terminal needs that the source application stays running?
-- Leon
I am going to check on that as well because I'm using Fedora 31/wayland as desktop and I experienced the same behavior
On Thu, Nov 7, 2019, 3:13 PM Leon Fauster via CentOS centos@centos.org wrote:
Is this the normal behavior now? Cutting text in gedit and pasting it into the terminal needs that the source application stays running?
-- Leon _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 11/7/19 3:13 PM, Leon Fauster via CentOS wrote:
Is this the normal behavior now? Cutting text in gedit and pasting it into the terminal needs that the source application stays running?
I've run into this behavior for a while, for several CentOS versions, depending upon the application.
On Thu, Nov 07, 2019 at 05:50:24PM -0500, Lamar Owen wrote:
On 11/7/19 3:13 PM, Leon Fauster via CentOS wrote:
Is this the normal behavior now? Cutting text in gedit and pasting it into the terminal needs that the source application stays running?
I've run into this behavior for a while, for several CentOS versions, depending upon the application.
there are also (at least in X) two ways to cut and paste: 1. select with mouse then paste with middle-click. 2. select with mouse, right-click "select", paste the right-click "paste".
My understanding is that oneuses X facilities and the other is part of the desktop.
I would surmise that Weston could be different.
Am 08.11.19 um 02:31 schrieb Fred Smith:
On Thu, Nov 07, 2019 at 05:50:24PM -0500, Lamar Owen wrote:
On 11/7/19 3:13 PM, Leon Fauster via CentOS wrote:
Is this the normal behavior now? Cutting text in gedit and pasting it into the terminal needs that the source application stays running?
I've run into this behavior for a while, for several CentOS versions, depending upon the application.
there are also (at least in X) two ways to cut and paste:
- select with mouse then paste with middle-click.
- select with mouse, right-click "select", paste the right-click "paste".
My understanding is that oneuses X facilities and the other is part of the desktop.
I would surmise that Weston could be different.
We should distinguish two selection methods PRIMARY and CLIPBOARD [1]. The former is the traditional way (X11) also usable via middle-click.
The latter is the cut/paste via shortcuts or context menu of the desktop environment.
Both work on different layers but that is not my question.
Using the CLIPBOARD layer I wonder why the cuted data disappears (or gets deleted) when the source application gets quit.
This behavior is situated in Wayland. gedit and gnome-terminal uses the Wayland protocol.
Scenarios: WORKS: gedit (copy) -> terminal (paste) -> DATA DOESNT: gedit (copy)(quit) -> terminal (paste) -> NODATA
or vice versa (application).
Another applications using the Wayland protocol:
$ env MOZ_ENABLE_WAYLAND=1 firefox
WORKS: firefox (copy) -> terminal (paste) -> DATA DOESNT: firefox (copy)(quit) -> terminal (paste) -> NODATA
but when using the X11 protocol (under Wayland):
$ firefox
WORKS: firefox (copy) -> terminal (paste) -> DATA WORKS: firefox (copy)(quit) -> terminal (paste) -> DATA
or
$ GDK_BACKEND=x11 gedit
WORKS: gedit (copy) -> terminal (paste) -> DATA WORKS: gedit (copy)(quit) -> terminal (paste) -> DATA
So, is this a Wayland bug or a "security feature" of Wayland?
[1] https://wiki.gnome.org/Initiatives/Wayland/PrimarySelection
-- Leon
On 2019-11-07 3:13 p.m., Leon Fauster via CentOS wrote:
Is this the normal behavior now? Cutting text in gedit and pasting it into the terminal needs that the source application stays running?
I don't know if it's related, but I ran into a problem when highlight -> middle-click to paste stopped working in kate on Fedora 31 on Wayland. Worked fine on Fedora 30, and works on F31 + Xorg. So it's a Wayland issue of some sort.
https://bugzilla.redhat.com/show_bug.cgi?id=1770057