From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: [hober0@gmail.com: Re: mode-line redisplay bug] Date: Fri, 12 Aug 2005 23:56:41 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123887931 4373 80.91.229.2 (12 Aug 2005 23:05:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2005 23:05:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 13 01:05:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E3iZu-0002G2-Ps for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2005 01:04:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E3id8-0003n5-Ge for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2005 19:08:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E3iY3-0002dT-Ah for emacs-devel@gnu.org; Fri, 12 Aug 2005 19:02:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E3iXq-0002Vk-5w for emacs-devel@gnu.org; Fri, 12 Aug 2005 19:02:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E3iXp-0002VF-8W for emacs-devel@gnu.org; Fri, 12 Aug 2005 19:02:33 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E3ii3-0008IJ-6j; Fri, 12 Aug 2005 19:13:07 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j7CMvtch000759; Fri, 12 Aug 2005 23:57:55 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id D6849DDD72; Fri, 12 Aug 2005 23:57:54 +0100 (BST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Fri, 12 Aug 2005 10:59:21 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41982 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41982 "Richard M. Stallman" writes: > His test case is very clear, but it does not fail when I try it. > Can anyone else observe this failure? I don't see this failure, but while trying to replicate it, I did see some other display problems. I tried GNU/Linux and W32, I saw problems on both when the mouse was over mouse-sensitive areas of the modeline, but the symptoms were different. If I hold the mouse above a mouse-sensitive part of the modeline while switching buffers with C-c c as described in the original bug report, I see the following: On W32: The highlighted portion of the modeline stays when the buffer switches, overwriting any text that from the buffer that should appear there. If I do the same in the header line of the *scratch* buffer, the entire header line is erased as it should be. On GNU/Linux: The highlit area flickers. On W32 it flickers once when the tooltip pops up, but on X, it flickers constantly. I remember fixing something like this on W32 years ago, it was in the code that detected mouse movement - movement events were being sent for zero movement when inside track-mouse forms. But my recollection is that the same bug did not appear on X at the time, so even though the code appeared to be the same, I did not try to apply my fix to the X code. If C-c c is pressed before the tooltip pops up, nothing happens until the tooltip-delay expires, then the tooltip flashes up for a brief instant and the buffer switch takes place. Both problems I saw on GNU/Linux appear in both the header-line and mode-line.