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: martin rudalics <rudalics <at> gmx.at>
To: Po Lu <luangruo <at> yahoo.com>
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 11:19:22 +0100
> 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




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

Previous Next


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