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: Thu, 12 Oct 2017 11:29:44 +0300 Message-ID: <83lgkgn4zr.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507797076 20302 195.159.176.226 (12 Oct 2017 08:31:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 08:31:16 +0000 (UTC) Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net To: Romanos Skiadas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 10:31: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 1e2YtW-0003rY-HW for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 10:31:06 +0200 Original-Received: from localhost ([::1]:44300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2Ytc-0000GQ-Di for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 04:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2YtW-0000GA-DN for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 04:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2YtS-000475-EE for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 04:31:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2YtS-00046l-B4 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 04:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2YtR-0006Fw-Oo for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 04:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 08:31: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.150779703624009 (code B ref 27647); Thu, 12 Oct 2017 08:31:01 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 12 Oct 2017 08:30:36 +0000 Original-Received: from localhost ([127.0.0.1]:34842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Yt2-0006FB-By for submit@debbugs.gnu.org; Thu, 12 Oct 2017 04:30:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Ysy-0006Et-NO for 27647@debbugs.gnu.org; Thu, 12 Oct 2017 04:30:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Yso-0003iy-3O for 27647@debbugs.gnu.org; Thu, 12 Oct 2017 04:30:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2YsV-0003Rx-8D; Thu, 12 Oct 2017 04:30:03 -0400 Original-Received: from [176.228.60.248] (port=1324 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2YsS-0006aj-B1; Thu, 12 Oct 2017 04:30:01 -0400 In-reply-to: <66aa3f32-28a3-8aa7-117a-c8b2d9827eb4@gmail.com> (message from Romanos Skiadas on Wed, 11 Oct 2017 21:32:06 +0100) 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:138253 Archived-At: > Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com, > npostavs@users.sourceforge.net > From: Romanos Skiadas > Date: Wed, 11 Oct 2017 21:32:06 +0100 > > echo "foo" > /tmp/test.txt > > (cd /tmp && git clone https://github.com/emacs-evil/evil) > > Add this to a file, eg /tmp/test-init.el: > > (add-hook 'text-mode-hook (lambda () (display-line-numbers-mode))) > (add-to-list 'load-path "/tmp/evil") > (require 'evil) > (evil-mode 1) > > emacs -Q -l /tmp/test-init.el /tmp/test.txt > > Put this in the test.txt buffer an eval it: > (let ((overlay (make-overlay 1 6 nil t nil))) ;; flyspell does this on misspelled words > (overlay-put overlay 'help-echo "a")) > > Make sure you are in normal more (press ESC) > Move the mouse above the f at the start of the buffer and hover until the "a" shows up. > Click and drag along toward to end of the line. The line numbers consistently go away with this recipe for me. Doesn't happen here with the latest emacs-26 branch. Are you using that branch, or are you using some other code base for Emacs? (I didn't clone the evil Git repository; instead, I downloaded a zip archive and unpacked it on my system. I don't think it should matter.) Can you tell the details of your build? If it's a GTK build, does the problem go away if you tell Emacs to use non-GTK tooltips (by setting x-gtk-use-system-tooltips to nil), or if you turn off scroll-bar-mode? > I'll start dissecting evil to see what causes this. Thanks.