Issue 125700 - OOooo user dialog editor - element "listbox" - "execute act" trigers only on mouse
Summary: OOooo user dialog editor - element "listbox" - "execute act" trigers only on ...
Status: UNCONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 4.1.1
Hardware: All Windows XP
: P3 Major
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 14:00 UTC by ponny
Modified: 2014-10-10 15:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ponny 2014-10-01 14:00:27 UTC
Meow

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.


Ponny
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?