nanogui: Problem with focus on different windows


Previous by date: 28 Jul 2009 10:18:46 -0000 Re: PNG and transparency, BRACH Vincent
Next by date: 28 Jul 2009 10:18:46 -0000 Re: PNG and transparency, Greg Haerr
Previous in thread: 28 Jul 2009 10:18:46 -0000 Problem with focus on different windows, Michael Schmid
Next in thread:

Subject: Re: [nanogui] Problem with focus on different windows
From: "Greg Haerr" ####@####.####
Date: 28 Jul 2009 10:18:46 -0000
Message-Id: <05e701ca0f21$4dc194b0$6464a8c0@winXP>

: Following situation: I have a FLTK-GUI which covers the whole screen. 
: Then I start the nxkbd for keyboard-input, because it is a touch-screen. 
: Then i finish the input with the "enter" key and the nxkbd-process gets 
: killed and dissapears from the screen. Now, if my input doesn't pass the 
: format-check an error message pops up which is drawn in a new window. 
: Then I press "OK" and the popup-window dissapears. If I start the nxkbd 
: again to re-edit the input field (of the main-window), the nxkbd 
: appears, but if I press a key, the input field doesn't get the input....
: 
: I seems like the main window lost the focus or something like that... Is 
: that an issue which I have to solve in nano-x window or does this seem 
: to be a FLTK thing for you? On which point do you think do I have to fix?

Its hard to say exactly what's going on within the FLTK apps you're
using.  Ultimately, you may have to manually call GrSetFocus()
on the window you want to receive the keyboard input the
user is typing.  Things also run differently when you're running
the nanowm window manager.  The system remembers
the last window's focus only, so when you're creating a string
of windows, sometimes focus has to be manually managed.

Regards,

Greg

Previous by date: 28 Jul 2009 10:18:46 -0000 Re: PNG and transparency, BRACH Vincent
Next by date: 28 Jul 2009 10:18:46 -0000 Re: PNG and transparency, Greg Haerr
Previous in thread: 28 Jul 2009 10:18:46 -0000 Problem with focus on different windows, Michael Schmid
Next in thread:


Powered by ezmlm-browse 0.20.