From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7464: 24.0.50; mouse highlighting vanishes upon unsplitting window Date: Fri, 30 Mar 2012 14:20:14 +0200 Message-ID: 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> <837gy21n6a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333110057 3966 80.91.229.3 (30 Mar 2012 12:20:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2012 12:20:57 +0000 (UTC) Cc: Stephen Berman , 7464@debbugs.gnu.org, cyd@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 14:20:52 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 1SDap2-0001f5-8a for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 14:20:52 +0200 Original-Received: from localhost ([::1]:51249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDap1-0001PG-Hc for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 08:20:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDaou-0001Lm-BW for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 08:20:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDaom-00009h-Hq for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 08:20:43 -0400 Original-Received: from [140.186.70.43] (port=39442 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDaom-00008l-Er for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 08:20:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SDbJC-0000nb-CC for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 08:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2012 12:52: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.13331119143057 (code B ref 7464); Fri, 30 Mar 2012 12:52:02 +0000 Original-Received: (at 7464) by debbugs.gnu.org; 30 Mar 2012 12:51:54 +0000 Original-Received: from localhost ([127.0.0.1]:46274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDbJ3-0000nD-6P for submit@debbugs.gnu.org; Fri, 30 Mar 2012 08:51:53 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:60322) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDbJ0-0000n4-Vq for 7464@debbugs.gnu.org; Fri, 30 Mar 2012 08:51:51 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id D0539D428 for <7464@debbugs.gnu.org>; Fri, 30 Mar 2012 14:20:15 +0200 (CEST) Original-Received: (qmail 23290 invoked by uid 89); 30 Mar 2012 12:17:12 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 30 Mar 2012 12:17:12 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 317C67FA06C; Fri, 30 Mar 2012 14:20:15 +0200 (CEST) In-Reply-To: <837gy21n6a.fsf@gnu.org> X-Mailer: Apple Mail (2.1257) 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:58333 Archived-At: 30 mar 2012 kl. 10:57 skrev Eli Zaretskii: >> From: Stephen Berman >> Cc: "Jan D." , cyd@gnu.org, = 7464@debbugs.gnu.org >> Date: Fri, 30 Mar 2012 10:45:13 +0200 >>=20 >> On Fri, 30 Mar 2012 11:00:49 +0300 Eli Zaretskii = wrote: >>=20 >>>> Date: Fri, 30 Mar 2012 09:43:52 +0200 >>>> From: "Jan D." >>>> CC: Stephen Berman , cyd@gnu.org,=20 >>>> 7464@debbugs.gnu.org >>>>=20 >>>> It probably has something to do with the fact that Gtk+ scrollbars=20= >>>> aren't handeled by the display engine and we therefore have to = force a=20 >>>> redraw of the scroll bars at certain points so the scrollbars look = ok.=20 >>>> Presumably one of these redraws does something that triggers a = redraw of=20 >>>> mouse highlight? It might be that a redraw of the scroll bar = generates=20 >>>> some X expose/configuration event that in turn invokes the display=20= >>>> engine. I'm just speculating. >>>=20 >>> 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. >>=20 >> Can you tell me what I have to type in gdb to do this? >=20 > Jan, could you please point out where in the sources we force the > redraw of the GTK scroll bars? The one relevant here is probably in gtkutil.c, xg_update_scrollbar_pos = at the end of the function. We also do it in xterm.c, x_clear_frame and x_clear_frame_area. Jan D.