unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: Stephan Stahl <stahl@eos.franken.de>,
	Emacs Devel <emacs-devel@gnu.org>,
	Lennart Borgman <lennart.borgman.073@student.lu.se>,
	Jason Rumney <jasonr@gnu.org>
Subject: Re: Tooltips on w32 slow and strange
Date: Mon, 14 Feb 2005 19:42:24 +0100	[thread overview]
Message-ID: <b4ffc1eb78167069bc07795dcca2ed3a@swipnet.se> (raw)
In-Reply-To: <x53bvz72ex.fsf@lola.goethe.zz>


2005-02-14 kl. 13.26 skrev David Kastrup:

> Jason Rumney <jasonr@gnu.org> writes:
>
>> Stephan Stahl wrote:
>>
>>> I reported this too a while ago but got no answer:
>>> http://lists.gnu.org/archive/html/emacs-devel/2004-06/msg00060.html
>>>
>>> As far as i understand tooltips on w32 emacs does not use normal
>>> w32-tooltips but special emacs frames that are stripped of everything
>>> (modeline, toolbar, minibuffer,...).  Maybe this could be changed..
>>>
>>>
>> Emacs uses frames for its tooltips on all platforms. To change this on
>> Windows would make it more difficult to maintain, and would lose
>> functionality.
>
> Are you sure about that?  Under X11, tooltips come without any
> decoration and without any impact on the focus (I have
> focus-follows-mouse policy).  I never noticed _any_ problem with them.

The focus policy is maintained by the window manager, but Emacs tool 
tips are created with override redirect on, which basically means that 
the window manager ignores them, i.e. no decoration, and no focus is 
given to them.

But the X server gives focus to any window when the pointer is over it 
(the window manager changes this for normal windows), so if you manage 
to get the pointer over a tool tip, it will receive the focus.  This is 
hard to do though :-)

W32 doesn't have a window manager, I guess that is the source of the 
problem.

>
> If users of Emacs on Windows experience similar effects, this will
> significantly hamper acceptance and usability.  So I'd strongly to
> those working on the Windows port to see whether something can be done
> in that regard.  I can't see at all what functionality could possibly
> be lost.  At least the X11 tooltips on Emacs provide no functionality
> whatsoever except popping up some text in a single font AFAICS.  No
> face support, no clickable areas, nothing.  So if there is a function
> for popping them up in the system, I can't see what we could lose by
> using it.

The tool tip frames can have any parameter set on them that an ordinary 
frame can have, so there is indeed face support and you can have 
another font also.  See the tool tip section in customize.

What you will loose is perhaps international characters.  Unless of 
course care is taken to convert from Emacs representation to whatever 
w32 uses (UTF8?).


	Jan D.

  parent reply	other threads:[~2005-02-14 18:42 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13  0:21 Tooltips on w32 slow and strange Lennart Borgman
2005-02-13 18:21 ` Stefan Daschek
2005-02-14  8:15 ` Stephan Stahl
2005-02-14  9:58   ` Jason Rumney
2005-02-14 10:13     ` Stephan Stahl
2005-02-14 10:27       ` Jason Rumney
2005-02-14 12:26     ` David Kastrup
2005-02-14 13:07       ` Jason Rumney
2005-02-14 14:41         ` Lennart Borgman
2005-02-14 15:19           ` Jason Rumney
2005-02-14 18:02             ` Lennart Borgman
2005-02-14 15:02       ` Miles Bader
2005-02-14 15:47         ` David Kastrup
2005-02-14 15:57           ` Ralf Angeli
2005-02-14 17:16             ` David Kastrup
2005-02-14 17:29               ` Jason Rumney
2005-02-14 17:39               ` Reiner Steib
2005-02-14 18:29                 ` Stefan Monnier
2005-02-14 17:56               ` Ralf Angeli
2005-02-14 18:55             ` Jan D.
2005-02-14 19:44               ` Ralf Angeli
2005-02-14 19:59                 ` Jan D.
2005-02-14 20:14                 ` David Kastrup
2005-02-15  8:15                   ` Ralf Angeli
2005-02-16  1:02         ` Oliver Scholz
2005-02-14 18:42       ` Jan D. [this message]
2005-02-14 18:50         ` David Kastrup
2005-02-14 19:02           ` Jan D.
2005-02-14 13:54     ` Lennart Borgman
2005-02-14 15:08       ` Miles Bader
2005-02-14 20:28         ` Eli Zaretskii
2005-02-14 23:48           ` Miles Bader
2005-02-14 23:58             ` Jason Rumney
2005-02-15  0:27               ` David Kastrup
2005-02-15  0:01             ` Lennart Borgman
2005-02-15  0:47             ` Kenichi Handa
2005-02-15  6:19               ` Jan D.
2005-02-15 16:29                 ` Stefan Monnier
2005-02-15  4:45             ` Eli Zaretskii
2005-02-15  8:53               ` Stephan Stahl
2005-02-15 10:02                 ` Jason Rumney
2005-02-15 10:11                   ` Stephan Stahl
2005-02-15 10:31                     ` Jason Rumney
2005-02-15 13:43                     ` Lennart Borgman
2005-02-15 14:19                       ` Jason Rumney
2005-02-15 15:31                         ` Lennart Borgman
2005-02-15 20:03                 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2005-03-08  9:07 Stephan Stahl
2005-03-08 10:40 ` Stephan Stahl
2005-03-08 12:43 ` Jason Rumney
2005-03-08 15:42 ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4ffc1eb78167069bc07795dcca2ed3a@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    --cc=stahl@eos.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).