From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: pop-up tool-bar Date: Fri, 8 Oct 2004 12:58:05 -0700 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1097282230 4345 80.91.229.6 (9 Oct 2004 00:37:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2004 00:37:10 +0000 (UTC) Cc: Miguel Frasson , Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 09 02:36:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CG5EH-0006wW-00 for ; Sat, 09 Oct 2004 02:36:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CG5L5-0002u4-Js for ged-emacs-devel@m.gmane.org; Fri, 08 Oct 2004 20:43:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CG5KM-0002ep-TG for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:43:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CG5KL-0002eP-S3 for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:43:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CG5KL-0002eE-Es for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:43:13 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CG4tt-0002we-Py; Fri, 08 Oct 2004 20:15:53 -0400 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1CG0zt-00088s-Jp; Fri, 08 Oct 2004 16:05:52 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.191.11]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i98JwDih006679; Fri, 8 Oct 2004 12:58:13 -0700 Original-Received: from rgmgw2.us.oracle.com (localhost [127.0.0.1]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i98JwCbd004273; Fri, 8 Oct 2004 13:58:12 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-69-154.vpn.oracle.com [141.144.69.154]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i98Jw9M0004068; Fri, 8 Oct 2004 13:58:09 -0600 Original-To: "David Kastrup" , "Stefan" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28115 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28115 Could folks please _try_ the code, before discussing its hypothetical behavior? Let's discuss this more concretely, in terms of the actual behavior. It doesn't make sense to discuss hypothetical fixes to hypothetical pbs. Please try it out first. As I said to Stefan, I'm open wrt the implementation. But at least look at what I've done. Thanks, Drew -----Original Message-----From: David Kastrup Stefan writes: >> The fix was to scroll the buffer (window) `tool-bar-lines' to compensate for >> the window movement. This scrolling happens for mouse events only, since >> other events do not cause the problem (and you don't want to scroll the >> buffer each time you click a tool-bar button). > > This kind of really super ugly nasty brittle dark hack should be kept for > extreme circumstances where there's really no other possible option. > What else have you tried? Maybe we could let the toolbar disappear only with the button-release event? I think that would be more visually appealing anyhow, as you can witness the depression of the button for as long as you desire.