From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Romanos Skiadas 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 20:30:51 +0100 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------EEBE843B18C78E09E3F11DD2" X-Trace: blaine.gmane.org 1507836742 24082 195.159.176.226 (12 Oct 2017 19:32:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 19:32:22 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Cc: 27647@debbugs.gnu.org, kaushal.modi@gmail.com, jonaswestlund101@gmail.com, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 21:32:17 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 1e2jDL-0004m9-FH for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 21:32:15 +0200 Original-Received: from localhost ([::1]:46983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2jDL-0004bK-RK for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 15:32:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2jDB-0004ZC-Lw for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 15:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2jD8-0006vA-FX for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 15:32:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2jD8-0006v4-Bc for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2jD8-0000Ib-6N for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 15:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Romanos Skiadas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 19:32: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.15078366651059 (code B ref 27647); Thu, 12 Oct 2017 19:32:02 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 12 Oct 2017 19:31:05 +0000 Original-Received: from localhost ([127.0.0.1]:36364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2jCB-0000Gx-43 for submit@debbugs.gnu.org; Thu, 12 Oct 2017 15:31:04 -0400 Original-Received: from mail-wm0-f68.google.com ([74.125.82.68]:52273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2jC8-0000GM-Nf for 27647@debbugs.gnu.org; Thu, 12 Oct 2017 15:31:02 -0400 Original-Received: by mail-wm0-f68.google.com with SMTP id k4so16104279wmc.1 for <27647@debbugs.gnu.org>; Thu, 12 Oct 2017 12:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=hl7IsHTkxkwMBzvO+b+MAq0KK+Th/5QT5kXc77un0K4=; b=j2bpw2wJHXM/wLc3B9T4SRq/cS643GxpSHu0JHbkH1NoVEE4+xT0t5ymR6CrQWej9O a2SPAW8KhTI9ATANa2MERt8PCNqakTd45m8Pp9JYOsPgi1P3/PxMov+AhrYUazmAzO1/ 6CcAGP6VCF45Vy1PZQp3QfI25OgEz4bT398LyEyHKTuqxNRr7oKe71gfqySoIZZAEztL iT2CvYDvlsKArMYzjmw9sKdMyefF8GysKUzH4B+ZY0ULPEf6Jbj8pOR8f6EsKKo5gSCx 46L0D4Boxx/U35En87TLufC0bPejXPkiggzQPRKavze6Bg4N+AW849ZoIMhh40knJO38 yHFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=hl7IsHTkxkwMBzvO+b+MAq0KK+Th/5QT5kXc77un0K4=; b=XdqaXwU7UWBQoYSusdJye/xEbat0PTJ44x7BkC7TMISGguMi98hKauyoFEA2GUznf7 xwh4d7OXxM/2hpx1jKzCfN/FbTSZdsWnDiTJuES5JRT0+7rYxzfeRMJLznkCLm2ib37T mdkvyPpNo5ehbk3eE142HVPKzRkqfHB0ve34f9KL6yrNUT0d/7S0nAe5zd/KFynU8uNN yDcQyLuOxQXJ6okZrSYSTzWy35VcqxWylWcrZiVbvKupLt3dbULPlRgT0A3norz+fuye p+WLkYeTSEPcvgYcKCP7IuG0lFbRMY+h5l8BqI9Gk+xiLX+/5t6SOkEyQdZN33BhdMX1 qaUg== X-Gm-Message-State: AMCzsaU4V//Xud3SHnxM+IiUY0E4s3W4sWibYcK5a7b/WnAg82Gi8oQx EaSdKaLwUukgH5JROUqfGok= X-Google-Smtp-Source: AOwi7QBy1fD3oRI+28OG0bw/fuNzX2/1tJ1+lT57U4WNrTV9Q5423ngbveUvIjMNFSmJpaPYw2BJFA== X-Received: by 10.80.169.21 with SMTP id l21mr3917699edc.126.1507836654800; Thu, 12 Oct 2017 12:30:54 -0700 (PDT) Original-Received: from [192.168.43.184] ([83.136.43.29]) by smtp.gmail.com with ESMTPSA id g49sm4187480edg.71.2017.10.12.12.30.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Oct 2017 12:30:53 -0700 (PDT) In-Reply-To: <83lgkgn4zr.fsf@gnu.org> Content-Language: en-US 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:138298 Archived-At: This is a multi-part message in MIME format. --------------EEBE843B18C78E09E3F11DD2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Eli, See inline. On 12/10/17 09:29, Eli Zaretskii wrote: >> 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 clonehttps://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 used Emacs26@078fb7f6df4178d5a35243dad164cdd196392e71 > (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.) As long at that is the latest evil, which is what I tested with, that shouldn't 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? > It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. I've set it to nil on my init file for now. The list of configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2 >> I'll start dissecting evil to see what causes this. > Thanks. --------------EEBE843B18C78E09E3F11DD2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hi Eli,

See inline.


On 12/10/17 09:29, Eli Zaretskii wrote:
Cc: 27647@debbugs.gnu.org, jonaswestlund101@gmail.com,
 npostavs@users.sourceforge.net
From: Romanos Skiadas <rom.skiad@gmail.com>
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 used Emacs26@078fb7f6df4178d5a35243dad164cdd196392e71
(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.)
As long at that is the latest evil, which is what I tested with, that shouldn't 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?

It is indeed a GTK3 build and setting x-gtk-use-system-tooltips to nil does indeed make this problem go away. I've set it to nil on my init file for now.

The list of configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2

I'll start dissecting evil to see what causes this.
Thanks.
--------------EEBE843B18C78E09E3F11DD2--