Apache OpenOffice (AOO) Bugzilla – Issue 21025
forms: wrong focus when vetoing a control change with a Basic script
Last modified: 2006-05-31 14:29:06 UTC
Open the (to be) attached bug doc. It contains a small form, with some controls bound to the Bibliography/biblio table. To the identifier control, there is a veto listener (in Basic) attached, which denies all values which evaluate to a number greater 10 or less than 1. When you enter an invalid value into this control, and leave it with the tab key, then the value is (as expected) denied. *But*, the focus is still move to another control! It's expected that in case a control value is vetoed, the focus stays with the control itself. Without this, you can now (after leaving the control and confirming the validation message), still commit the record. This bug makes veto listeners at controls useless.
Created attachment 10198 [details] bug doc
argh! Problem located between monitor and chair ...
closing duplicate issue
change subcomponent to 'none'