From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7464: 24.0.50; mouse highlighting vanishes upon unsplitting window Date: Fri, 30 Mar 2012 11:57:17 +0300 Message-ID: <837gy21n6a.fsf@gnu.org> References: <877hg5l828.fsf@escher.home> <8362vp9rci.fsf@gnu.org> <83y68l88xd.fsf@gnu.org> <87sjh12a0d.fsf@gnu.org> <871uolhmdx.fsf@escher.home> <83d381u9xy.fsf@gnu.org> <87limpoenv.fsf@escher.home> <83vclts5aq.fsf@gnu.org> <87pqc0bzyp.fsf@escher.home> <83mx70imgh.fsf@gnu.org> <874nt7hm9q.fsf@escher.home> <83r4wb1byq.fsf@gnu.org> <4F756438.7050503@swipnet.se> <83bone1pse.fsf@gnu.org> <87r4waqxye.fsf@escher.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1333097931 7061 80.91.229.3 (30 Mar 2012 08:58:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2012 08:58:51 +0000 (UTC) Cc: 7464@debbugs.gnu.org, cyd@gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 10:58:50 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SDXfT-0002H4-5w for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 10:58:47 +0200 Original-Received: from localhost ([::1]:57089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDXfS-0001CQ-Fr for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 04:58:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDXfP-0001BW-5l for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 04:58:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDXfJ-0007u7-Qb for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 04:58:42 -0400 Original-Received: from [140.186.70.43] (port=39219 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDXfJ-0007s0-Nq for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 04:58:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SDY9i-0003PO-Kd for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 05:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2012 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7464 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7464-submit@debbugs.gnu.org id=B7464.133309978513057 (code B ref 7464); Fri, 30 Mar 2012 09:30:02 +0000 Original-Received: (at 7464) by debbugs.gnu.org; 30 Mar 2012 09:29:45 +0000 Original-Received: from localhost ([127.0.0.1]:46051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDY9Q-0003OX-BX for submit@debbugs.gnu.org; Fri, 30 Mar 2012 05:29:45 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:63484) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDY8x-0003Nx-C1 for 7464@debbugs.gnu.org; Fri, 30 Mar 2012 05:29:43 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M1O00200WQYOJ00@a-mtaout22.012.net.il> for 7464@debbugs.gnu.org; Fri, 30 Mar 2012 11:57:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.100.223]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M1O0013KWVHNIP0@a-mtaout22.012.net.il>; Fri, 30 Mar 2012 11:57:18 +0300 (IDT) In-reply-to: <87r4waqxye.fsf@escher.home> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58324 Archived-At: > From: Stephen Berman > Cc: "Jan D." , cyd@gnu.org, 7464@debbugs.gnu.org > Date: Fri, 30 Mar 2012 10:45:13 +0200 > > On Fri, 30 Mar 2012 11:00:49 +0300 Eli Zaretskii wrote: > > >> Date: Fri, 30 Mar 2012 09:43:52 +0200 > >> From: "Jan D." > >> CC: Stephen Berman , cyd@gnu.org, > >> 7464@debbugs.gnu.org > >> > >> It probably has something to do with the fact that Gtk+ scrollbars > >> aren't handeled by the display engine and we therefore have to force a > >> redraw of the scroll bars at certain points so the scrollbars look ok. > >> Presumably one of these redraws does something that triggers a redraw of > >> mouse highlight? It might be that a redraw of the scroll bar generates > >> some X expose/configuration event that in turn invokes the display > >> engine. I'm just speculating. > > > > I think your speculation is exactly right. Perhaps Stephen or someone > > else who has access to a GTK build could confirm that an extra > > redraw of mouse highlight is triggered at some point in this scenario. > > Can you tell me what I have to type in gdb to do this? Jan, could you please point out where in the sources we force the redraw of the GTK scroll bars? > > Anyway, I think it is not important (however interesting and exciting) > > to determine the exact reason which causes the bug not to appear in > > the GTK build. It suffices to say that any non-GTK build suffers from > > this bug, and suffered in the past (Emacs 23 at least) as well. I > > think this information, and the patch that cures the bug I posted > > earlier, is enough for Chong and Stefan to make the decision whether > > to install the change now or defer it until after v24.1. > > I think it should be installed now. I don't disagree; the changes are very minor and cannot do any harm.