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#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk Date: Fri, 24 Dec 2021 18:38:58 +0800 Message-ID: <87zgoqcmnx.fsf@yahoo.com> References: <87pmpq7zc7.fsf@posteo.org> <87pmpobt9v.fsf@gnus.org> <87lf0ae87l.fsf_-_@yahoo.com> <6a538437-5c84-577b-d17f-93b02831c163@gmx.at> <87h7aye45g.fsf@yahoo.com> <08a8dbe2-c7ee-2b41-b554-d4fb82f0532d@gmx.at> 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="3261"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Lars Ingebrigtsen , 52705@debbugs.gnu.org, Aleksandr Vityazev To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 24 11:40:45 2021 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 1n0i0C-0000eZ-2T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 11:40:44 +0100 Original-Received: from localhost ([::1]:49446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0i0A-0006as-6Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 05:40:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0i00-0006aj-3F for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 05:40:32 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0hzX-0000kr-Bh for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 05:40:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0hzW-0004JH-HU for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 05:40:02 -0500 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 Dec 2021 10:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52705 X-GNU-PR-Package: emacs Original-Received: via spool by 52705-submit@debbugs.gnu.org id=B52705.164034236216514 (code B ref 52705); Fri, 24 Dec 2021 10:40:02 +0000 Original-Received: (at 52705) by debbugs.gnu.org; 24 Dec 2021 10:39:22 +0000 Original-Received: from localhost ([127.0.0.1]:35738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0hyr-0004IH-CK for submit@debbugs.gnu.org; Fri, 24 Dec 2021 05:39:22 -0500 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:43226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0hyk-0004Hy-Gq for 52705@debbugs.gnu.org; Fri, 24 Dec 2021 05:39:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640342348; bh=skOL4JhicjNP37rBff+fErztA9T6F4ZCDDQcxaLVo8c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=ViepAC8UnEBTVHcpkwt1Iws9YAVJEgjwbQjx65eYQLjR8A+QA8Kp+t9YFeXFkwgE/YJVx7KmM8jgrDDILHokzeJaETQBk5U4L8ihAtTCMapjPyE+jWF3pXv8DUnWutFmwsulVSGVltCays4cU0q/tky+Ol9WgBWhBTdwGXIKqPNf0ugcJnHu24K/wuAT8R7IK4/Zc431xhTIGRnhMqMNkuhVK20yJ/u4wh/TpackG3WR8mJl8Q3PnSGL50oOqMrtv+gWRVT+AQJQaekMXWy2Tsj0bP76UJ7nz20sdq+PWbJ/UFLao0CBayNc8d0TddJvkfRtICpFYLdhdMWYocewvA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640342348; bh=0lhKhH0AoK4Z2PS1h40E3WObZUOcWwt9KG6Fvo9Izuu=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tCpIkTQlzcrAh89YCDv+PLMF7CWlWz8C6q1ejbKo1R4idue3qradmRDaQRFJMg/rtzXxQXnU1uFz8IuvizY0mzUx3/iXyJuhbt2Gy4zFx1wSQhS0MxsKjCHPf3HP++g+N5RRxCWf93zkDNpEhjjA46jC1Kt7niGQZx4kMqpgxVuPp/II1DYDMrEKNn9a1Pa7hyYI/Uug7pIax2H+p4Jk7dFkAyOmB9SfB8PeJSF5jhhIxGCkg77MjyYf+RtEJPK31AQsytdHrGKoOVK4XeQpA/aiJF1dTPn9Np1Xy+5TQaD25UdItO+1N+prpNEdvUt+7P+g31lLgksIrU8oLVigbw== X-YMail-OSG: yjSvLB8VM1lm5kxTI0LkxYYNKjg1lgEJcLEq7qVFNnMDD3x0LPjreH8C_7XidR_ .tWZH2s58pndkm_TQd6lrds4p6ZOTxCojcGVPaQdc7fgbBwu3AS86aRDwhSZBqwFFsCIPtnt47u6 MM6pFMMTjU7qBmmruviX3BQtzW.mci_i1NISlvmxOxKAXDFerdtUbkMiDk0b6Hv4lrHR3p0tbQ4I SZC6Vaaov63jCP0XfzBnqIRsKtePkcFz4YH3T.kftHREq0vuvCP8x2GPNhsthNlPIJQAJQaVqsI. THr5_Lgj3ZvJNFAmAXkMKq2LoR9sTvnqT73eyBlOicGA.VptiUXuSPszW82qiaIuEwZE5JGaYxrZ GLgDC.oByuI.gnN6LjGLVNt8.LjciPjpoJrJCURpPiNzhB4UXoNH2ehRi4nhGEAKCEpi311Raqs3 Rqri2PBBmz9ugwohcqSL3dtu3ivc_r5ggkpbnP3D5rqGIZaBTV21L93YW895XW8nLmh4WNrdPx0o VPv_p6coyJMZIQtK1v38gkXSnAowwCS5q.PACrIC.uR7ADXKlqk4mDx6GlRiOv3gBiW8sRdL.pBd t5r8lt04eNRfpuh__LX_yZOs1BZH9x2pJ0WWpU1HvHIKG.jrxwtePCROkgmBiy_AVfskA49dzGjY OMzXolHeZ6dR2sF1ZAh35ZzjRhK_LSWp82ggm1xiweLT_ZP3qJrW7MLKcVwGlwU0w2yBHnHpDuN. EpdpRLYR45XS02sBwV6T6D3d9wq8BimIIY_.ipm8zPhqd7jVEGFb7excG7YbDFMdym6ohuvFcnMa fshm9GFIo.BJSR08mrzDIV.I13Z1oTJvoPiGp75K_5 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Fri, 24 Dec 2021 10:39:08 +0000 Original-Received: by kubenode502.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5496beb6a1cf3a824ad120c0c8635d8c; Fri, 24 Dec 2021 10:39:03 +0000 (UTC) In-Reply-To: <08a8dbe2-c7ee-2b41-b554-d4fb82f0532d@gmx.at> (martin rudalics's message of "Fri, 24 Dec 2021 11:19:22 +0100") X-Mailer: WebService/1.1.19498 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" Xref: news.gmane.io gmane.emacs.bugs:223036 Archived-At: martin rudalics writes: > This has the effect that the tooltip becomes invisible forever after it > has been shown once. Thanks, I'm beginning to understand the problem. Try removing this part of `x_create_tip_frame' in pgtkfns.c: gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); And adding `gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (tip_f))' to this part of x-show-tip in that file: /* Show tooltip frame. */ block_input (); gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (tip_f)), width, height); gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (tip_f)), root_x, root_y); unblock_input (); Thanks.