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: NEW
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: 2023-10-05 05:03 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
Dear Amos,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug