From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: [drew.adams@oracle.com: Customize value menu doesn't recognizemouse-2] Date: Mon, 24 Jul 2006 13:52:39 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153774472 19531 80.91.229.2 (24 Jul 2006 20:54:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2006 20:54:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 22:54:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G57RP-0007MN-7d for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2006 22:54:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G57RN-0003y7-Gz for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2006 16:54:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G57RB-0003xn-CU for emacs-devel@gnu.org; Mon, 24 Jul 2006 16:54:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G57R8-0003xP-QN for emacs-devel@gnu.org; Mon, 24 Jul 2006 16:54:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G57R8-0003xM-Kp for emacs-devel@gnu.org; Mon, 24 Jul 2006 16:53:58 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G57SI-0006RB-6T for emacs-devel@gnu.org; Mon, 24 Jul 2006 16:55:10 -0400 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k6NNC9Xs005778 for ; Mon, 24 Jul 2006 14:53:46 -0600 Original-Received: from dradams-lap.us.oracle.com by rcsmt251.oracle.com with ESMTP id 1632256711153774360; Mon, 24 Jul 2006 14:52:40 -0600 Original-To: 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.1807 X-Whitelist: TRUE 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:57573 Archived-At: > > emacs -Q > > > > M-x customize-variable ad-default-compilation-action > > > > Click mouse-2 on button Value Menu. The menu opens. Try to click > > mouse-2 on a menu item - the action is unrecognized. > > On GNU/Linux, with either GTK or no X toolkit, the value menu goes > away when I release the mouse button; selection is done by holding the > mouse button and moving the cursor over the menu item. It works with > both mouse-1 and mouse-2. > > Maybe this is Windows-specific behavior. Yes, it is, and it's deliberate: as long as the menu is active, the Windows version ignores the middle and the right mouse clicks; you must use the left button only to select menu items. This behavior was introduced by this change: 2006-03-11 Eli Zaretskii * w32fns.c (w32_wnd_proc): Ignore middle and extra button events if a menu is already active (the menubar_active flag is on). The reason was a much more annoying problem reported by Drew in this thread: http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-03/msg00024.html Drew, I don't see any particular problem in asking Windows users to click the left button, even if they are in a menu dropped by the right button. Do you? (FWIW, I never select with the right button, even in other GUI applications.) 1. It would be good if the behavior were the same on Windows as other platforms, if that were possible. 2. It would be good if either a) you could neither open the menu nor choose a menu item using mouse-2 or b) you could both open the menu and choose a menu item using mouse-2. It is the combination of being able to open the menu using mouse-2 but not being able to choose a menu item using mouse-2 that seems wrong.