From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#7464: 24.0.50; mouse highlighting vanishes upon unsplitting window Date: Fri, 30 Mar 2012 09:43:52 +0200 Message-ID: <4F756438.7050503@swipnet.se> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333093488 7117 80.91.229.3 (30 Mar 2012 07:44:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2012 07:44:48 +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 09:44:46 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 1SDWVq-0006PF-FT for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 09:44:46 +0200 Original-Received: from localhost ([::1]:44078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDWVp-0001yb-JM for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 03:44:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDWVm-0001yL-Nb for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 03:44:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDWVh-0002nT-Si for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 03:44:42 -0400 Original-Received: from [140.186.70.43] (port=39099 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDWVh-0002nE-PF for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 03:44:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SDX06-0001Zd-GM for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2012 08:16: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.13330953576039 (code B ref 7464); Fri, 30 Mar 2012 08:16:02 +0000 Original-Received: (at 7464) by debbugs.gnu.org; 30 Mar 2012 08:15:57 +0000 Original-Received: from localhost ([127.0.0.1]:45931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDX01-0001ZL-2T for submit@debbugs.gnu.org; Fri, 30 Mar 2012 04:15:57 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:39452) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDWzX-0001Yc-E7 for 7464@debbugs.gnu.org; Fri, 30 Mar 2012 04:15:55 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 40FC29977 for <7464@debbugs.gnu.org>; Fri, 30 Mar 2012 09:43:54 +0200 (CEST) Original-Received: (qmail 23656 invoked by uid 89); 30 Mar 2012 07:40:51 -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 07:40:51 -0000 Original-Received: from [10.225.17.219] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 6054C7FA06C; Fri, 30 Mar 2012 09:43:53 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 In-Reply-To: <83r4wb1byq.fsf@gnu.org> 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:58317 Archived-At: Hello. Eli Zaretskii skrev 2012-03-29 20:47: >> From: Stephen Berman >> Cc: cyd@gnu.org, 7464@debbugs.gnu.org >> Date: Thu, 29 Mar 2012 09:57:53 +0200 >> >> openSUSE's 23.3 has GTK scroll bars, while I built 23.4 like I build 24, >> i.e., without toolkit scroll bars. So I rebuilt 23.4 with GTK scroll >> bars, did the bug recipe and sure enough, now the mouse highlighting >> remained, i.e., no bug. Then I disabled the scroll bars in that build, >> tested again, and got the bug again. Then I rebuilt Emacs 24 with GTK >> scroll bars, and now did not see the bug with them enabled but did see >> it with them disabled. So the answers to my questions above appear to >> involve the presence vs. absence of GTK scroll bars. (I guess Chong >> Yidong also builds Emacs 24 with GTK scroll bars and tested the recipe >> with them enabled, so that's why he did not observe the bug.) > > Unfortunately, I know almost nothing about how GTK in general and GTK > scroll bars in particular are integrated into Emacs, and what, if > anything, they change in how the Emacs display engine works. > 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. Jan D.