Issue 125700

Summary: OOooo user dialog editor - element "listbox" - "execute act" trigers only on mouse
Product: App Dev Reporter: ponny <jelen_v_senci>
Component: apiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Major    
Priority: P3 CC: davian818, marcelly.bernard
Version: 4.1.1   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description ponny 2014-10-01 14:00:27 UTC

In OpenOffice Basic tool in OpenOffice 4.1.1 is one strange thing.
In user dialog, window element called "listbox".
If you attach function or sub to event "execute an act", then.....
This attached procedure (sub) will be executed only on double click mouse on item from this list.
If this listbox is trigered by pressing Enter key on selected item, nothing happend.

I had to use event "key released", for this listbox, and condition keycode (I thing 1280 for Enter key), for triger this sub.

I suspect, there is a bug. A verrrrry old bug. Maybe few years old bug.

Comment 1 mroe 2014-10-01 15:28:09 UTC
Please attach a little test document that shows the described behaviour. Thank you!
Comment 2 bmarcelly 2014-10-09 15:20:06 UTC
What you see is probably intentional.

Use instead event "Modified Status".
The sub will be called by single mouse click (at button release), by Enter key, or by up/down key.
Comment 3 ponny 2014-10-10 12:37:11 UTC
This is a possible solution. But I want: this sub is trigered only at double click or by Enter key.

Like in build-in-window - like File Open for example. There you can open selected file with double click on item in the list or Enter key, when item is slelected. But not with change selected item with up/down key.

Thankyou and wish you nice day.
Comment 4 urmasd 2014-10-10 15:47:19 UTC
Default command button?