Bug 104128 - Password prompt does not take focus when other documents are open
Summary: Password prompt does not take focus when other documents are open
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Password-Protected
  Show dependency treegraph
 
Reported: 2016-11-23 14:16 UTC by Amos
Modified: 2025-10-05 03:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amos 2016-11-23 14:16:14 UTC
Description:
Trying to open a password-protected document while another document is already open (e.g. opening a protected Writer document while a Calc spreadsheet, with or without protection, is open) brings up a password prompt, but that prompt does not take focus or even come to the foreground. It can be confusing having to either find the prompt in the taskbar or to minimise windows in the foreground in order to be able to see the password prompt at all. If I open a document, I'd expect any prompts that document requires in order to open to take focus so that I can start typing the password right away without having to find the application that has meekly opened a prompt somewhere in the background.

While not a major issue, this can be a major annoyance when working with multiple documents, some of which are password-protected, while other windows are open, especially on multiple monitors. This has been occurring at least since version 4.4 iirc, possibly earlier, and is still an issue in 5.1.6.2. Tested with 64-bit version of LibreOffice on Win7.

Steps to Reproduce:
1. Open a LibreOffice document or spreadsheet.
2. Open one or more other applications in Windows.
3. Open a password-protected LibreOffice document, e.g. via pinned LibreOffice Writer documents or recent documents (i.e. don't minimise other windows), or via Windows Explorer.

Actual Results:  
The password prompt shows up on the taskbar (though it doesn't always show up with a taskbar entry when opening further password-protected documents), but sits in the background behind the other applications opened. To type your password into the prompt, you need to minimise these applications or activate the prompt or the other open document/spreadsheet.

Expected Results:
The password prompt is opened with an entry in the taskbar every time and takes focus, i.e. it allows you to type your password right after launching the document.


Reproducible: Always

User Profile Reset: Not this time, but I've done so previously and the problem has persisted.

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36 Vivaldi/1.5.658.42
Comment 1 Aron Budea 2016-11-24 03:47:07 UTC
Confirmed with 5.2.3.3 / Windows 7.
If a document was open, the password prompt didn't come to foreground.
However, if I was in the Start Center, the prompt did come to foreground as expected.

Seems to work as expected in 5.1.4.2 / Ubuntu 16.04.
Comment 2 QA Administrators 2017-11-25 09:42:51 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 13:54:49 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-12-03 04:21:49 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2025-10-05 03:12:06 UTC Comment hidden (obsolete)
Comment 6 Amos 2025-10-05 03:59:32 UTC
Confirming I can no longer reproduce this bug in version 25.2.5.2 (X86_64) (Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022).
Happy to close bug 104128 (reported 9 years ago 😂).