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: Sat, 14 Oct 2017 13:12:25 +0300 Message-ID: <83po9qhwc6.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507976058 30715 195.159.176.226 (14 Oct 2017 10:14:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 10:14:18 +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 Sat Oct 14 12:14:10 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 1e3JSG-0006Gd-Dy for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Oct 2017 12:14:04 +0200 Original-Received: from localhost ([::1]:53441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3JSN-00005T-Nw for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Oct 2017 06:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3JSH-00005L-JJ for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2017 06:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3JSE-0007Vc-Dk for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2017 06:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3JSE-0007VY-Av for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2017 06:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3JSE-00077V-1w for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2017 06:14: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: Sat, 14 Oct 2017 10:14: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.150797598227288 (code B ref 27647); Sat, 14 Oct 2017 10:14:02 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 14 Oct 2017 10:13:02 +0000 Original-Received: from localhost ([127.0.0.1]:38855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3JRG-00075v-34 for submit@debbugs.gnu.org; Sat, 14 Oct 2017 06:13:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3JRD-00075Z-Tv for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 06:13:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3JR7-00074S-OC for 27647@debbugs.gnu.org; Sat, 14 Oct 2017 06:12:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3JQm-0006gf-5H; Sat, 14 Oct 2017 06:12:32 -0400 Original-Received: from [176.228.60.248] (port=3504 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e3JQl-0000zg-ID; Sat, 14 Oct 2017 06:12:31 -0400 In-reply-to: <59E1CC77.5000103@gmx.at> (message from martin rudalics on Sat, 14 Oct 2017 10:36:07 +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:138398 Archived-At: > Date: Sat, 14 Oct 2017 10:36:07 +0200 > From: martin rudalics > CC: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, > jonaswestlund101@gmail.com, npostavs@users.sourceforge.net > > >> It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. > > > > What about disabling scroll-bar-mode, while leaving the GTK tooltips > > in use -- does that also make the problem go away? > > What were your thoughts here? That clearing the scroll bar area would > erase the line numbers? I was trying to establish what was different from my build that caused the numbers to disappear. When there's a GTK scroll bar, redisplay causes the frame's garbaged flag be set, which is something I could try emulating here under a debugger. Not sure what GTK tooltips have to do with this, as AFAICS displaying a GTK tooltip shouldn't trigger redisplay. To make line numbers disappear, some code has to trigger redisplay with display-line-numbers somehow reset to nil. If you can reproduce the recipe posted by Romanos, then please try finding the code which resets that variable, perhaps by making a different buffer current or something.