From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Date: Sun, 15 Oct 2017 17:29:17 +0300 Message-ID: <83r2u4h4ci.fsf@gnu.org> References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> <83o9sgb8ni.fsf@gnu.org> <83tvzdwxil.fsf@gnu.org> <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> <83lgkgn4zr.fsf@gnu.org> <834lr3la5n.fsf@gnu.org> <59E1CC77.5000103@gmx.at> <83po9qhwc6.fsf@gnu.org> <59E32CCB.1020108@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1508077814 25374 195.159.176.226 (15 Oct 2017 14:30:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Oct 2017 14:30:14 +0000 (UTC) Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, kaushal.modi@gmail.com, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 15 16:30:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jvZ-0005ZM-1W for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Oct 2017 16:30:05 +0200 Original-Received: from localhost ([::1]:57432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3jvg-0002dZ-Ev for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Oct 2017 10:30:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3jvY-0002d2-6D for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 10:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3jvX-00048M-7N for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 10:30:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3jvX-00048B-3Q for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 10:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3jvW-0008DY-Sv for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2017 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150807779631546 (code B ref 27647); Sun, 15 Oct 2017 14:30:02 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 15 Oct 2017 14:29:56 +0000 Original-Received: from localhost ([127.0.0.1]:41756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jvP-0008Ck-PQ for submit@debbugs.gnu.org; Sun, 15 Oct 2017 10:29:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3jvN-0008CT-S8 for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 10:29:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3jvF-0003xq-Iw for 27647@debbugs.gnu.org; Sun, 15 Oct 2017 10:29:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3jus-0003WG-85; Sun, 15 Oct 2017 10:29:22 -0400 Original-Received: from [176.228.60.248] (port=4627 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e3jur-0004Ex-Mn; Sun, 15 Oct 2017 10:29:21 -0400 In-reply-to: <59E32CCB.1020108@gmx.at> (message from martin rudalics on Sun, 15 Oct 2017 11:39:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138458 Archived-At: > Date: Sun, 15 Oct 2017 11:39:23 +0200 > From: martin rudalics > CC: rom.skiad@gmail.com, 27647@debbugs.gnu.org, kaushal.modi@gmail.com, > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net > > > To make line numbers disappear, some code has to trigger redisplay > > with display-line-numbers somehow reset to nil. > > Buffer-locally. Yes. > I suppose this will become clear as soon as the OP has > tested your "What if you turn on display-line-numbers globally". Yes, that's the reason for that request. > In either case it seems that we do something subtly different when > processing GTK and native tooltips. Indeed, the processing is very different (unsurprisingly). > Since AFAICT the GTK tooltip related code does not change the > internal (frame-, display-related) state of Emacs I can only think > of the native tooltip code doing something which prevents the OP's > behavior from happening. But I've found nothing supporting such a > claim in ‘x-show-tip’. Neither did I. In fact, the GTK code is much simpler, and I cannot for a moment figure out how it could have switched buffers behind our back (if that's what happens in this scenario).