nanogui: Problems with modal windows


Previous by date: 22 Dec 2004 01:48:51 +0000 Re: Linking nano-X into my application?, Greg Haerr
Next by date: 22 Dec 2004 01:48:51 +0000 lincense for chinese fonts, Seol,Keun-Seok
Previous in thread: 22 Dec 2004 01:48:51 +0000 Re: Problems with modal windows, Mark Mussetter
Next in thread:

Subject: Re: [nanogui] Problems with modal windows
From: "Greg Haerr" ####@####.####
Date: 22 Dec 2004 01:48:51 +0000
Message-Id: <1f1601c4e7c8$4279f1e0$0300a8c0@RDP>

: Thanks for the explanation.  I'll look into nxlib and fltk and see what I
: can see.  I'm thinking a quick fix to get the window to show on top might
: be to just call a microwindows raise event directly from program and
: bypassing FLTK just for the important window.  Do you see a problem with
that?

Shouldn't be a big issue.  FLTK won't know that the window is raised,
so it could get confused, but you'll know quickly after to code the
hack.  Certainly there's no issue on the Microwindows side of the
equation.

Regards,

Greg





:
: Thanks for you help,
:
: Mark
:
: At 01:13 AM 12/19/2004, you wrote:
: >: WindowA (non-modal) -- This window allows the user to adjust settings.
: >:    WindowB (modal) -- This window is a modal "confirmation" window.
The
: >: user must OK this window before moving on.
: >:
: >: WindowC (modal) -- This window is shown when an interrupt is fired
: >: indicating that the power switch was pressed and we're shutting down.
: >:
: >: After the user makes changes in WindowA, WindowB is shown so the user
must
: >: confirm the changes before moving on.  If the power switch is pressed
: >: before the user confirms settings, WindowC gets shown, but it stays
behind
: >: WindowB.  WindowC gets any further events from the touchscreen even
though
: >: it is shown behind WindowB.
: >
: >Unfortunately, this problem is likely buried in the implementation
: >of FLTK itself.  I would need to understand a bit more exactly
: >how FLTK implents "modal" windows.  Microwindows itself
: >doesn't have the concept of modal windows.  Modal windows
: >are normally implemented by forcing a new GetNextEvent
: >loop "on top" of the topmost existing window's event loop,
: >thus forcing all messages to go just to it, thereby implementing
: >the modal concept.
: >
: >It sounds likely that there's some issue where FLTK isn't communicating
: >fully with nano-X to get the window raised when it is shown.
: >This could be an issue in  NXLIB, if you're using that emulation
: >library.
: >
: >Regards,
: >
: >Greg
: >
: >
: >
: >---------------------------------------------------------------------
: >To unsubscribe, e-mail: ####@####.####
: >For additional commands, e-mail: ####@####.####
:
:
:


Previous by date: 22 Dec 2004 01:48:51 +0000 Re: Linking nano-X into my application?, Greg Haerr
Next by date: 22 Dec 2004 01:48:51 +0000 lincense for chinese fonts, Seol,Keun-Seok
Previous in thread: 22 Dec 2004 01:48:51 +0000 Re: Problems with modal windows, Mark Mussetter
Next in thread:


Powered by ezmlm-browse 0.20.