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: Wed, 22 Mar 2023 14:11:27 +0800 Message-ID: <87cz51z568.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> 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="26221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62291@debbugs.gnu.org To: Andrew Tropin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 22 07:12:19 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 1perhr-0006dY-CQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Mar 2023 07:12:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1perhe-0003uX-3z; Wed, 22 Mar 2023 02:12:06 -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 1perhb-0003tS-CX for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2023 02:12:03 -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 1perha-0007uJ-9h for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2023 02:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1perha-0001h7-54 for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2023 02:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Mar 2023 06:12: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.16794655066489 (code B ref 62291); Wed, 22 Mar 2023 06:12:02 +0000 Original-Received: (at 62291) by debbugs.gnu.org; 22 Mar 2023 06:11:46 +0000 Original-Received: from localhost ([127.0.0.1]:33288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1perhK-0001gY-9s for submit@debbugs.gnu.org; Wed, 22 Mar 2023 02:11:46 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:41340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1perhI-0001gI-Bo for 62291@debbugs.gnu.org; Wed, 22 Mar 2023 02:11:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679465496; bh=ZouxGJHArfNU333RIicLnXhBn2zQkMRrJzCG86mV5H0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=uND1NAwg1tDY8HhSElL8TwHfYEVTExX9GmoktckHC3iWAE1TlDt9XEhpp6d/HZOCEm4JZoF8n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JlkSgiHqm8j7PJoMt8vQ7s4oyP0sbDiH2EN3SeZJFT3vr.0HrJ2o9FCznu3gFzoyss64Uu g_A3NvXHT43NddhenO4ve1LvGI7IaK6KheHDB0YGwzKnE9wt1.ZBPyNe0ATw2RLomZ_zfcXvMulg wXnn69AdbAaNm5pxWMxozflUHaoeRKXapUX9A4SiNOJnoXAXDOWtizdEv.QJyh1gD0LRHoMxshc_ AeSoh3tMd4Zn60z2p0Xq.nZ8YR7RD4Zz6D.5oI_460t4KchoGpoREOJRSGezq.qtNDlj67R_mwTO aYNe.jRZI.zwns4D0ojz2gwq1xG_ChGaBaW5klLRI5mUVW6dA4IiTrPhzIihQ5FfPk64EMCqWcd1 70Wa9PlPQfS3rckecYQpfvhwl8CjFn.fEeloU94d4oHGwCnQojGoVGLuKwrrhG1VGs78ZuPgOMdx gHaJtP.xjw0ED0kn5NoD5zZpE3_QuTreE4fUzcemXx2oOgUZN5D5O8P4zHha7uQYGi32uYPSVHFY nJQAkWfa4XTX7DxLP6D9IhALPr9m0pKuj1usTsF.zP X-Sonic-MF: X-Sonic-ID: 3341efef-1c59-4f1d-89d4-599c7eb9bf13 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Wed, 22 Mar 2023 06:11:36 +0000 Original-Received: by hermes--production-sg3-67c57bccff-d4fzt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1db6c40fedc9ba969bfe2482f6addefd; Wed, 22 Mar 2023 06:11:32 +0000 (UTC) In-Reply-To: <874jqdwg62.fsf@trop.in> (Andrew Tropin's message of "Wed, 22 Mar 2023 08:42:13 +0400") X-Mailer: WebService/1.1.21311 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:258387 Archived-At: 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=widget@entry=0xfee500, event=event@entry=0xfdb4a0) at gtkwidget.c:7808 >>> 7808 in gtkwidget.c >>> (gdb) p *event >>> $3 = {type = GDK_FOCUS_CHANGE, any = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000'}, expose = {type = GDK_FOCUS_CHANGE, window = 0xefc450, >>> send_event = 0 '\000', area = {x = 0, y = 0, width = 0, height = 0}, region = 0x0, count = 0}, visibility = {type = GDK_FOCUS_CHANGE, window = 0xefc450, >>> send_event = 0 '\000', state = GDK_VISIBILITY_UNOBSCURED}, motion = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', time = 0, x = 0, y = 0, axes = 0x0, >>> state = 0, is_hint = 0, device = 0x0, x_root = 0, y_root = 0}, button = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', time = 0, x = 0, y = 0, >>> axes = 0x0, state = 0, button = 0, device = 0x0, x_root = 0, y_root = 0}, touch = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', time = 0, x = 0, >>> y = 0, axes = 0x0, state = 0, sequence = 0x0, emulating_pointer = 0, device = 0x0, x_root = 0, y_root = 0}, scroll = {type = GDK_FOCUS_CHANGE, window = 0xefc450, >>> send_event = 0 '\000', time = 0, x = 0, y = 0, state = 0, direction = GDK_SCROLL_UP, device = 0x0, x_root = 0, y_root = 0, delta_x = 0, delta_y = 0, is_stop = 0}, key = { >>> type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', time = 0, state = 0, keyval = 0, length = 0, string = 0x0, hardware_keycode = 0, group = 0 '\000', >>> is_modifier = 0}, crossing = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', subwindow = 0x0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, >>> mode = GDK_CROSSING_NORMAL, detail = GDK_NOTIFY_ANCESTOR, focus = 0, state = 0}, focus_change = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', in = 1}, >>> configure = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', x = 0, y = 0, width = 0, height = 0}, property = {type = GDK_FOCUS_CHANGE, window = 0xefc450, >>> send_event = 0 '\000', atom = 0x0, time = 0, state = 0}, selection = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', selection = 0x0, target = 0x0, >>> property = 0x0, time = 0, requestor = 0x0}, owner_change = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', owner = 0x0, >>> reason = GDK_OWNER_CHANGE_NEW_OWNER, selection = 0x0, time = 0, selection_time = 0}, proximity = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', >>> time = 0, device = 0x0}, dnd = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', context = 0x0, time = 0, x_root = 0, y_root = 0}, window_state = { >>> type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', changed_mask = 0, new_window_state = 0}, setting = {type = GDK_FOCUS_CHANGE, window = 0xefc450, >>> send_event = 0 '\000', action = GDK_SETTING_ACTION_NEW, name = 0x0}, grab_broken = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', keyboard = 0, >>> implicit = 0, grab_window = 0x0}, touchpad_swipe = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', phase = 0 '\000', n_fingers = 1 '\001', time = 0, >>> x = 0, y = 0, dx = 0, dy = 0, x_root = 0, y_root = 0, state = 0}, touchpad_pinch = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', phase = 0 '\000', >>> n_fingers = 1 '\001', time = 0, x = 0, y = 0, dx = 0, dy = 0, angle_delta = 0, scale = 0, x_root = 0, y_root = 0, state = 0}, pad_button = {type = GDK_FOCUS_CHANGE, >>> window = 0xefc450, send_event = 0 '\000', time = 0, group = 0, button = 0, mode = 0}, pad_axis = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', >>> time = 0, group = 0, index = 0, mode = 0, value = 0}, pad_group_mode = {type = GDK_FOCUS_CHANGE, window = 0xefc450, send_event = 0 '\000', time = 0, group = 0, mode = 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)