From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Date: Mon, 16 Oct 2017 21:46:55 +0000 Message-ID: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c13b50cab7a5e055bb0f22a" X-Trace: blaine.gmane.org 1508190512 28160 195.159.176.226 (16 Oct 2017 21:48:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 21:48:32 +0000 (UTC) Cc: rom.skiad@gmail.com, 27647@debbugs.gnu.org, 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 Mon Oct 16 23:48:25 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 1e4DEz-0004HY-VP for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 23:48:06 +0200 Original-Received: from localhost ([::1]:35371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4DF7-0001vK-2E for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 17:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4DEz-0001v9-Dn for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4DEw-0007Bj-Ax for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:48:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4DEw-0007Bc-6G for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4DEv-0006xZ-T8 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 17:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2017 21:48:01 +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.150819043526681 (code B ref 27647); Mon, 16 Oct 2017 21:48:01 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 16 Oct 2017 21:47:15 +0000 Original-Received: from localhost ([127.0.0.1]:44361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4DEA-0006wH-NW for submit@debbugs.gnu.org; Mon, 16 Oct 2017 17:47:14 -0400 Original-Received: from mail-qt0-f176.google.com ([209.85.216.176]:52273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4DE8-0006w5-VK for 27647@debbugs.gnu.org; Mon, 16 Oct 2017 17:47:13 -0400 Original-Received: by mail-qt0-f176.google.com with SMTP id 31so9373223qtz.9 for <27647@debbugs.gnu.org>; Mon, 16 Oct 2017 14:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8d6fZpp66sFCxVECVxGjtySfoTWzSp+l7DXZeooGvq0=; b=keoJssMNc6YnpQ1MqmFG2wESDYv4lb534CbO/5W0HQn9jlDfHzVAJmHumj+Cf9uzAw yXLN/NxMn1fk5rYHJfG8gep6GjQeosvYRb4jFyCsygi1ZC9zNWgCn1S4p0E/Ex9Pz3Br 4ILixOIxJW0d+ZSInRbfbTljqDGFW4/i8pzCu0LTUYRoBKXqJeXowjgA7iQBc83Jy+HI POzbBHUF0klMEXxMwTfEYmY1ArlUex5tl/znf4nHCPLifiWhotApS8P8iwtwqPipDk4G 3xCI/vz8KwPcG9rR+zcCIQwJYMnDlNENV4HTfFfuecBLXub81JSk6gFvDC0Cr9XDJQx5 sgsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8d6fZpp66sFCxVECVxGjtySfoTWzSp+l7DXZeooGvq0=; b=iF9XVAPlOZahwxZCyKfpY5+BrZ7BbEFOfkg2AXR2syjdUT/SCITcmgoxSbUIeoVYef TU8XeBnOhpKm3vSOdEaf1kqRJyRoabWRRDFKtlzo0UyEz+MFCLcIs8kKh2XcgZ0L2Iu2 Lx12nk7dxSkXHeUlrz8emdAE8utEE43tB5vOyo1E5i43czzRRM7/SSIj7ZbuMFs3Sc3W d7XXxqFnK3FUV6KdA4gZUqzLq8NwG3mEStkbyZ3MLOqIEfhpFCO+KI2aTmxljxV3fl0D ye9pZ+vRKCBFVkNUTePPMs0bRlLx7IA+AM3Rn+3i5+++yTjOR7LS6j+FQOYxjMKALvMG AcRA== X-Gm-Message-State: AMCzsaVf9wJ4eM7ppZM/u1JMPHzKszjl5CMTN0s5d3L/6N8ogtPkcQ7r xKb8XHxKiTNQQKUqnght/bTvYTtM/qFNJkj2oFw= X-Google-Smtp-Source: ABhQp+Q9mwq1rpR3l1G9iSotCul2GEFSb9WjK6FFdwQQqGluRQfeYS8sPEkjDhLtL7db9tVLk/rDvZVvRinnZTN/H8E= X-Received: by 10.37.164.164 with SMTP id g33mr1268180ybi.11.1508190427243; Mon, 16 Oct 2017 14:47:07 -0700 (PDT) In-Reply-To: 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:138557 Archived-At: --94eb2c13b50cab7a5e055bb0f22a Content-Type: text/plain; charset="UTF-8" On Sun, Oct 15, 2017 at 9:25 AM Kaushal Modi wrote: > > The issue hasn't repeated in the past few days .. I'd hate if this has to > do with me restarting my machine. (As a side: My machine had an uptime of > about a year, and I restarting it fixed the problem that gdb wasn't able to > access ptrace. The whole reason I wanted that to work was to use gdb to > debug this problem when it occurred next.) > > After the machine restart, the gdb issue resolved, and this line > disappearing issue also "seems" to have.. disappeared. > Nope, it is back! Thanks to Romanos, I tried to see if this issue had anything to do with tooltips and it almost always happens when hovering mouse over stuff in modeline, waiting for tooltips to appear. I have yet to find a recipe from emacs -Q, but below is a GIF recording: ==> https://i.imgur.com/kB6gHDk.gifv <== - Hovering mouse for tool-tips makes the line nums disappear (only for some tooltips though) - Clicking anywhere in the buffer brings the line nums back I do that a couple of times in that GIF. @Eli: About setting display-line-numbers globally, that did not help.. I evaluated: (setq-default display-line-numbers t) (So now even fundamental-mode buffers have line numbers.) But even after, the hover-over-modeline magic trick faithfully reproduces this issue at least on my config. Now, I will try to cook an emacs -Q recipe. ===== Latest emacs version info (Note that I am on RHEL 6.6, GTK2): Emacs version: GNU Emacs 26.0.90 (build 4, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2017-10-16, built using commit 16e85456e70174f1d97fc5a7cd8a199b8f0e7e70. ./configure options: --with-modules --prefix=/home/kmodi/usr_local/apps/6/emacs/emacs-26 '--program-transform-name=s/^ctags$/ctags_emacs/' 'CPPFLAGS=-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3' Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES -- Kaushal Modi --94eb2c13b50cab7a5e055bb0f22a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 15= , 2017 at 9:25 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:

