From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Mode line menus Date: Sat, 07 Nov 2009 18:51:35 -0500 Message-ID: <87ocndki60.fsf@stupidchicken.com> References: <87hbt6m9xw.fsf@stupidchicken.com> <87zl6y6rik.fsf@stupidchicken.com> <4AF5D8CB.6010803@harpegolden.net> <4AF6005C.6080607@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257637916 31050 80.91.229.12 (7 Nov 2009 23:51:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2009 23:51:56 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 08 00:51:49 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N6v4M-0005Eh-Hd for ged-emacs-devel@m.gmane.org; Sun, 08 Nov 2009 00:51:46 +0100 Original-Received: from localhost ([127.0.0.1]:35905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6v4M-00057h-2U for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2009 18:51:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6v4I-00057c-6F for emacs-devel@gnu.org; Sat, 07 Nov 2009 18:51:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6v4E-00056K-0L for emacs-devel@gnu.org; Sat, 07 Nov 2009 18:51:41 -0500 Original-Received: from [199.232.76.173] (port=56720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6v4D-00056H-RL for emacs-devel@gnu.org; Sat, 07 Nov 2009 18:51:37 -0500 Original-Received: from pantheon-po27.its.yale.edu ([130.132.50.122]:36083) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N6v4D-00044z-I3 for emacs-devel@gnu.org; Sat, 07 Nov 2009 18:51:37 -0500 Original-Received: from furry (adsl-99-58-202-243.dsl.wlfrct.sbcglobal.net [99.58.202.243]) (authenticated bits=0) by pantheon-po27.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nA7NpZ20015334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Nov 2009 18:51:36 -0500 Original-Received: by furry (Postfix, from userid 1000) id 96BF8C070; Sat, 7 Nov 2009 18:51:35 -0500 (EST) In-Reply-To: <4AF6005C.6080607@harpegolden.net> (David De La Harpe Golden's message of "Sat, 07 Nov 2009 23:18:52 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:116712 Archived-At: David De La Harpe Golden writes: > David De La Harpe Golden wrote: >> Chong Yidong wrote: >> >>> and that's all. Once in a while, the menu seems to pop up and stay up. >>> But this happens very occasionally. > > Behaviour seems to vary depending on the distance of the modeline > from the bottom of my display. If the modeline is too close to the > bottom of my display, the popup does not stay open on click. > GUI toolkits tend to treat menus close to screen edges specially > to ensure they are shown entirely on-screen, so there's certainly room > for window-location-dependent bugs. I have checked in a fix for this bug. The problem, apparently, is that GTK tries to automagically determine how to pop down the menu based on the event timestamp, which we were not passing to it.