From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics 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 11:19:22 +0100 Message-ID: <08a8dbe2-c7ee-2b41-b554-d4fb82f0532d@gmx.at> References: <87pmpq7zc7.fsf@posteo.org> <87pmpobt9v.fsf@gnus.org> <87lf0ae87l.fsf_-_@yahoo.com> <6a538437-5c84-577b-d17f-93b02831c163@gmx.at> <87h7aye45g.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 52705@debbugs.gnu.org, Aleksandr Vityazev To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 24 11:20:14 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 1n0hgM-0007YA-D7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 11:20:14 +0100 Original-Received: from localhost ([::1]:44056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0hgL-0001Cs-AO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 05:20:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0hgE-0001CU-AG for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 05:20:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0hgA-0001eo-Pb for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 05:20:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0hgA-0003px-Hh for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 05:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Dec 2021 10:20: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.164034117514708 (code B ref 52705); Fri, 24 Dec 2021 10:20:02 +0000 Original-Received: (at 52705) by debbugs.gnu.org; 24 Dec 2021 10:19:35 +0000 Original-Received: from localhost ([127.0.0.1]:35730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0hfj-0003pA-Ds for submit@debbugs.gnu.org; Fri, 24 Dec 2021 05:19:35 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:39367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0hfg-0003ot-Hi for 52705@debbugs.gnu.org; Fri, 24 Dec 2021 05:19:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640341164; bh=aXksR5mmdVo/BeYb6ccgPFcjXu99OBUEG3eVhj7J9qA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=LoN0P7a3dDR+C08hggq0tEjTLZAydhzX6muiyB9/Nhcbq6jU9etLh6+NqkfvFWZf9 QFd3j79i4l+kKXO5j3PUGWVqxd7N0wUPGpUrOtEVdJcb6oLHeJsRHddqf+UxxM9W3F C/rgtizRBW8zXCi2P0oIlK2np3XX9Ola+9MH587M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.102] ([46.125.249.28]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mk0Ne-1mcOOZ2k8G-00kLde; Fri, 24 Dec 2021 11:19:23 +0100 In-Reply-To: <87h7aye45g.fsf@yahoo.com> Content-Language: en-US X-Provags-ID: V03:K1:R8uO9Ogsej1969t5gmZLtq+RaJDCjR2jbyc6eZ38w+WaYLvqZox 2TkjBDjUXvCuRo+eGDovOFgTyFFv4nU+bYRnIP25UMGQrK3t71S50GSrFuo850suem06e/o d3WXQv2k4FCG7a9YYljUQTd1Zl+DAprQr6hjfTrLR3ljb2hMVYxp5EBGG7fzBobN9sY3TyI IqRLxYv+3QnSLED/AlXBQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Cy1RLxsBSJE=:07l3PmQHWzULzmrpDioNKG +Vttps2HtFgFvMfWvMPxmOMEgtUwEXMXN8/T/p1X3qn+WXDU0zKMMjN9eMbR4Rnbnl7T9m/R/ pkMSr6eK2KOXGjIccaPnZTHGIHQEPIL4Q7m3b5Nv9//93ty8dBnlVNOKh06VV9yiE60yvuLS6 iC4leHl775AmdFONoQP542m3JQz/LL8BEmNjje3ZJU3ItP1K93A4Joqosc+aIJG3vtX0OnRBT 3YUoG2jfhJtTnYq1wis9tLGNYeoNViQCXT6rusjgX2lvjwp4ESFhxyaX3tBESmx09JUZ09mBG smXQC7rABRCPTxSvFmZaSCVg12GkZFi49iYMYRfyrtVkopL6MDO+B0fRSNHPF26N209Zx35U9 qejOAf2SQRepaNWVw9+uv4jYAhCx76YDjlmP0zjicNmK1K8FPL/rhLTOPxO5BUQIARuat2cq+ z9vLtoviHsM+1B1RL8rNaOCwvw+m2RKAtVU0V19wcSvp0sYhRWX32Wou3kY+fpZRqWSFRsruP wERZi52T8Gyw8hioJpu5pAjo9ZuSHVjKmkCd4vAs2u/MCTl/L9vGsYPjXIpyg28Wj5yWByc3Z oawysYni01mHF7Rv67ANob0fT4EdAIPe5SPnfF4w8hnlaXXBXz723N+PYS5rDUbG2+aLrNPJ/ kMUAoKSGWLN6+G7A4UQS0fMzOUdFP8n8H5hfsq4dMTiioEPYWc9mVeoFJh23PyMOiMHjaZbNs hdIz2k48gbkz07QeE6eulRk3YvH9qRiO5SWao83XKYwzHOlUAgXupxM2IUvkLHOaUZu+Igbu 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:223035 Archived-At: > Hmm, could you try putting SET_FRAME_VISIBLE (f, 1) after this line in > `x_create_tip_frame': > > gtk_window_set_attached_to (GTK_WINDOW (tip_window), FRAME_GTK_WIDGET (p)); > gtk_window_set_destroy_with_parent (GTK_WINDOW (tip_window), TRUE); > gtk_window_set_decorated (GTK_WINDOW (tip_window), FALSE); > gtk_window_set_type_hint (GTK_WINDOW (tip_window), GDK_WINDOW_TYPE_HINT_TOOLTIP); > f->output_data.pgtk->current_cursor = f->output_data.pgtk->text_cursor; > -> gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); > > The signal handler in `map_event' in pgtkterm.c should set the frame's > visibility, but it seems that for some reason it isn't being triggered, > even though we do set up event handling. This has the effect that the tooltip becomes invisible forever after it has been shown once. Note all I do with emacs -Q is to evaluate (progn (setq x-gtk-use-system-tooltips nil) (setq tooltip-reuse-hidden-frame t)) and move the mouse over the mode line. martin