bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is ni


From: martin rudalics
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]