Hi!

I wrote an EMail to T.C. Zhao for the problem we have with
the latest 0.89 version of xforms, my mail is below and this
is his answer. I would like to hear some comments.

IMO that the behaviour is not correct as if I have an OK
Button I'm resposible of reading out all input before closing
the form, but I'll let you decide.

Jürgen

-----FW: <[EMAIL PROTECTED]>-----

Date: Mon, 11 Oct 1999 10:19:27 -0700 (PDT)
From: "T.C. Zhao" <[EMAIL PROTECTED]>
To: Juergen Vigna <[EMAIL PROTECTED]>
Subject: Re: Smal bug or feature?


Hi Juergen,
I believe this new behavior is the correct one (almost). Just imagine
if you have a form that has an input field on it. You entered
some characters into the input field but did not enter a return
or tab. Now the form is being closed (maybe thru button Ok etc),
the input entered will be lost without the final callback.

However, if your callback is called every keystroke, there is
no chance of missing characters, and in this case, it feels
the callback should not be called.

This is one of the cases where what most application wants
will decide what the behavior should be. If Lyx needs to
release the new version, I'll not tweak the behavior further,
so the final callback remains for all cases.
 

--- Juergen Vigna <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> Maybe you remember me I'm one of the LyX developers. I recently
> tried xforms 0.89 with our latest stable version 1.0.4 and have
> seen that I cannot use that version of the library with it as
> it has a strange behaviour. Now we would like to know if this
> behaviour is a feature or a bug. What did I notice:
> 
> Calling the function fl_hide_form(...) the keyboard callbacks
> present in this form are called again (I mean I have an input
> field and activated a callback on this input field, so that
> I can check the input on every keystroke), IMO on an fl_hid_form(...)
> this shouldn't be called, but ok if you tell me this is the right
> thing we can hack around it so that we don't have this problem
> anymore.
> 
> We just need to know if this is intended or not.
> 
> Hope you'll find the time to answer us, so we can fix it correctly.
> 
> Greets Jürgen
> 
> -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
> 
> Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
> Gerbergasse 60                        Tel:    +39-0471-450260
> I-39100 Bozen                         Fax:    +39-0471-970042
> ITALY                                 Web:    http://www.sad.it/~jug
> 
> There cannot be a crisis next week.  My schedule is already full.
>                 -- Henry Kissinger
> 
> -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
> 


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--------------End of forwarded message-------------------------

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
Gerbergasse 60                        Tel:    +39-0471-450260
I-39100 Bozen                         Fax:    +39-0471-970042
ITALY                                 Web:    http://www.sad.it/~jug

I have learned
To spell hors d'oeuvres
Which still grates on 
Some people's n'oeuvres.
                -- Warren Knox

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to