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

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Sun, 13 Dec 2015 17:57:01 UTC

Severity: normal

Found in version 25.0.50

To reply to this bug, email your comments to 22164 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22164; Package emacs. (Sun, 13 Dec 2015 17:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 13 Dec 2015 17:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 25.0.50; Turning off blinking cursor mode makes menu tooltips behave
 erratically
Date: Sun, 13 Dec 2015 18:56:27 +0100
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.

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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22164; Package emacs. (Sun, 13 Dec 2015 18:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 22164 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 22164 <at> debbugs.gnu.org
Subject: Re: bug#22164: 25.0.50;
 Turning off blinking cursor mode makes menu tooltips behave
 erratically
Date: Sun, 13 Dec 2015 20:10:58 +0200
> Date: Sun, 13 Dec 2015 18:56:27 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> 
> 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 <at> gnu.org:
bug#22164; Package emacs. (Fri, 18 Dec 2015 16:56:02 GMT) Full text and rfc822 format available.

Message #11 received at 22164 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22164 <at> debbugs.gnu.org
Subject: Re: bug#22164: 25.0.50; Turning off blinking cursor mode makes menu
 tooltips behave erratically
Date: Fri, 18 Dec 2015 17:55:10 +0100
> 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




This bug report was last modified 9 years and 186 days ago.

Previous Next


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