GNU bug report logs - #22164
25.0.50; Turning off blinking cursor mode makes menu tooltips behave erratically

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: martin rudalics <rudalics@HIDDEN>; dated Sun, 13 Dec 2015 17:57:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 22164 <at> debbugs.gnu.org:


Received: (at 22164) by debbugs.gnu.org; 18 Dec 2015 16:55:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 18 11:55:26 2015
Received: from localhost ([127.0.0.1]:55912 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a9yJS-00019Y-CO
	for submit <at> debbugs.gnu.org; Fri, 18 Dec 2015 11:55:26 -0500
Received: from mout.gmx.net ([212.227.15.15]:61993)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <rudalics@HIDDEN>) id 1a9yJQ-00019L-U2
 for 22164 <at> debbugs.gnu.org; Fri, 18 Dec 2015 11:55:25 -0500
Received: from [192.168.1.100] ([213.162.68.35]) by mail.gmx.com (mrgmx003)
 with ESMTPSA (Nemesis) id 0MRoRF-1Zm4hL2puT-00SzXu; Fri, 18 Dec 2015 17:55:18
 +0100
Message-ID: <56743A6E.5040007@HIDDEN>
Date: Fri, 18 Dec 2015 17:55:10 +0100
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#22164: 25.0.50; Turning off blinking cursor mode makes menu
 tooltips behave erratically
References: <566DB14B.1030606@HIDDEN> <83vb8243t9.fsf@HIDDEN>
In-Reply-To: <83vb8243t9.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:7gn4g2TeCRy5QOdpGORp0TNr1s8CAGpajAJFw/x18v5zVm/ouHb
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03eD898e/gckEOVS6Q==
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 22164
Cc: 22164 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

 > It's a known problem, and I don't know how to fix it (if a fix exists
 > at all).  We need redisplay to update the menu tooltips on Windows,
 > and without the blinking cursor there's no redisplay.

So IIUC we would have to run a timer-based function in that case and
have it cause a redisplay when the menu bar is active.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22164; Package emacs. Full text available.

Message received at 22164 <at> debbugs.gnu.org:


Received: (at 22164) by debbugs.gnu.org; 13 Dec 2015 18:11:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 13 13:11:00 2015
Received: from localhost ([127.0.0.1]:50436 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a8B6p-0001zu-Oa
	for submit <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:10:59 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38646)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1a8B6n-0001zg-NF
 for 22164 <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:10:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1a8B6e-0003xs-NB
 for 22164 <at> debbugs.gnu.org; Sun, 13 Dec 2015 13:10:52 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41971)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1a8B6e-0003xo-KE; Sun, 13 Dec 2015 13:10:48 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3272
 helo=HOME-C4E4A596F7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1a8B6d-000750-Vn; Sun, 13 Dec 2015 13:10:48 -0500
Date: Sun, 13 Dec 2015 20:10:58 +0200
Message-Id: <83vb8243t9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-reply-to: <566DB14B.1030606@HIDDEN> (message from martin rudalics on Sun,
 13 Dec 2015 18:56:27 +0100)
Subject: Re: bug#22164: 25.0.50;
 Turning off blinking cursor mode makes menu tooltips behave
 erratically
References: <566DB14B.1030606@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 22164
Cc: 22164 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sun, 13 Dec 2015 18:56:27 +0100
> From: martin rudalics <rudalics@HIDDEN>
> 
> With emacs -Q evaluate (blink-cursor-mode -1).  Click the "File" entry
> on the menu bar.  When I now move the mouse from one menu entry to
> another it takes approximately 8 seconds until the tooltip is removed
> from the previous entry and shown at the current one.
> 
> Reproducible at least since Emacs 24.2 and likely a Windows-only bug.
> It might be related to this part of ‘blink-cursor-timer-function’
> 
>    ;; Suspend counting blinks when the w32 menu-bar menu is displayed,
>    ;; since otherwise menu tooltips will behave erratically.
>    (or (and (fboundp 'w32--menu-bar-in-use)
> 	   (w32--menu-bar-in-use))
>        (setq blink-cursor-blinks-done (1+ blink-cursor-blinks-done)))
> 
> but I cannot imagine how that can have any effect when cursor blinking
> is turned off.

It's a known problem, and I don't know how to fix it (if a fix exists
at all).  We need redisplay to update the menu tooltips on Windows,
and without the blinking cursor there's no redisplay.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22164; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Dec 2015 17:56:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 13 12:56:52 2015
Received: from localhost ([127.0.0.1]:50392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a8At9-0008PP-TU
	for submit <at> debbugs.gnu.org; Sun, 13 Dec 2015 12:56:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35868)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <rudalics@HIDDEN>) id 1a8At8-0008PC-9D
 for submit <at> debbugs.gnu.org; Sun, 13 Dec 2015 12:56:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1a8At2-0000Vb-FF
 for submit <at> debbugs.gnu.org; Sun, 13 Dec 2015 12:56:45 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_SORBS_WEB autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37778)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1a8At2-0000VT-Bx
 for submit <at> debbugs.gnu.org; Sun, 13 Dec 2015 12:56:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45871)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1a8At1-00020M-FY
 for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2015 12:56:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1a8Asy-0000US-9S
 for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2015 12:56:43 -0500
