[Libreoffice-bugs] [Bug 122920] New: UI: XMouseListener is not called for top most window

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 24 09:21:32 UTC 2019


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

            Bug ID: 122920
           Summary: UI: XMouseListener is not called for top most window
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: serge.krot at cib.de

Registered mouse/key listeners for top window do not receive any mouse/key
events while everything is passed only to focused child window where we have no
any registered mouse/key listeners.

How to reproduce:
1. get LO main window with
UNO.desktop.getCurrentFrame().getContainerWindow() or
UNO.desktop.getCurrentFrame().getComponentWindow()

2. register XMouseListener:
UNO.desktop.getCurrentFrame().getContainerWindow().addMouseListener(XMouseListener
myMouseListener)

3. expectation: MouseEvents will be received

Additional info:
* How to send key events:
https://ask.libreoffice.org/en/question/123664/create-a-macro-that-press-enter-automatic-once/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190124/23c9cccc/attachment-0001.html>


More information about the Libreoffice-bugs mailing list