Apache OpenOffice (AOO) Bugzilla – Issue 62756
Keyboard focus stolen during startup
Last modified: 2007-01-02 10:10:49 UTC
If you have your window manager set to pointer focus, OpenOffice.org still grabs the keyboard focus when it starts up, even if the mouse is on another application.
TM-PL: please have a look.
confirmed
pl->as: Actually this is framework calling ToTop #0 0x41962635 in XSetInputFocus () from /usr/X11R6/lib/libX11.so.6 #1 0x43a74b86 in X11SalFrame::ToTop (this=0x46fdfc98, nFlags=12) at /usr/data/vcl57/vcl/unx/source/window/salframe.cxx:1268 #2 0x4029a7a8 in Window::ImplGrabFocus (this=0x46fdf7d8, nFlags=0) at /usr/data/vcl57/vcl/source/window/window.cxx:4036 #3 0x402a58fb in Window::GrabFocus (this=0x46fdf7d8) at /usr/data/vcl57/vcl/source/window/window.cxx:7503 #4 0x4029a490 in Window::ImplGrabFocus (this=0x46fdfa38, nFlags=0) at /usr/data/vcl57/vcl/source/window/window.cxx:3950 #5 0x402a58fb in Window::GrabFocus (this=0x46fdfa38) at /usr/data/vcl57/vcl/source/window/window.cxx:7503 #6 0x40299dbb in Window::ImplFocusToTop (this=0x46fdf7d8, nFlags=1, bReallyVisible=1 '\001') at /usr/data/vcl57/vcl/source/window/window.cxx:3756 #7 0x402a37dd in Window::ToTop (this=0x46fdf7d8, nFlags=1) at /usr/data/vcl57/vcl/source/window/window.cxx:6780 #8 0x40bb5efc in non-virtual thunk to VCLXMenu::getTypes() () from /usr/data/vcl57/office/program/libtk680li.so #9 0x45b6182b in component_writeInfo () from /usr/data/vcl57/office/program/libfwk680li.so #10 0x45b67028 in component_writeInfo () from /usr/data/vcl57/office/program/libfwk680li.so
This code was changed in cws inplaceobjects for issue 19976. I assume that grabbing the focus still can happen if the window manager itself moves the focus to a window that became visible for the first time. As the second case seems to be correct and the first one should be fixed by issue 19976 this issue can be seen as a duplicate. If there is still a superfluous focus grabbing in OOo I assume that it happens inside VCL. *** This issue has been marked as a duplicate of 19976 ***
.