GNU bug report logs - #52705
29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk

Previous Next

Package: emacs;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Tue, 21 Dec 2021 15:28:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 52705 <at> debbugs.gnu.org, Aleksandr Vityazev <avityazev <at> 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
martin rudalics <rudalics <at> 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.




This bug report was last modified 3 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.