I've started to dig into LO's behaviour with regards to stealing
keyboard focus and raising its windows to top, originally as part of
fdo#35091. That bug was introduced by the fix to i#99971; from that
issue's comment log, the fix was controversial at the time, because it
would reintroduce several older issues, such as i#19976, i#49426,
i#62756.
After this reading, my conclusion is that the expected behaviour with
respect to "steal focus" is platform-dependent:
- On X11, giving focus to new windows OR NOT is the window manager's
decision. In general, the application should *not* raise its
windows to top.
- On Microsoft Windows, apparently it is *required* to raise your
windows yourself.
- On MacOS X, I don't know. Please advise.
I have already (in master) made the gist of the fix to i#99971 be
active only on Microsoft Windows.
I intend to hunt down every place where LibreOffice raises its window
to the top, and inactivate it on X11, and leave it active on
Windows. Please tell me what to do on MacOS X.
Exceptions:
- Raise window to top on all platforms when the window gets recycled
for a document that gets opened, instead of a new window being
created.
For example, if one creates a new text document (which may or may
not happen by default on startup, depending on command-line
options), it is called "Untitled N". If that document is not
modified in any way, and another text document gets opened, it gets
opened in that window instead of a new window being created.
- Maybe others as I discover them.
--
Lionel
Context
- [Libreoffice-ux-advise] keyboard focus/ raise window to top behaviour · Lionel Elie Mamane
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.