https://bugs.documentfoundation.org/show_bug.cgi?id=92617

Lionel Elie Mamane <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #29 from Lionel Elie Mamane <[email protected]> ---
So, what happens is:

 * focus is in table4 subform
 * you click on "exit" button which is in table3 form
 * this moves the focus to table3 form, which implicitly commits the changes
   in the table4 subform *before* allowing the click.
 * the commit of the changes calls your Table4BeforeUpdate macro
 * this macro contains a "wait" statement. This wait statement
   (which is a thread yield, that allows other events to be processed
    in the meantime) allows the "click" event to be processed, calling
   your ExitTable3 macro, which calls close, which starts the "commit
   changes" again.

This is definitely our bug. What I would like is for the "click" event *not* to
be treated before the "commit because we change focus" is *finished*. I'm not
100% sure how to achieve that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to