emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: validation of widgets doesn't work correct when


From: Jason Rumney
Subject: Re: address@hidden: Re: validation of widgets doesn't work correct when Set is pressed with mouse (emacs 21.1)]
Date: 27 Feb 2002 00:07:15 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

> > 2. In my case the error-message must have been shown so short that
> > I fail to see it, overwritten as it is by the button-message
> > It has been shown since I find it in the *messages* buffer.
> > So this second point could be a problem for emacs on windows then, maybe?
> 
> I suspect this is MS Windows specific.

The problem appears to be caused by the fact that pop-up menus are not
asynchronous on MS Windows.  There appear to be multiple problems
involved, the one I haven't solved yet is that the nil help_echo event
that is supposed to clear the button's help_echo before the menu pops
up, does not actually get processed until after the menu selection has
been made.  I think it is that event that is clearing the minibuffer.

The sequence of events appears to be this:

  help text for "State" button displayed.

  pop-up menu activated.

  menu item chosen.

  error message displayed.

  help text cleared.


The current code in show_help_echo only handles the case where the
error message is displayed before the help text.  It might be
possible to solve this by making any messages immediately clear help
text, and have show_help_echo recognize when it has already been
cleared.


-- 
Jason Rumney




reply via email to

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