From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: tooltip feature Date: Sun, 27 Sep 2020 13:05:45 +0300 Message-ID: <83r1qno7pi.fsf@gnu.org> References: <20200926163008.GS1349@protected.rcdrun.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11982"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bugs@rcdrun.com, rms@gnu.org, jamtlu@gmail.com, emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 27 12:07:32 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMTae-00033z-Si for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Sep 2020 12:07:32 +0200 Original-Received: from localhost ([::1]:34600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMTad-0005mz-Vy for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Sep 2020 06:07:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMTZT-0005Kr-Lh for emacs-devel@gnu.org; Sun, 27 Sep 2020 06:06:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49065) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMTZS-0000fl-IW; Sun, 27 Sep 2020 06:06:18 -0400 Original-Received: from [176.228.60.248] (port=2683 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kMTZA-0008Ak-AX; Sun, 27 Sep 2020 06:06:00 -0400 In-Reply-To: (message from Arthur Miller on Sun, 27 Sep 2020 11:42:04 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256530 Archived-At: > From: Arthur Miller > Date: Sun, 27 Sep 2020 11:42:04 +0200 > Cc: emacs-devel@gnu.org, jamtlu@gmail.com, Jean Louis > > Considering a tool-tip is just a small pop-up frame you could have it > with a character in a tooltip corner which could act as a "sticky > button" to press with mouse, and there could be a keyboard shortcut user > can press when a tooltip have a focus. Sounds complicated (and I'm not sure it will be possible when we use GTK tooltips, which is the default in the GTK builds). Emacs is already capable of redirecting the tooltip text to the echo area (to see that, disable tooltip-mode), so it should be easy to provide some command or variable, which, when activated, would copy the tooltip text to some specialized buffer, where it could be later read by the user. Would you like to propose a patch along these lines? > Such a "button" could be also added to context menus to make them > "sticky" and persistent on the screen. For menus, most Emacs configurations use the toolkit. Do the toolkits we use offer capabilities to make the menus "sticky"? > Another version is to have a tiny separator say in tooltip > bottom/top that can be pressed with mouse to "tear of" the tooltip > and make it persistent on the screen. AFAIK, you generally cannot click on tooltips, because they disappear when you do so.