Bug 93964 - Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu
Summary: Opening a file protected by password will result in multiple "Enter password ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-06 08:09 UTC by lore
Modified: 2017-11-05 15:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing this (311.13 KB, image/png)
2015-09-06 08:09 UTC, lore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lore 2015-09-06 08:09:02 UTC
Created attachment 118457 [details]
Screenshot showing this

Every time you open a Calc file protected with password a new "Enter password" entry is added to the Dock contextual menu. These go away if you close LO completely (cmd+q).

Also, clicking on one of those entries will pop up the password request window. This has the password field filled with asterisks which is kind a liability since it shows the password length. Besides LO freezes this way.

Please have a look at the screenshot attached.

Thanks

Lorenzo
Comment 1 Alex Thurgood 2015-09-10 09:12:36 UTC
Confirming also on

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale : fr-FR (fr.UTF-8)
Comment 2 Alex Thurgood 2015-09-10 09:14:57 UTC
In

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale : fr-FR (fr.UTF-8)

there is no freeze, LO remains responsive, only the password window can not be closed - it appears to be detached from the thread controlling the Calc document when it is re-opened via the Dock.
Comment 3 Alex Thurgood 2015-09-10 09:22:18 UTC
How to reproduce :

1) Open a new Calc file.

2) Enter some random strings into any cells

3) Save the Calc file, and tick the option box "with password"

4) Enter password to encrypt the file.

5) Close file and close LO

6) Now re-open file, the password is requested before the file will load

7) Enter correct password, file opens

8) Note how a new entry appears in the Dock menu list of opened files, with the name of the Calc file without an icon - clicking on this displays the password entry dialog, which is then frozen.
Comment 4 Alex Thurgood 2015-09-10 09:24:58 UTC
Does not occur in 

Version: 4.1.4.2
Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72

==>> regression
Comment 5 Alex Thurgood 2015-09-10 09:36:12 UTC
Hmm, something weird happens here, so removing bibisectrequest and regression tag until I can test further.

After failing to reproduce the buggy behaviour with 4142, I tried narrowing the range down, but was unable to reproduce the same problem with any further more recent version, including 5.0.0.5, and even Dev master 5.1 build. It could be a user profile problem that only appears on first time opening with any version, but that requires further testing.
Comment 6 QA Administrators 2016-09-20 10:29:27 UTC Comment hidden (obsolete)
Comment 7 eisa01 2017-11-05 15:53:15 UTC
Step 8 in comment 3 no longer brings up the password dialog, so this works for me

Version: 6.0.0.0.alpha1+
Build ID: 15dce20e8b97dbd0179f01910ca4d0027e80ff4e
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2017-10-20_06:46:46
Locale: en-US (en_US.UTF-8); Calc: group