Received: from mout.gmx.net ([212.227.15.18]:53236)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1a8Asx-0000TA-WA
 for bug-gnu-emacs@HIDDEN; Sun, 13 Dec 2015 12:56:40 -0500
Received: from [192.168.1.102] ([212.95.7.56]) by mail.gmx.com (mrgmx001) with
 ESMTPSA (Nemesis) id 0MDymt-1a0iEr0Lj5-00HLnh for
 <bug-gnu-emacs@HIDDEN>; Sun, 13 Dec 2015 18:56:38 +0100
Message-ID: <566DB14B.1030606@HIDDEN>
Date: Sun, 13 Dec 2015 18:56:27 +0100
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Subject: 25.0.50; Turning off blinking cursor mode makes menu tooltips behave
 erratically
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:+qDoc3HPZY2aSVWpxIySeEWUpZ9raERJ7K0aeqiMXoCEta/HLFH
 2pQD3XrEhxH7klYo4orNiqjoPjeSCX07G8Nzu3FrG7RbESRhT08VwZjZ48zIYLkJXUdre25
 8WcD7hV0Srq/lS+Vxy5+TzyirF/WHVklAUGr4uk4ZVLrtLDQKU7/ypXhz3uI+J8yoMZjhV9
 /jFu71v2rthSjk9QZbnZQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:lof/V4t36DY=:jV7fPj+G9WQOVorzl1OPrt
 d3nGAtUMd1vNe+fUFm/oAd6EneRuUXhrU8+77nG+2Po1cGXMSCtomclEJp9kt8B9o73uBl4v1
 /IhC2CWMgAn6MRdz9hFzdPxQ5zwmk1w7AuKIytdnkoFW8wOxjLarMfK7ngfCw3kZby0QJAZrv
 V76FaHU1lHRZHYmFpvWbFpF4QGbj7Bj6Mus/cdzztR7JrmgXHUkNifFFiLOx53IsCoJRYMPtG
 W5ydmN7zNLgsfMpcgewLYaH7UFbfh61RLtCSXkJMxvjNvwQQZch7WjELteWf0CxFTtxJTPUBm
 XwLArZZK+9EZQafpL6MAijGvuqT9dM/T7Ml3s9mpfll8NEUCs/p+az6ax+9GhPPLOv5iJIoMD
 4YeWMiYg4OvzxPb7q4yGELtW5DeQx43CE8ZaLwUNWBKwIvvB17jCvmQWqDemCgcUFUI+5Mimz
 oj0u+PmkiWVK/vey2vTJtO+wfhvhSid4xPV4xvM3BaWSITURTQ3vsGQLc00q81cYbmFjfKFK8
 R/JmoMu7iEH7QsbEMrossT0I2POmm/DSmGXvL5z0t/yxSzaHRZeWBVKfmS272U3pOQh+/kojK
 F78W2moNrSdlNFPzcpr2HOKTzG7N9MvVMp6GgZy5TNFlB6bZfPli312iMgtAG94ttfiaOF7AR
 gr+U+OGFZte9rjUvLbt9Izh4F8Z/K+J4iVjvX7zEkBlfIYT5uXEuL67NK29EQ/N6/zqodSaDY
 ZqCWjz09B947zZJTYe0d8DKKdS1xiHrQw/yoNgqzP1PM4xRlUwJ/MGIzhFJWThjrX9V+whpGX
 uVIefoMroPCtnCeDVuL3kehyIZ8mA==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.5 (---)

With emacs -Q evaluate (blink-cursor-mode -1).  Click the "File" entry
on the menu bar.  When I now move the mouse from one menu entry to
another it takes approximately 8 seconds until the tooltip is removed
from the previous entry and shown at the current one.

Reproducible at least since Emacs 24.2 and likely a Windows-only bug.
It might be related to this part of =E2=80=98blink-cursor-timer-function=E2=
=80=99

   ;; Suspend counting blinks when the w32 menu-bar menu is displayed,
   ;; since otherwise menu tooltips will behave erratically.
   (or (and (fboundp 'w32--menu-bar-in-use)
	   (w32--menu-bar-in-use))
       (setq blink-cursor-blinks-done (1+ blink-cursor-blinks-done)))

but I cannot imagine how that can have any effect when cursor blinking
is turned off.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
  of 2015-12-12
Repository revision: 06f00d39ff73e0c6c87ffb09ef3d67e8d3446b01
Windowing system distributor 'Microsoft Corp.', version 5.1.2600

martin





Acknowledgement sent to martin rudalics <rudalics@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#22164; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 18 Dec 2015 17:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.