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

--- Comment #9 from Michael Weghorn <[email protected]> ---
(In reply to Akko from comment #8)
> As I have marked in the Importance this is not a bug report but enhancement
> suggestion. Enhancement being dropdown menu activating automatically when
> listbox gets focused, provided as another toggle option to turn on/off in
> properties of control.

Thanks for the clarification.
There's always a bit of a tradeoff what to expose as public UNO API. To me,
having a "show popup on focus" property seems a quite special/uncommon use case
and I'm not aware of similar API in other UI toolkits (e.g. GTK or Qt), but I'm
happy to hear other opinions (and leave it to others to decide).

I suppose that e.g. with GTK or Qt, one could likely register a callback for
the focus event and then call some method to open the popup in that callback.

I'm not particularly familiar with UNO (extension/macro) development, but at
least registering for a focus event might be possible using
XFocusListener::focusGained, but then there might not be a corresponding UNO
API method to call in order to show the popup. (?)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to