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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to