Subject: Re: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus

From: Eli Zaretskii <[email-masked]>
Date: Tue, 14 Nov 2017 21:02:51 +0200

> Date: Tue, 14 Nov 2017 19:29:16 +0100
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked], 
>  [email-masked], [email-masked]
> 
>  > No, it's because x-show-tip _needs_ a frame on which to pop up the
>  > tooltip.
> 
> Only to pass a display info to x_create_tip_frame and to do the
> last_frame rigmarole.

Like with any other frame we create, no?

Besides, GTK needs the frame to stash away the widget.

> But I do not anywhere see a dependency that would trigger the
> deletion of a tip frame when the frame on which it popped up gets
> deleted.

x-show-tip starts a timer that calls x-hide-tip when the timer
expires.  And x-hide-tip deletes the tip frame.

> So passing the frame is inherently needed only for the
> sake of xg_show_tooltip, xg_hide_tooltip and xg_free_frame_widgets.  Or
> am I missing something?

And for the rigmarole.