On Fri, Nov 23, 2001 at 02:44:02AM -0600, fvwm-bug wrote:
> FVWM Bug Tracking notification
> 
> new message incoming/812
> 
> Full_Name: Mark Rainford
> Version: 2.4.3
> CVS_Date: 
> OS: Solaris 7
> X_Server: Xsun, also vnc
> Submission from: (NULL) (193.128.26.65)
> 
> 
> When an application popup menu is popped down for the second time then
> text
> entry fields in the application no longer accept text; this remains until
> focus is moved to another window and then returned to the app.
> 
> Eg use this http
> 
> <FORM METHOD="POST" ACTION="gibberish">
> <SELECT NAME="QueryType">
> <OPTION VALUE="Eggs" SELECTED>Eggs
> <OPTION VALUE="Spam" >Spam
> <OPTION VALUE="Bacon">Bacon
> </SELECT>
> <INPUT TYPE="TEXT" NAME="anytext" VALUE="" SIZE="15" >
> </FORM>
> 
> Use mouse to popup menu, close menu either by selecting or hitting ESC,
> click text field and type a letter - letter seen okay. Popup menu,
> close again, click text field and type a letter - no letter appears. Use
> mouse to move focus to another window, then back again, click text field
> and
> type a letter - letter seen okay.

I see no problem with my configuration using either netscape 4.7x
or mozilla 0.93.  Which browser did you use?  And please see if
this also happens if you use an empty configuration file.  If not,
try to strip down your config file so that the problem still
happens and post the result.

> I've hacked a local fix by inserting FOCUS_SET(Tmp_win->w); at
> fvwm/events.c:HandleEnterNotify() line 1919, but I don't think this is a
> proper fix.
> 
>   if (HAS_MOUSE_FOCUS(Tmp_win) || HAS_SLOPPY_FOCUS(Tmp_win))
>   {
>     SetFocusWindow(Tmp_win, 1);
>     FOCUS_SET(Tmp_win->w);            /* <--- HACK HACK HACK */
>   }
> 
> It seems to me that SetFocusWindow()->MoveFocus() makes the mistake of
> thinking there is no need to restore focus to the app window after the
> popup menu which grabbed it is popped down, because it sees
> (  Fw == ffw_old) is true.
> 
> I suspect one of Fw or ffw_old should be cleared when the FocusOut event
> with mode Grab is received by the app window.
> 
> I can supply the event sequences captured by xscope(1) if this helps.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to