From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Tropin Newsgroups: gmane.emacs.bugs Subject: bug#62291: 30.0.50; PGTK copy + paste to other app problem Date: Wed, 22 Mar 2023 11:28:29 +0400 Message-ID: <87v8itutwi.fsf@trop.in> 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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62291@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 22 08:29:28 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 1pesuW-0007Sw-0i for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Mar 2023 08:29:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pesu8-0001U9-6t; Wed, 22 Mar 2023 03:29:04 -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 1pesu6-0001Ty-FL for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2023 03:29:02 -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 1pesu6-0001Ad-7c for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2023 03:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pesu6-0003iK-3m for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2023 03:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Mar 2023 07:29:02 +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.167947012714250 (code B ref 62291); Wed, 22 Mar 2023 07:29:02 +0000 Original-Received: (at 62291) by debbugs.gnu.org; 22 Mar 2023 07:28:47 +0000 Original-Received: from localhost ([127.0.0.1]:33366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pestq-0003hl-DK for submit@debbugs.gnu.org; Wed, 22 Mar 2023 03:28:46 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:49495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pestn-0003hX-OM for 62291@debbugs.gnu.org; Wed, 22 Mar 2023 03:28:45 -0400 Original-Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id ACF7820003; Wed, 22 Mar 2023 07:28:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1679470117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T3pVP1Afnt2RNy4EmWR1ZbwYkfa8rcVEugGW353R2W4=; b=AIUO2aOy9LIvKoYefW4Q+Mv7I6Qzf3G5DlwTAbi/7mJSs/FNA7bNPA/Qm4YIj3TCRtAP7y dSnOPWXAS4VpA+pmJD7R7DRSXSC4t3JVYjhCAlCjLoRtCijM3RDWvq1P7nNa5bkCLBjcB9 MrbvSKVsc+WSbkSuiC3yPd89hAr0W/20bm4A7j5SeS+ji78Pw2iwBq4rYGFbiFtUWc7Lgu j9Gv6tdEqku6x33/IAGU/f6Qvu2sgzcSRnlUyVc5m7h1yKDtw5+gvah0mL573L3M2fsfQq EUn36Ws5w/HFrwZ1LUxj6mY/Q8fPtjaPi3lluj1yaDfDnAFgPe3EKSnvWbnzWQ== In-Reply-To: <87cz51z568.fsf@yahoo.com> 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:258389 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2023-03-22 14:11, Po Lu wrote: > Andrew Tropin writes: > >> On 2023-03-22 08:39, Po Lu wrote: >> >>> Andrew Tropin writes: >>> >>>> (gdb) frame 12 >>>> #12 0x00007ffff798ac04 in gtk_widget_event_internal (widget=3Dwidget@e= ntry=3D0xfee500, event=3Devent@entry=3D0xfdb4a0) at gtkwidget.c:7808 >>>> 7808 in gtkwidget.c >>>> (gdb) p *event >>>> $3 =3D {type =3D GDK_FOCUS_CHANGE, any =3D {type =3D GDK_FOCUS_CHANGE,= window =3D 0xefc450, send_event =3D 0 '\000'}, expose =3D {type =3D GDK_FO= CUS_CHANGE, window =3D 0xefc450,=20 >>>> send_event =3D 0 '\000', area =3D {x =3D 0, y =3D 0, width =3D 0, = height =3D 0}, region =3D 0x0, count =3D 0}, visibility =3D {type =3D GDK_F= OCUS_CHANGE, window =3D 0xefc450,=20 >>>> send_event =3D 0 '\000', state =3D GDK_VISIBILITY_UNOBSCURED}, mot= ion =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '= \000', time =3D 0, x =3D 0, y =3D 0, axes =3D 0x0,=20 >>>> state =3D 0, is_hint =3D 0, device =3D 0x0, x_root =3D 0, y_root = =3D 0}, button =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_ev= ent =3D 0 '\000', time =3D 0, x =3D 0, y =3D 0,=20 >>>> axes =3D 0x0, state =3D 0, button =3D 0, device =3D 0x0, x_root = =3D 0, y_root =3D 0}, touch =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xef= c450, send_event =3D 0 '\000', time =3D 0, x =3D 0,=20 >>>> y =3D 0, axes =3D 0x0, state =3D 0, sequence =3D 0x0, emulating_po= inter =3D 0, device =3D 0x0, x_root =3D 0, y_root =3D 0}, scroll =3D {type = =3D GDK_FOCUS_CHANGE, window =3D 0xefc450,=20 >>>> send_event =3D 0 '\000', time =3D 0, x =3D 0, y =3D 0, state =3D 0= , direction =3D GDK_SCROLL_UP, device =3D 0x0, x_root =3D 0, y_root =3D 0, = delta_x =3D 0, delta_y =3D 0, is_stop =3D 0}, key =3D { >>>> type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '= \000', time =3D 0, state =3D 0, keyval =3D 0, length =3D 0, string =3D 0x0,= hardware_keycode =3D 0, group =3D 0 '\000',=20 >>>> is_modifier =3D 0}, crossing =3D {type =3D GDK_FOCUS_CHANGE, windo= w =3D 0xefc450, send_event =3D 0 '\000', subwindow =3D 0x0, time =3D 0, x = =3D 0, y =3D 0, x_root =3D 0, y_root =3D 0,=20 >>>> mode =3D GDK_CROSSING_NORMAL, detail =3D GDK_NOTIFY_ANCESTOR, focu= s =3D 0, state =3D 0}, focus_change =3D {type =3D GDK_FOCUS_CHANGE, window = =3D 0xefc450, send_event =3D 0 '\000', in =3D 1},=20 >>>> configure =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_= event =3D 0 '\000', x =3D 0, y =3D 0, width =3D 0, height =3D 0}, property = =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450,=20 >>>> send_event =3D 0 '\000', atom =3D 0x0, time =3D 0, state =3D 0}, s= election =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event = =3D 0 '\000', selection =3D 0x0, target =3D 0x0,=20 >>>> property =3D 0x0, time =3D 0, requestor =3D 0x0}, owner_change =3D= {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000', = owner =3D 0x0,=20 >>>> reason =3D GDK_OWNER_CHANGE_NEW_OWNER, selection =3D 0x0, time =3D= 0, selection_time =3D 0}, proximity =3D {type =3D GDK_FOCUS_CHANGE, window= =3D 0xefc450, send_event =3D 0 '\000',=20 >>>> time =3D 0, device =3D 0x0}, dnd =3D {type =3D GDK_FOCUS_CHANGE, w= indow =3D 0xefc450, send_event =3D 0 '\000', context =3D 0x0, time =3D 0, x= _root =3D 0, y_root =3D 0}, window_state =3D { >>>> type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '= \000', changed_mask =3D 0, new_window_state =3D 0}, setting =3D {type =3D G= DK_FOCUS_CHANGE, window =3D 0xefc450,=20 >>>> send_event =3D 0 '\000', action =3D GDK_SETTING_ACTION_NEW, name = =3D 0x0}, grab_broken =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, = send_event =3D 0 '\000', keyboard =3D 0,=20 >>>> implicit =3D 0, grab_window =3D 0x0}, touchpad_swipe =3D {type =3D= GDK_FOCUS_CHANGE, window =3D 0xefc450, send_event =3D 0 '\000', phase =3D = 0 '\000', n_fingers =3D 1 '\001', time =3D 0,=20 >>>> x =3D 0, y =3D 0, dx =3D 0, dy =3D 0, x_root =3D 0, y_root =3D 0, = state =3D 0}, touchpad_pinch =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xe= fc450, send_event =3D 0 '\000', phase =3D 0 '\000',=20 >>>> n_fingers =3D 1 '\001', time =3D 0, x =3D 0, y =3D 0, dx =3D 0, dy= =3D 0, angle_delta =3D 0, scale =3D 0, x_root =3D 0, y_root =3D 0, state = =3D 0}, pad_button =3D {type =3D GDK_FOCUS_CHANGE,=20 >>>> window =3D 0xefc450, send_event =3D 0 '\000', time =3D 0, group = =3D 0, button =3D 0, mode =3D 0}, pad_axis =3D {type =3D GDK_FOCUS_CHANGE, = window =3D 0xefc450, send_event =3D 0 '\000',=20 >>>> time =3D 0, group =3D 0, index =3D 0, mode =3D 0, value =3D 0}, pa= d_group_mode =3D {type =3D GDK_FOCUS_CHANGE, window =3D 0xefc450, send_even= t =3D 0 '\000', time =3D 0, group =3D 0, mode =3D 0}} >>>> >>>> Thank you for your patience :) >>> >>> OK, thanks. This is quite odd. If you type: >>> >>> (gdb) p G_OBJECT_TYPE_NAME (widget) >>> >>> what do you see? >> >> (gdb) p G_OBJECT_TYPE_NAME (widget) >> No symbol "G_OBJECT_TYPE_NAME" in current context. > > Hmm. Would you please try this instead? > > (gdb) p g_type_name (((GTypeInstance *) widget)->g_class->g_type) (gdb) p g_type_name (((GTypeInstance *) widget)->g_class->g_type) 'g_type_name' has unknown return type; cast the call to its declared return= type =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmQarh0ACgkQIgjSCVjB 3rCKFhAAhwdKdaUWXiA2h5wUWapjp9PO/gu/Hc8edVdXc+Tk6MmW0sgrfSz++OYg LqtvZdJTTmK6Jzy6c6uIfNxEoKiWXfKZEI1I8KpVYhrKLCLgmhyuKf4pv1jUw3yB tP4d7e0zqCf/tyK8yPcNRSJWyPhanDAMElLRHOo1X89YI0dM4HSqZiO/15bezWQU oQUxpPXzi9isTyXM4WRbCsEVLoYpuK/wZI+H5xbVe0eIfJn5jMYdxGpdR5Dq/cSa GI3eMRal8hkOHEgpOxD8kZoUYZDHsZbxkxbUfrE+evbpfsOq1F+jdztWeloDJDkK A6uUW3dJKhzUmJKgHYKot8rFWL+py4n9hfYCwtpchWxmYhfVyRMa6+al4QBxmE9z 9N4AgyEYOvOO2UfgHwsbABUx9yT/bTR9QNYaFPQycvdRY+J12J9cWCRke4Pg5s6z g0yY6QYSlv8xTvruEY3SFj0+JnyF4IDZnThMlKCw0T5vQ7R9Y7Fg65hvAEJrj77d E39pCn6poJWV+MYYq6eXY7xplmNcbPooGYlX8/UEKiKgr9jcVjoY45tBv160sXsb KEAyMPb+FcIm1oTbo0uW+gaP8ZeW+7tx8luXfKWxlpfVN5JAe9BPIpgz2/5J8v9q miM02I0YDPBtG/AsuOlKGS+yS3nRzXhdPdG9jB9ezv1dTFOvt9w= =Ht1b -----END PGP SIGNATURE----- --=-=-=--