https://bugs.documentfoundation.org/show_bug.cgi?id=151274
Bug ID: 151274
Summary: Event "Losing focus" happens twice for Listbox and
Combobox in a tablecontrol
Product: LibreOffice
Version: 7.4.1.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: [email protected]
Reporter: [email protected]
Created attachment 182785
--> https://bugs.documentfoundation.org/attachment.cgi?id=182785&action=edit
Open the form "Form_tablecontrol" different fields are linked to event "Losing
focus"
Open the attached database.
Macros should be allowed.
Open the form "Form_tablecontrol".
There are four tablecontrols, all the same content.
Difference is the field, which is set to show the event "Losing focus".
For normal textboxes wit will work without problems.
Set the cursor in first field of second tablecontrol. It will show what is
happening for a listbox. Move from the left to the right by tab.
The event "Losing focus" will happen when arriving the listbox. It will also be
happen when losing the listbox.
The same behavior will appear for a combobox (third tablecontrol)
The behavior when arriving the listbox and showing the event "Losing focus"
isn't the same as the behavior when receiving focus. It is impossible to set a
messagebox to the event "receiving focus" without getting a loop (focus recived
for a field, for the messagebox, again for the field …)
Expected behavior: "losing focus" should only appear while the cursor will get
out of a field, not while getting in a field.
--
You are receiving this mail because:
You are the assignee for the bug.