Hey Billy,

2008/9/18 Billy Muma <[EMAIL PROTECTED]>:
>
> Hello again,
>
> I am experiencing a problem with Wt 2.1.5 release version.
> I have not found any mention of it on the message boards,
> so i am posting it. My apologies in advance if its an error on
> my part else, a description of the problem and sample code
> follows:
>
> A Wt application that has a WTimer running when, an event
> is generated. The slot for that event creates and displays a
> message box. When the message box button is clicked and
> the box is deleted the following error appears 3x in the
> wt::http debug window where the wt application is being run:
>
> [error] "decodeSignal(): signal 's1' not exposed"
> [error] "decodeSignal(): signal 's1' not exposed"
> [error] "decodeSignal(): signal 's1' not exposed"

Oops. This is a regression that has been recently introduced. I have
fixed it now in CVS.

The patch is quite simple, so you may also backport it easily to any
Wt version >= 2.1.5:

diff --git a/src/Wt/WApplication.C b/src/Wt/WApplication.C
index 0bb0c97..8eb49d8 100644
--- a/src/Wt/WApplication.C
+++ b/src/Wt/WApplication.C
@@ -266,7 +266,7 @@ bool WApplication::isExposed(WWidget *w) const
 {
   if (dialogWindow_ && !dialogWindow_->isHidden()) {
     for (WWidget *p = w; p; p = p->parent())
-      if (p == dialogWindow_)
+      if (p == dialogWindow_ || p == timerRoot_)
        return true;
     return false;
   } else


Thanks for reporting this!

Regards,
koen

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to