[Libreoffice-bugs] [Bug 129028] When focus is in the Infobar some key input actions occur in the document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 18 23:44:44 UTC 2019


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

Jim Raykowski <raykowj at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyBeginner,
                   |                            |skillCpp

--- Comment #2 from Jim Raykowski <raykowj at gmail.com> ---
Code pointer: overide Window::EventNotify in SfxInfoBarWindow to handle key
input of interest.

Places to look how a key input event filter can be done for SfxInfoBarWindow. 

sfx2/source/sidebar/SidebarDockingWindow.cxx
SidebarDockingWindow::EventNotify

sfx2/source/control/charmapcontrol.cxx
SfxCharmapCtrl::EventNotify

Key input that should be passed to the parent Window::EventNotify for handling
are tab, space, and enter. The rest should be consumed by the
SfxInfoBarWindow::EventNotify.

SfxInfoBarWindow class definition and member function code 
include/sfx2/infobar.hxx 
sfx2/source/dialog/infobar.cxx

-- 
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/20191218/768457a4/attachment.htm>


More information about the Libreoffice-bugs mailing list