unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	52705@debbugs.gnu.org, Aleksandr Vityazev <avityazev@posteo.org>
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	[thread overview]
Message-ID: <87zgoqcmnx.fsf@yahoo.com> (raw)
In-Reply-To: <08a8dbe2-c7ee-2b41-b554-d4fb82f0532d@gmx.at> (martin rudalics's message of "Fri, 24 Dec 2021 11:19:22 +0100")

martin rudalics <rudalics@gmx.at> 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.





  reply	other threads:[~2021-12-24 10:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 15:27 bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil Aleksandr Vityazev
2021-12-22 14:37 ` Lars Ingebrigtsen
2021-12-24  8:08   ` bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-24  8:43     ` martin rudalics
2021-12-24  9:35       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-24 10:19         ` martin rudalics
2021-12-24 10:38           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-12-24 16:03             ` martin rudalics
2021-12-25  0:30               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25  9:17                 ` martin rudalics
2021-12-25  9:39                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25 17:16                     ` martin rudalics
2021-12-26  1:22                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-26  8:25                         ` martin rudalics
2022-01-02 12:14                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-02 12:33                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgoqcmnx.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52705@debbugs.gnu.org \
    --cc=avityazev@posteo.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).