Subject: bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk

From: Po Lu <[email-masked]>
Date: Fri, 24 Dec 2021 18:38:58 +0800

martin rudalics <[email-masked]> 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.