Bug 112379 - When opening a document, don't steal focus before the document is fully loaded
Summary: When opening a document, don't steal focus before the document is fully loaded
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All Linux (All)
: low enhancement
Assignee: Not Assigned
: 120474 127518 (view as bug list)
Depends on:
Blocks: Desktop-Integration
  Show dependency treegraph
Reported: 2017-09-13 21:03 UTC by markus
Modified: 2021-11-10 09:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description markus 2017-09-13 21:03:13 UTC

I did not see another way to report; I prefer github issue tracker, much simpler than bugzilla. Please do feel free to push this where it fits best, I have no idea.


When opening an .odt file, it takes a bit before it is opened in libreoffice.

I then get a windows notification focus (on linux, using xfce), but I also see the status bar that "loading is in progress". This is useless to me because I only can wait there and watch the progress bar.

The situation is made worse if I click on something else, and then libreoffice takes away my focus. It's ok to take my focus away, to some extent, IF I can work at once. But when I see the progress bar, I still can not do anything ... so this is useless. I should say that I open most .odt documents from the commandline (terminal; kde konsole).

Anyway, here is what I propose:

- Change the behaviour to re-gain the focus only AFTER the progress bar has been FINISHED loading completely. The current behaviour makes not a lot of sense to me. For small documents this is not a big issue but for large excel files, I think taking away the focus should happen only AFTER the progress bar has finished, IF the focus is elsewhere. (Some users may like to watch the progress bar, I have no idea, but I refer ONLY to the situation where I, as the user, already clicked back on somewhere else.)

I hope it is understandable what I mean with the above.

By the way, do not be distracted if you think this bug report is too critical; I think that libreoffice is great and the above is a MINOR thing. It could be better though ... I don't quite understand why watching a progress bar that is mandatory rather than optional, really improves anything ... I just have an idle down time here, even if it is small.
Comment 1 markus 2017-09-13 21:04:47 UTC
With "windows notification focus" I actually meant "takes away focus to this application", so it sorta steals the focus. I'd love to edit the above but ... I don't see an edit button ... probably because it already sends an email? Should really wait a few minutes before doing so, some people would like to corret their typos ... :\ Github interface is better here.
Comment 2 Buovjaga 2017-10-28 15:33:26 UTC
Ok, I think I get it, tweaking summary a bit. Let's set to NEW and see what the devs think.
Comment 3 Buovjaga 2018-11-25 17:12:14 UTC
*** Bug 120474 has been marked as a duplicate of this bug. ***
Comment 4 phv 2021-11-04 14:13:33 UTC
Bug #127518 is very similar in the description, but is it a formal duplicate?
Comment 5 Michael Warner 2021-11-05 14:29:44 UTC
*** Bug 127518 has been marked as a duplicate of this bug. ***
Comment 6 horus 2021-11-10 09:13:18 UTC
From ticket 127518:
I would request that LO do NOT steal focus *at all*, whether the document is fully loaded or not