From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Re: Toolbar redraw causes unwanted selection Date: Fri, 29 Dec 2006 11:57:27 -0700 Message-ID: References: <5C56236E-6757-4AE1-A8AC-F61E0866E95F@as.arizona.edu> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167418667 16133 80.91.229.10 (29 Dec 2006 18:57:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 18:57:47 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 29 19:57:45 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1H0MvI-0003it-RP for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 19:57:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0MvI-0005bo-A0 for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 13:57:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0Mv6-0005a0-LD for emacs-devel@gnu.org; Fri, 29 Dec 2006 13:57:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0Mv5-0005Y8-JH for emacs-devel@gnu.org; Fri, 29 Dec 2006 13:57:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0Mv5-0005Xw-Ep for emacs-devel@gnu.org; Fri, 29 Dec 2006 13:57:31 -0500 Original-Received: from [216.148.227.153] (helo=rwcrmhc13.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0Mv3-0007eX-Og; Fri, 29 Dec 2006 13:57:29 -0500 Original-Received: from [192.168.1.3] (c-69-254-202-38.hsd1.ar.comcast.net[69.254.202.38]) by comcast.net (rwcrmhc13) with SMTP id <20061229185728m1300irq3ae>; Fri, 29 Dec 2006 18:57:28 +0000 In-Reply-To: Original-To: Kim F. Storm X-Mailer: Apple Mail (2.752.2) 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:64435 Archived-At: > > I just did M-x idlwave-mode in an empty buffer. If that's not enough > to make the extra icons appear, that's why I didn't see them. Right, the icons appear only if the shell is running (which won't work without IDL installed). Sorry for the confusion. I have received numerous reports from users annoyed with the toolbar behavior, and have typically just instructed them how to disable to toolbar altogether. Regarding the original spurious selection bug, I tried out your fix, and it does indeed defeat the selection when toolbar size changes. However, I noticed two issues with the implementation: 1. When you click to switch to another window within the frame, and the toolbar height changes, the point moves to the location of the cursor *after* the text is shifted. Ideally, the point would be placed exactly where the user clicks (i.e. the click location before the toolbar resize occurs). 2. Clicking to drag a selection is now defeated when toolbar size changes. Normally, if the focus is in a given window, click-dragging in another window in the frame immediately begins defining a selection. With your fix in place, for windows with different toolbar heights, no selection is created when dragging in this manner (you must first give that window focus). Thanks, JD