emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

x-popup-dialog in gtk emacs


From: Dave Love
Subject: x-popup-dialog in gtk emacs
Date: Mon, 02 Jun 2003 19:10:05 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

If you do something like this in the gtk-based Emacs, the only way to
get out of it seems to be to select a menu, otherwise Emacs appears to
be hung:

  (x-popup-dialog t '("foo" "bar"))

In the lucid version, a mouse click removes the dialogue box.

I know this isn't a terribly useful thing to do, but I was testing.
It's probably reasonable to refuse to pop up a dialogue with no
selectable elements, as long as it's done consistently across ports
and toolkits.

By the way, the gtk menus seem rather slow compared with the lucid
ones.  Is that a known feature?  I saw this on the box I had to use to
build and run the gtk version to try it conveniently: a headless P200
with X over 100Mb ethernet.  The installed Emacs 21.2 displays the
lucid menus without noticeable delays, whereas the gtk version pauses
displaying and removing menus.  With menu-bar-mode off using
C-down-mouse-3 in *scratch* I estimate takes 1-2s for the popup menu
to appear, and maybe half as long to disappear if I release the mouse
without selecting anything.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]