From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: UI issue: inactive menu entries and icons Date: Wed, 27 Dec 2006 18:24:55 +0100 Message-ID: <4592AC67.8060507@swipnet.se> References: <861wmlsek9.fsf@lola.quinscape.zz> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167240398 25523 80.91.229.10 (27 Dec 2006 17:26:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Dec 2006 17:26:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 27 18:26:36 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 1GzcXo-0006FI-1a for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 18:26:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzcXn-00038t-6U for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 12:26:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzcXX-00038H-S7 for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:26:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzcXU-000373-RM for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:26:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzcXU-00036n-Gd for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:26:04 -0500 Original-Received: from [81.228.8.186] (helo=av12-2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GzcXK-00057r-E0; Wed, 27 Dec 2006 12:25:54 -0500 Original-Received: by av12-2-sn2.hy.skanova.net (Postfix, from userid 502) id 8B0A738270; Wed, 27 Dec 2006 18:25:53 +0100 (CET) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av12-2-sn2.hy.skanova.net (Postfix) with ESMTP id 5C37E37E73; Wed, 27 Dec 2006 18:25:53 +0100 (CET) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 492B537E43; Wed, 27 Dec 2006 18:25:53 +0100 (CET) User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) Original-To: David Kastrup In-Reply-To: <861wmlsek9.fsf@lola.quinscape.zz> 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:64361 Archived-At: David Kastrup skrev: > Hi, > > I find it disturbing that inactive menu entries and toolbar icons > won't display their tooltip. "What is this about?" is an interesting > question also when an item is inactive. I actually find this > _particularly_ interesting since I would like to figure out what would > make such entries active. Not getting the tooltip for them makes this > more difficult. > I agree, but it is very hard (impossible?) to do in some toolkits. For example, inactive usually means that no events whatsoever are generated for those icons/buttons. Things like Enter and Leave events that are used to determine what tooltip to show. Tooltips are shown for inactive icons with the native toolbar, but not inactive menu entries. It is complicated for Lesstif/Motif and Gtk+ and I guess that is why tool tips for inactive tool bar icons are not shown (well, in the Gtk-case, I know that is so). So I suggest leaving this as is until after the release. Jan D.