GNU bug report logs - #53957
29.0.50; pgtk: starting emacsclient from thunar breaks X clipboard access

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: sebastien.miquel@HIDDEN; dated Sat, 12 Feb 2022 12:47:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 53957 <at> debbugs.gnu.org:


Received: (at 53957) by debbugs.gnu.org; 13 Feb 2022 09:45:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 13 04:45:04 2022
Received: from localhost ([127.0.0.1]:36374 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJBRH-00081t-Ns
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2022 04:45:03 -0500
Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:43982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nJBRF-0007zc-39
 for 53957 <at> debbugs.gnu.org; Sun, 13 Feb 2022 04:45:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1644745494; bh=9biOS1NsIdKbw4cIQwOia8ZSfrSWqjo6cevIpjjDf+g=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=o8hIXvCeSOw/b0jQRIW0UNHHpL9HVEuNWDrvRvaZzm8Kkc3/DJw3VTjNYo9Gcl+CgMIPOuGdzJmaxDwFOyWdXZOPSGvVg7J0rfMmVHXJO/Q90kU6glV7mlkV8qew7yOcb62O+U5KfYV45ljfdkosaLYs/5dbycy7aKvoms0bfyaGv9owA7ybKqS+2fIdhnOgfb93T1cmsNE6Rv/ST13t+AuohRtaaCewcBJipmgrWBD30iPHqqp2jBZ0SYN+gVS+F9OCKE2n2JoAHcm8zl5Hu2s1CXLuVITNB0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bcPIp5hKUo.Sgt_Mwj_ytJ6oEtaefVyLL_.EM7lmnogMWA
 UPkw2du7ywt82kSZmtChpZ_Sc2R9gY2FkTp1Pcv9EV09rM_lZ4noyoLmS3Fz6KBdEBuGdyN_QUQT
 TKrgXBT8iQIZ.xB95SR98Ux9ts3Lx4M7QcJMBn62fYwbRzetc4mN5EVek1fOiDGmrpv0BcsziJc1
 QB6fNyJAkq04wXY9tSFlY5BF_RxIBCa_foU03q9v_r.ic9jlS.Ab6.5Tj1ZVQ7.ibIAAAGubKij5
 ZfqVZ.AdkPAz8QIXuNl5QkoV9TON3Iz_Ow5y6BEcuIq8TCo.AMsV5wi2GsIUtE0H4sc60uCWTCoS
 R_rI_P.WcoyggumpDWTOJQCyateQRIw0OqW3ajAwBfRfDIZmGKReozYiuV4QIbo.f5PTCPX5.rmi
 cKMjBrbQFH0oqnrQ3jzkb6xDEzZIhM8mocJxbBO1J10vyzK5nrurYqetFGp0cyd1PuzvDR72BE5r
 jholdy9MXASVXc1K5iGdzCrBMNIbGwsjjZhD1fSNojjrMjNdLG4KWCELNcjObucNyden_4y6tJgQ
 MHQBxtJ35bYrjHAyXy4Q2pg.GpaiFAzADkx4GEGuQoBjPQiShQthTnMaKNcfjJFsts2kluOlulrv
 6UgSNam2kZ7QgU8DoEOR_IiHZXT0T9HJAGtyGq3hsNDpicd_yIS37q9OBYHAsE4nmoCnPdGnzV5_
 KGaj_UUIe8F8cBA8SgX9PSdqf32E8HMDeyFD_Ugbt9y6e7KChDU64cfI8gw--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Feb 2022 09:44:54 +0000
Received: by kubenode513.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID b16895ca22ae4e35664e0a46c56d39ac; 
 Sun, 13 Feb 2022 09:44:51 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: =?utf-8?Q?S=C3=A9bastien?= Miquel <sebastien.miquel@HIDDEN>
Subject: Re: bug#53957: 29.0.50; pgtk: starting emacsclient from thunar
 breaks X clipboard access
References: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
 <878rufo99v.fsf@HIDDEN>
 <d20a85fc-19bc-b150-d42d-74096c6e2f44@HIDDEN>
 <87fsonkwog.fsf@HIDDEN>
 <15debd4c-dd87-2c40-2c82-898b47350d71@HIDDEN>
Date: Sun, 13 Feb 2022 17:44:45 +0800
In-Reply-To: <15debd4c-dd87-2c40-2c82-898b47350d71@HIDDEN>
 (=?utf-8?Q?=22S=C3=A9bastien?=
 Miquel"'s message of "Sun, 13 Feb 2022 08:39:39 +0000")
Message-ID: <875ypjksmq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.19724
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 373
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53957
Cc: 53957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

S=C3=A9bastien Miquel <sebastien.miquel@HIDDEN> writes:

> Will do.

Thanks.

> Yes, it's the right binary.
>
> The issue must be specific to the way Thunar starts the application.
> I've just checked that it works fine when using Nautilus (the GNOME
> file manager) instead.

Thanks, then we should add it to etc/PROBLEMS.  (But please try to find
a workaround first.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53957; Package emacs. Full text available.

Message received at 53957 <at> debbugs.gnu.org:


Received: (at 53957) by debbugs.gnu.org; 13 Feb 2022 08:39:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 13 03:39:51 2022
Received: from localhost ([127.0.0.1]:36242 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJAQB-0005bV-95
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2022 03:39:51 -0500
Received: from mout02.posteo.de ([185.67.36.66]:54281)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastien.miquel@HIDDEN>) id 1nJAQ7-0005bE-QO
 for 53957 <at> debbugs.gnu.org; Sun, 13 Feb 2022 03:39:50 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 4EEF1240101
 for <53957 <at> debbugs.gnu.org>; Sun, 13 Feb 2022 09:39:40 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017;
 t=1644741581; bh=6tlnSCF0/AoGhQnPVMjM7RBY3jiKV1WkwGrbfYTXPqc=;
 h=Date:Subject:To:Cc:From:From;
 b=MDywceEH+lg6+WrWQvC0sPa9EOPbVnk/JIWINDLDdzCLQ9ToIo5k6evBFe7+B3Pkn
 pYvtcZVSSVOmCrzJrTffsYVSYivNLX/E404heL55QMXjd5YyqxUWi9h4RxuYwYAlYX
 kv+kikNY05t5RaG2jriORyp/csTiYbtJw3WjwIj3nQ0MM/OeB0jSlbDtd+Y+rBamo5
 OUyUYa9C9jhZ8Cc7NN8MzhYG40xfpQM0oiNYj9KwwLKKNjSh/HVEaSKMD/fblNj/+u
 2+4FnhUIONaWReMKZy9mr0SSvMcVfSnHySNkjIUcdjLnTrDKVqjumBBImg0ZqWfKHu
 jAZKAWsdU9pHw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4JxLPm1mrnz6tmB;
 Sun, 13 Feb 2022 09:39:40 +0100 (CET)
Message-ID: <15debd4c-dd87-2c40-2c82-898b47350d71@HIDDEN>
Date: Sun, 13 Feb 2022 08:39:39 +0000
MIME-Version: 1.0
Subject: Re: bug#53957: 29.0.50; pgtk: starting emacsclient from thunar breaks
 X clipboard access
Content-Language: fr
To: Po Lu <luangruo@HIDDEN>
References: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
 <878rufo99v.fsf@HIDDEN> <d20a85fc-19bc-b150-d42d-74096c6e2f44@HIDDEN>
 <87fsonkwog.fsf@HIDDEN>
From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= <sebastien.miquel@HIDDEN>
In-Reply-To: <87fsonkwog.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53957
Cc: 53957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: sebastien.miquel@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu writes:
> Please report the separate issue as a bug, if it hasn't been fixed
> already on master.
>
Will do.
> I see you're launching /usr/bin/emacsclient -- emacsclient from a PGTK
> build differs from one from a different build, so are you sure it's the
> right emacsclient binary?

Yes, it's the right binary.

The issue must be specific to the way Thunar starts the application.
I've just checked that it works fine when using Nautilus (the GNOME
file manager) instead.

-- 
Sébastien Miquel





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53957; Package emacs. Full text available.

Message received at 53957 <at> debbugs.gnu.org:


Received: (at 53957) by debbugs.gnu.org; 13 Feb 2022 08:17:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 13 03:17:36 2022
Received: from localhost ([127.0.0.1]:36185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJA4e-0002hz-Li
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2022 03:17:36 -0500
Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:42781)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nJA4c-0002hl-1Q
 for 53957 <at> debbugs.gnu.org; Sun, 13 Feb 2022 03:17:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1644740248; bh=btrfGhbI5pbYTUq4t+mFH8Gi4mpODfvNJIrf0hDG7Ag=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;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bFv7PemXcQvOkLrIpJ_94jsfezTWfCRbQ--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Feb 2022 08:17:28 +0000
Received: by kubenode516.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID 93796d392279a927722e191915c35c34; 
 Sun, 13 Feb 2022 08:17:25 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: =?utf-8?Q?S=C3=A9bastien?= Miquel <sebastien.miquel@HIDDEN>
Subject: Re: bug#53957: 29.0.50; pgtk: starting emacsclient from thunar
 breaks X clipboard access
References: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
 <878rufo99v.fsf@HIDDEN>
 <d20a85fc-19bc-b150-d42d-74096c6e2f44@HIDDEN>
Date: Sun, 13 Feb 2022 16:17:19 +0800
In-Reply-To: <d20a85fc-19bc-b150-d42d-74096c6e2f44@HIDDEN>
 (=?utf-8?Q?=22S=C3=A9bastien?=
 Miquel"'s message of "Sun, 13 Feb 2022 08:08:45 +0000")
Message-ID: <87fsonkwog.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.19724
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1013
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53957
Cc: 53957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


> Is --with-xinput2 supposed to work well without PGTK ? I run into a
> separate issue with key bindings that makes it unusable without.

`--with-xinput2' does nothing on PGTK, but it enables the use of the X
Input Extension on X, which brings support for modern input devices to
the X port.  (And that support is supposed to work better than PGTK,
since you get touchpad gestures and touchscreen support, both of which
aren't available in PGTK on X.)

Please report the separate issue as a bug, if it hasn't been fixed
already on master.

XInput 2 support will eventually be enabled by default, so it's vital
for it to get a lot of testing.

> Indeed, (x-diplay-list) originally reports (":0.0"), and after the
> second frame is created, (":0.0" ":0").

I see you're launching /usr/bin/emacsclient -- emacsclient from a PGTK
build differs from one from a different build, so are you sure it's the
right emacsclient binary?

> If the bug is with GTK, can you think of any workaround on my end ?

I can't, sorry.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53957; Package emacs. Full text available.

Message received at 53957 <at> debbugs.gnu.org:


Received: (at 53957) by debbugs.gnu.org; 13 Feb 2022 08:08:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 13 03:08:55 2022
Received: from localhost ([127.0.0.1]:36176 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJ9wF-0002Ur-J9
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2022 03:08:55 -0500
Received: from mout01.posteo.de ([185.67.36.65]:58323)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastien.miquel@HIDDEN>) id 1nJ9wC-0002Ub-Nu
 for 53957 <at> debbugs.gnu.org; Sun, 13 Feb 2022 03:08:54 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id AC695240027
 for <53957 <at> debbugs.gnu.org>; Sun, 13 Feb 2022 09:08:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017;
 t=1644739726; bh=kmVw55FSjo4l/9WdV06aSycMnNYRcjJzARowLx/nlps=;
 h=Date:Subject:To:Cc:From:From;
 b=JJ5HZaOBJyJMyKKlmnVkLBS+BfIAi7hwEwGAbZHX3zT/YxihDQLH8lmmOFkLyF4bM
 LKTAO2jkMPpwkXuOv+HmiEa2Pg8BwI6rnt5tMNSbrFIFN54FGD+Bn0GVIde1eJ5FoG
 AWF3O7U78jQ//KSm2LDi+rACPyGPCFfinQ9zA+wv9axW5R3jOfN7UL1ysYhDdERreH
 TCmTvv/JNJVuIGFDm5m3IT4hn30IzGHdoNKmbs0bxdX5mEZvhGaNhb8/dv9KzgE8KG
 4xcap0qvbotV38Aqa1yp6xiuL4ZUJbfIWtKlr7kxoA4D08BhA0oUSy3WwWNjLviXZb
 //1BlXYK4UnCA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4JxKk54k26z9rxB;
 Sun, 13 Feb 2022 09:08:45 +0100 (CET)
Message-ID: <d20a85fc-19bc-b150-d42d-74096c6e2f44@HIDDEN>
Date: Sun, 13 Feb 2022 08:08:45 +0000
MIME-Version: 1.0
Subject: Re: bug#53957: 29.0.50; pgtk: starting emacsclient from thunar breaks
 X clipboard access
Content-Language: fr
To: Po Lu <luangruo@HIDDEN>
References: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
 <878rufo99v.fsf@HIDDEN>
From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= <sebastien.miquel@HIDDEN>
In-Reply-To: <878rufo99v.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53957
Cc: 53957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: sebastien.miquel@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu writes:
> If you're using X, you shouldn't be using PGTK.  The support provided by
> the real X port is miles ahead of what GTK can offer.
Is --with-xinput2 supposed to work well without PGTK ? I run into a
separate issue with key bindings that makes it unusable without.
> That aside, I suspect emacsclient is causing Emacs to open a second
> display connection, which causes clipboard access in PGTK to be disabled
> due to a GTK bug.
>
> What does (x-display-list) evaluate to in the buggy Emacs, after you
> create the other frame which causes the bug?
Indeed, (x-diplay-list) originally reports (":0.0"), and after the
second frame is created, (":0.0" ":0").

If the bug is with GTK, can you think of any workaround on my end ?
> Thanks.

Thank you.

-- 
Sébastien Miquel





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53957; Package emacs. Full text available.

Message received at 53957 <at> debbugs.gnu.org:


Received: (at 53957) by debbugs.gnu.org; 13 Feb 2022 01:17:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 12 20:17:21 2022
Received: from localhost ([127.0.0.1]:36023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nJ3Vx-0006vz-0a
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 20:17:21 -0500
Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:42289)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nJ3Vu-0006vd-6U
 for 53957 <at> debbugs.gnu.org; Sat, 12 Feb 2022 20:17:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1644715031; bh=uUnGihMaj6rJTKASV5Gp79A0+z9oTrcmsvQE35dvpdQ=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=s/fV3+A4zmuLT5+IcZJtJXw7orIjB7Pah1665R4MW/4W1/K/fxFR/Ps3jFZka/VkUiY5zSIw2yOe6lPqoMP16t0/wEt759fKV2LvLFL3m/aiN5/iFWE+f7h0J4JglH701EkP9giqu86KV/8BjIh7Jv4//W8UvQSxYMYWA346zilTglMccFGuiwbvoMtAf16QLMPtiH9YmTyEN3AYfdcUhgkb2xYbl/HbnKXmBxZg56LWt+1WowdPNnlPKcQq3sfuznnX+170I3EWJ6LLaa5RslPqvK6WTIGs7smtPQGm6298SJZ/v5AqFDEGO4UIagZJyhmLjAsx/cF+19QZr6SlRQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1644715031; bh=BVFMLjfu5ZOzEXJbvCT2YnfYMV3VYH3ApDuZ+7pP9TH=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=KknGpsK7dE6uuTqn7ZdBaMR6+I7+jLHtfF76JnSB72cxqkb116Jb2bCUFjCFzGsNTGxDC5ztrZc/IKHCnTCUFej4K7n2K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OkcuIzly5H.1gQj.32nXjcOa1lO6INcQ01f
 n0uYuw0divqxhqVCl.4.m4qOYTgaJgGFHWpI0VA_.Zp6HMeX9DXKbrek9gF1tvfDjCYLQ7Eej64I
 o1J4VY72ANWqohHJE2lzC5Brf0KYghziNeytPUPaPrNWUj3uwRb4_UWC6jDBmSF49ZZ4FExHVTg1
 b010_uGYxMsd4ir4h3UbJove_nGIb9yKmBmu8X4O.QPe527vMJOQxL8v1qjuMvNfeTScsJA19B1p
 ak3ImcbeUOOX6...nZT2YSVCxPr2Frgtk7BHHJuyn8bnWQAhEgBPqAHpnqeQSpAhUbU1GkvWsz1_
 xYT5y11sJKNT6vHdCWyLbtt6Owf15Der3r97aSKwQpbcLapwsV9zav5UYPkxLDNcZW32FQFJSLFB
 X4kdZM3u3obWS3CkmN38Ed2BXg_AueototkoiIYaTLDL8GZNEQulPQ6zF
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Feb 2022 01:17:11 +0000
Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID d4d4ca67578ed6903925e7ba10afb122; 
 Sun, 13 Feb 2022 01:17:04 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: =?utf-8?Q?S=C3=A9bastien?= Miquel <sebastien.miquel@HIDDEN>
Subject: Re: bug#53957: 29.0.50; pgtk: starting emacsclient from thunar
 breaks X clipboard access
References: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
Date: Sun, 13 Feb 2022 09:17:00 +0800
In-Reply-To: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
 (=?utf-8?Q?=22S=C3=A9bastien?=
 Miquel"'s message of "Sat, 12 Feb 2022 12:46:31 +0000")
Message-ID: <878rufo99v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.19724
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1233
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53957
Cc: 53957 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

S=C3=A9bastien Miquel <sebastien.miquel@HIDDEN> writes:

> Hi,
>
> To reproduce :
> =C2=A01. Start `emacs -q --daemon`
> =C2=A02. Start a frame with `emacsclient -c`. At this point, X clipboard
> =C2=A0access works fine and I can copy/paste between emacs and other
> applications.
> =C2=A03. From Thunar (file manager from xfce), right click a file and `Op=
en
> =C2=A0with` emacsclient (/usr/bin/emacsclient), creating another frame.
> =C2=A0=C2=A0=C2=A0 At this point, X clipboard access is broken: I cannot =
copy/paste
> =C2=A0between emacs and other applications.
>
> In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
> 3.24.31, cairo version 1.17.4)
> =C2=A0of 2022-02-05
> Repository revision: 224aeb2877fffc894e9d1b31f7f44db0e55160c3
> Repository branch: master
> System Description: Arch Linux

If you're using X, you shouldn't be using PGTK.  The support provided by
the real X port is miles ahead of what GTK can offer.

That aside, I suspect emacsclient is causing Emacs to open a second
display connection, which causes clipboard access in PGTK to be disabled
due to a GTK bug.

What does (x-display-list) evaluate to in the buggy Emacs, after you
create the other frame which causes the bug?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53957; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Feb 2022 12:46:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 12 07:46:44 2022
Received: from localhost ([127.0.0.1]:33712 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nIrnY-0007Kl-Lc
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 07:46:44 -0500
Received: from lists.gnu.org ([209.51.188.17]:53962)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastien.miquel@HIDDEN>) id 1nIrnW-0007J6-Gf
 for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 07:46:43 -0500
Received: from eggs.gnu.org ([209.51.188.92]:45526)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sebastien.miquel@HIDDEN>)
 id 1nIrnV-0000eP-Ac
 for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2022 07:46:42 -0500
Received: from mout02.posteo.de ([185.67.36.66]:39985)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sebastien.miquel@HIDDEN>)
 id 1nIrnR-0001Ou-IA
 for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2022 07:46:40 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id B3810240103
 for <bug-gnu-emacs@HIDDEN>; Sat, 12 Feb 2022 13:46:32 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017;
 t=1644669992; bh=yXYUDMmfWvUpPpuYwkvgpx87GSqb+xCnoiaveHEsHec=;
 h=Date:To:From:Subject:From;
 b=aJcsLKlDPyeGgAISLT0enjBk1HkHf11gUlZVPW6vh6RdbUsBqJk2MuYfQJrRf6/JK
 2reUS8ENzF8fm5UWmPqgNH/O036T6Pc2vkQF+aDHx8dISWkA90UYIVi3Dbc03R9y8i
 YqzGTezOPGZAEOmFm4eTi7DWtOtHE6sb127YYWgXz8yvIGRvoJwO7f3yfmuryYyimD
 hbHN27+Ib8DTJcUQuWAcVdkUNi0mZwm9egz2aTuMvR2jVoVydGR80lPy4MY8WJt/jE
 Nr9x1Cy+lClKxyVJ8RYOb7YBzpACu+Zaj7ltoGE8rLFrF0aOOJ89Au2aMLjC7TypVI
 L50f6UNlhC0Rg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Jwqx41LZBz9rwn
 for <bug-gnu-emacs@HIDDEN>; Sat, 12 Feb 2022 13:46:32 +0100 (CET)
Message-ID: <4f4f9e9a-e88c-d63b-f836-d3af9c8602df@HIDDEN>
Date: Sat, 12 Feb 2022 12:46:31 +0000
MIME-Version: 1.0
Content-Language: fr
To: bug-gnu-emacs@HIDDEN
From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= <sebastien.miquel@HIDDEN>
Subject: 29.0.50; pgtk: starting emacsclient from thunar breaks X clipboard
 access
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=185.67.36.66;
 envelope-from=sebastien.miquel@HIDDEN; helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: sebastien.miquel@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

To reproduce :
  1. Start `emacs -q --daemon`
  2. Start a frame with `emacsclient -c`. At this point, X clipboard
  access works fine and I can copy/paste between emacs and other 
applications.
  3. From Thunar (file manager from xfce), right click a file and `Open
  with` emacsclient (/usr/bin/emacsclient), creating another frame.
     At this point, X clipboard access is broken: I cannot copy/paste
  between emacs and other applications.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.31, cairo version 1.17.4)
  of 2022-02-05
Repository revision: 224aeb2877fffc894e9d1b31f7f44db0e55160c3
Repository branch: master
System Description: Arch Linux

Configured using:
  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
  --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
  --with-sound=alsa --with-modules --without-libotf --without-m17n-flt
  --without-gconf --without-gsettings --with-native-compilation
  --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no
  --without-gpm --without-compress-install
  '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
  'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
  -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
  -fstack-clash-protection -fcf-protection'
  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM
GTK3 ZLIB

Important settings:
   value of $LC_ALL: en_US.UTF-8
   value of $LANG: en_GB.UTF-8
   locale-coding-system: utf-8-unix

-- 
Sébastien Miquel





Acknowledgement sent to sebastien.miquel@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#53957; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 13 Feb 2022 10:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.