https://bugs.documentfoundation.org/show_bug.cgi?id=156822
Mike Kaganski <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://ask.libreoffice.org | |/t/preventing-lo-calc-from- | |taking-focus-from-active-ap | |ps-on-loading/94812/ See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=48 | |300, | |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=49 | |134, | |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=75 | |471, | |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=11 | |4466 Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTABUG --- Comment #1 from Mike Kaganski <[email protected]> --- This is not a bug. In Windows (which is this bug is filed about), and I believe in other OSes, there is a *system* policy about the *expected* result of launching a new process. Namely, it is *expected* that when user explicitly starts a new process, it opens the window, and that window is in the foreground, ready for input. Indeed, when a process takes very long (more than a few seconds), it is OK to assume that the user might want to return to other things they do, and then the newly launched process should not steal focus. This exact protocol is followed by LibreOffice, based on the huge demand - see the See Also bug 48300, bug 49134, bug 75471, bug 114466. Note that, as mentioned in https://ask.libreoffice.org/t/preventing-lo-calc-from-taking-focus-from-active-apps-on-loading/94812/ (which is the origin of this report), that the real time span reported there is 2-3 seconds, so agrees with the times typically granted by system for program launch. And there is a LibreOffice-specific ForceFocusAndToFront expect configuration to prevent stealing the focus - please try to use it and see if it suits your needs. -- You are receiving this mail because: You are the assignee for the bug.
