GNU bug report logs - #27647
26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Mon, 10 Jul 2017 20:55:02 UTC

Severity: normal

Tags: patch

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 27647 <at> debbugs.gnu.org, kaushal.modi <at> gmail.com, agrambot <at> gmail.com, npostavs <at> users.sourceforge.net
Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus
Date: Tue, 14 Nov 2017 10:52:48 +0100
>> IIUC GTK doesn't need the original frame.
>
> xg_hide_tooltip needs it, because the GTK tooltip widget is stashed
> away in its output->data.x structure.

Because ‘tooltip-show’ implicitly uses the selected frame to decide
where to show the tooltip and passes it as argument to ‘x-show-tip’.
Nowhere in the documentation of tooltips we mention that dependency.

> Once again, it would be better to have the GTK code completely
> separated, IMO.

Still I think we should first eliminate all tooltip related global
variables.  They are an unnecessary confusion - only think of
last_show_tip_args impicitly also referring to a frame selected at some
earlier time - and restriction - Emacs could easily show several native
tooltips simultaneously, at least one for each display.

martin





This bug report was last modified 7 years and 242 days ago.

Previous Next


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