[XForms] question box appears huge

jason cipriani jason.cipriani at gmail.com
Thu Oct 12 17:30:43 EDT 2006


I've never seen that happen before. XForms may be kind of sketchy, but
lord knows I've put it to the test over the last few years and I
honestly believe that the goodie boxes are stable and bug-free. Are
you making sure you are calling fl_initialize when your application
starts before doing any other xforms stuff?

That aside, the cuplrit of odd problems like that is usually some
memory-related issue elsewhere in the program. Perhaps some of your
code is writing past the end of a buffer somewhere and coincidently
corrupting certain xforms data structures. Showing the alert box may
reinitialize some data, or may move things around in memory so that
the other issue no longer affects the quesiton box.

Sorry, I can't think of any other reason that would occur unless
there's some weird X or window-manager related problem that is only
affecting that one message box for some reason.

Jason

On 10/12/06, Kerich, Steve (AGTE) <Steve.Kerich at smiths-aerospace.com> wrote:
> To subscribers of the xforms list
>
>
> I am having a problem with a question box. I use them throughout my code
> but this one keeps putting up a question box that is so big it goes off
> the left side of the screen and buttons that are huge. The text in the
> label and on the buttons is also corrupted. I found out by trail and
> error that if I show an alert box before making the call to
> show_question, the question box is the correct size. Has anyone seen
> something like this happen before? The show_alert is doing something to
> XForms that is making the show_question box work. I guess like flushing
> a buffer, reseting a pointer, or something. Below is the snippet from
> the program with the show_alert that makes this work. This only happens
> with the show_question call in the program. Elsewhere it works fine.
>
> Any ideas would be greatly appreciated.
>
>  fl_show_alert("Nothing to write",
>             "Test.",
>             "test.",
>             1);
>
>       fl_show_question("Write archive CD with current track layout?",
> 1);
>
>
> ******************************************
> The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
> ******************************************
>
> _______________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request at bob.usuhs.mil or see:
> http://cweblog.usuhs.mil/mailman/listinfo/xforms
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/pipermail/xforms and
> http://bob.usuhs.mil/mailserv/list-archives/
> Development: http://savannah.nongnu.org/files/?group=xforms
>



More information about the Xforms mailing list