From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Menu help text not shown when using keyboard Date: Mon, 24 Oct 2005 11:26:48 +0200 Message-ID: References: <435B8BBA.7050707@student.lu.se> <435BC58C.5090803@student.lu.se> <435C214F.9090200@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1130153666 25081 80.91.229.2 (24 Oct 2005 11:34:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 11:34:26 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 13:34:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EU0Yc-0000GZ-AA for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 13:32:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU0Yb-0000Ou-Bl for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 07:32:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETygS-0002IH-Lt for emacs-devel@gnu.org; Mon, 24 Oct 2005 05:32:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETyeF-0001D2-GS for emacs-devel@gnu.org; Mon, 24 Oct 2005 05:29:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETybc-0008RX-Jl for emacs-devel@gnu.org; Mon, 24 Oct 2005 05:27:02 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ETybS-0003qe-Li; Mon, 24 Oct 2005 05:26:50 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-163-213.inter.net.il [84.228.163.213]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BTO06148 (AUTH halo1); Mon, 24 Oct 2005 11:26:48 +0200 (IST) Original-To: Jason Rumney In-reply-to: (message from Jason Rumney on Mon, 24 Oct 2005 09:01:30 +0100) 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:44698 Archived-At: > Cc: Eli Zaretskii , emacs-devel@gnu.org > From: Jason Rumney > Date: Mon, 24 Oct 2005 09:01:30 +0100 > > > /* No help echo on owner-draw menu items, or when the keyboard is used > > to navigate the menus, since tooltips are distracting if they pop > > up elsewhere. */ > > if (flags & MF_OWNERDRAW || flags & MF_POPUP > > || !(flags & MF_MOUSESELECT)) > > That change was made in response to a bug report you made in July, > complaining that tooltips pop up when the keyboard is used to navigate > the menus: > > http://lists.gnu.org/archive/html/emacs-devel/2005-07/msg01197.html Do I understand correctly that the bug fixed in July was due to the fact that Emacs does not know the location of the dropped-down menu, and so it pops the tooltip near the mouse pointer instead if near the menu? If so, we could do one of 2 things: 1. Calculate the right position somehow. 2. Show the help-echo message in the echo area. (This is how many Windows GUI applications show menu-related tips.)