The i= ssue hasn't repeated in the past few days .. I'd hate if this has t= o do with me restarting my machine. (As a side: My machine had an uptime of= about a year, and I restarting it fixed the problem that gdb wasn't ab= le to access ptrace. The whole reason I wanted that to work was to use gdb = to debug this problem when it occurred next.)=C2=A0

After the machine restart, the gdb issue resolved, and this line disappea= ring issue also "seems" to have.. disappeared.=C2=A0

Nope, it is back!

Thanks= to Romanos, I tried to see if this issue had anything to do with tooltips = and it almost always happens when hovering mouse over stuff in modeline, wa= iting for tooltips to appear.

I have yet to find a= recipe from emacs -Q, but below is a GIF recording:

=3D=3D>=C2=A0https://i.imgur.com/kB6gHDk.gifv=C2=A0<=3D= =3D

- Hovering mouse for tool-tips makes the line = nums disappear (only for some tooltips though)
- Clicking anywher= e in the buffer brings the line nums back

I do tha= t a couple of times in that GIF.

@Eli: About setti= ng display-line-numbers globally, that did not help..

<= div>I evaluated:

=C2=A0 =C2=A0 (setq-default = display-line-numbers t)

(So now even fun= damental-mode buffers have line numbers.)

But even= after, the hover-over-modeline magic trick faithfully reproduces this issu= e at least on my config.

Now, I will try to cook a= n emacs -Q recipe.

=3D=3D=3D=3D=3D
Lates= t emacs version info (Note that I am on RHEL 6.6, GTK2):

Emacs version: GNU Emacs 26.0.90 (build 4, x86_64-pc-linux-gnu,= GTK+ Version 2.24.23)
=C2=A0of 2017-10-16, built using commit 16= e85456e70174f1d97fc5a7cd8a199b8f0e7e70.

./configur= e options:
=C2=A0 --with-modules --prefix=3D/home/kmodi/usr_local= /apps/6/emacs/emacs-26 '--program-transform-name=3Ds/^ctags$/ctags_emac= s/' 'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/include/fr= eetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0' 'CXXFLAGS=3D-= ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/u= sr_local/6/lib64 -ggdb3'

Features:
= =C2=A0 XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTI= FY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BA= RS GTK2 X11 MODULES
--

Kaushal Modi

--94eb2c13b50cab7a5e055bb0f22a--