From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62291: 30.0.50; PGTK copy + paste to other app problem Date: Fri, 24 Mar 2023 15:51:21 +0800 Message-ID: <87fs9uy4cm.fsf@yahoo.com> References: <877cvbiuf9.fsf@trop.in> <87edpj1y4r.fsf@yahoo.com> <871qljisd9.fsf@trop.in> <875yav1twf.fsf@yahoo.com> <878rfqxyff.fsf@trop.in> <87o7omz99g.fsf@yahoo.com> <877cvaw09c.fsf@trop.in> <87h6udzkjb.fsf@yahoo.com> <874jqdwg62.fsf@trop.in> <87cz51z568.fsf@yahoo.com> <87v8itutwi.fsf@trop.in> <878rfpyt1j.fsf@yahoo.com> <878rfpujzu.fsf@trop.in> <87zg84xpn6.fsf@yahoo.com> <87zg84t58q.fsf@trop.in> <83fs9w544t.fsf@gnu.org> <87ttybtjil.fsf@trop.in> <87jzz7x8su.fsf@yahoo.com> <87r0teu5wj.fsf@trop.in> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23798"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 62291@debbugs.gnu.org To: Andrew Tropin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 24 17:00:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pfjpw-0005lV-3R for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Mar 2023 17:00:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfdQt-0002wC-5k; Fri, 24 Mar 2023 05:09:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfdQo-0002uH-Fz for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 05:09:57 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfdQo-0001PB-7W for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 05:09:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfcEP-00063J-LM for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 03:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Mar 2023 07:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62291 X-GNU-PR-Package: emacs Original-Received: via spool by 62291-submit@debbugs.gnu.org id=B62291.167964432523014 (code B ref 62291); Fri, 24 Mar 2023 07:53:01 +0000 Original-Received: (at 62291) by debbugs.gnu.org; 24 Mar 2023 07:52:05 +0000 Original-Received: from localhost ([127.0.0.1]:39755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfcDU-0005z7-NR for submit@debbugs.gnu.org; Fri, 24 Mar 2023 03:52:04 -0400 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:40316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfcD9-0005xz-J1 for 62291@debbugs.gnu.org; Fri, 24 Mar 2023 03:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679644288; bh=5fsLvoekWsZTzboTTH8W2tYDC6GCg+jZ3uKLwHMgOIs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=AmMHQApu+VJwZ+WY5erbaOWvGYN7BxjlkKLIGbhDN0gJm6/1+Y1Vnpb0pgeDQkY4OvcCv+UKSKg1jS551M0mezVEJ6wvVRsq4T+IDI0DOa21GAhIkaI+yPs2jLhLA9ptUZA7Dnr2S3JXVuMNirsTfmKndJPUtzwb5RgLKeA76L6CDZeHmxX0ASmRS+PcKlrHXrBbdB2IH9Gw1dbMdA8FwR+rT/4guwGHsQ1O9fooXwDCooZ/gTQNb0dZJgdTxnZAE2YKEJ3HIhudom/7yj7p4a/kW4rUX4jUIzJmSmXUN6DG+6umLIyC5hS4nzuxZ6uLfBGeKK3OTjzHgiKil3MbQw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679644288; bh=rZhxZ+qfvusnh+w1qsPj1OlYfppiTEFDXnRa0+XI+w4=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=n6qETuSqHxAc/E7QPciNSr/g62qeLJlXXj5odTDIj9kiDmimBI2Kvh8SgD7EBVmlgdSPngdyvzGscu0SGx1D8+EUEKbOAEK6Txfw9p5hhqsKplZ7JfVroseXOWj8xU9vY8WeBtrkhNy6GO+VV5dnRtojZFcQoUpz+PrdQRxjpQe33jNsFrumeCUwYAG2CDpdRJdgP11c15ged9O10TXk823mKyRnZnfXDIkzpPZAChkMMRdSE2didxmGMdqihMml/TNFw8Kc9Idqq9Ynl/aezrk6u5bU2Q8G4cyRxQxcoOhnq7iE7Kej66EPbH5M1Shph6Mr4DWdv+mQYGQbC9m3UA== X-YMail-OSG: xsWbZ08VM1mVsgfqsAJNjgzL1vcU.9oGJKcQR.W36UepglH1qv_6EUgslN1mKVq cxHjr3qdD1ZBWTC4QqWygRILDGWA62XFp45Xh1OzAbWeIwW9xeF0_RP9emgWh8YkdgAZsWcj9y5e m5LkRzq_59EjoOc.Je616aru47JBmyfjDa2rxHhH5X8KIN0f_4v6FhcoRhrvQnbMJRM2L7VU.G48 qbvnS40H60NTIdPbLHv4fjyymLZnZ6LK5WvGgTyBI8Zo4e.AXGTBYd2gGW9DJb0z6z8CYCyvveFM ClUfuR2hFfxYaHlBFMZPGRQzkYFWv38WuUtEXw2.YX0xOSYJM_ZkJEDpArY0HDbwF2xzzLA6iQ1l CUHSPmuvhMjxK.sBHP42XsIP7ET1Frix5WwZCZWJkpUu4eM1mJMngUVhFXbQVEimec5QEX64wZ8J ILganBwWIEGyzIXxc70mSFVmuCUadlRz4syc8VWwIo8gm1yr70RP5nJbfuUKS4GubBueABAyomb3 886k9Epanv_tK_lg.eHyU55Dd3MSGA8j0hBjfzAJK9YCdfC81cIrnQCoaCF093c8A9BMwUBfoVhz B0sQsVqrPz1vvd8cD4MHOnkrph6a7mKJai5x18AfNBX4nAjsnz.YROhKqKov8_NT24EI.zvcmly_ ek2PdCBNjzI6dK95nLBybBwW03xNPO75TouKfwxCbk3DS3Xh1SP2mde2qNTHZin.FME1z4LoJP_O JG5I5nCBnbbsxhBhNICGE8.Vd8j1f_RSEWrN2Ywliud0WGsJGHssNCtn6KEWZOWxvyF1SqD.2SgA xGwjg2BlC.DfurFIrRGYztfH9C0ZmoRFCxAW1tpz4C X-Sonic-MF: X-Sonic-ID: 9905d55a-01f6-4245-b9dd-9a9681f0fd67 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Fri, 24 Mar 2023 07:51:28 +0000 Original-Received: by hermes--production-sg3-67c57bccff-b6t8r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e090c17d80ace89624cd14a51b836857; Fri, 24 Mar 2023 07:51:26 +0000 (UTC) In-Reply-To: <87r0teu5wj.fsf@trop.in> (Andrew Tropin's message of "Fri, 24 Mar 2023 08:31:24 +0400") X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258509 Archived-At: Andrew Tropin writes: > preferred_width = 672, > preferred_height = 612, > widget = 0x1014540, > edit_widget = 0x1421130, > vbox_widget = 0x14201c0, > hbox_widget = 0x1420320, So, the window which is getting this focus in event is 0x1014500, which is not any window created by Emacs, assuming that you have only one frame. Perhaps this is a pseudo window created by the GDK Wayland backend to ``send'' selection requests to Emacs. Would you please: (gdb) p (GdkWindow *) gtk_widget_get_window ((GtkWidget *) 0x1014500); $NN = ... and then: (gdb) p (GdkWindowType) gdk_window_get_window_type ($NN); thanks.