https://bugs.documentfoundation.org/show_bug.cgi?id=150773
Bug ID: 150773
Summary: Do not bring document to front after user had switched
from it to other tasks on loading
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Bringing opened document to front is indeed wanted by most users - see bug
75471.
However, as mentioned in bug 150771, people might find it intrusive that after
the loading application was shown in the foreground the first time, and user
switched to another task before loading ended, it activates itself another time
at the end of the loading process.
To reproduce this unwanted behavior:
1. Download a large document - e.g., Calc 7.4 Guide PDF from
https://documentation.libreoffice.org/en/english-documentation/;
2. Right-click on the downloaded PDF, and choose "Open with -> LibreOffice";
3. See that an empty window appears, in which a progress bar at the bottom will
show the loading progress;
4. Before the loading finishes, switch to another process (e.g., to an email
client), and start typing something there;
5. See that after loading ends, the document gets to foreground automatically,
*interrupting your current task*.
This is reproducible at least on Windows with Version: 7.4.1.1 (x64) /
LibreOffice Community
Build ID: 0a046a10cbf1679eea5538bd3ab63156caa3a036
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL Jumbo
Additionally, setting ForceFocusAndToFront to false does not prevent bringing
the document to foreground.
So the wanted behavior would be:
1. If ForceFocusAndToFront is true (the default), it should bring the document
window to the foreground (as soon as possible, to give some feedback to user,
who otherwise could assume their actions didn't start loading), but only once
(do not bring to foreground the second time after loading completes);
2. If ForceFocusAndToFront is false, it should not steal the focus even the
first time.
It would still be reasonable to bring dialogs to front during loading, because
they indicate that user interaction is required to complete the user-initiated
loading process.
--
You are receiving this mail because:
You are the assignee for the bug.