Bug 119206 - Freeze if Option “Edit document properties before saving” is Enabled
Summary: Freeze if Option “Edit document properties before saving” is Enabled
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Save File-Properties
  Show dependency treegraph
 
Reported: 2018-08-10 19:40 UTC by Harald Koester
Modified: 2020-01-26 12:28 UTC (History)
5 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 Harald Koester 2018-08-10 19:40:50 UTC
In order to reproduce:

[1] I used a new user profile. Therefor rename or delete existing user profile.
[2] Start LibreOffice and enable option “Edit document properties before saving”: Extras > Options... > Load/Save > General. Click option and then “OK”.
[3] Open new text document and insert a bit of text.
[4] Close and save document:
(a) Menu: File > Close. Dialogue “Save Document?” is displayed
(b) Click “Save” and insert file name. Then “Save”. The Document Properties dialogue is displayed for a moment. Then the Start Centre is displayed, but it is freezed. An operation is no longer possible. You have to cancel LibreOffice with the Task Manager. Expected: No freeze.
[5] Start LibreOffice again. A recovery process is not performed.

Works for me with version 6.0.6. Hence regression.
Comment 1 Xisco Faulí 2018-08-15 11:07:00 UTC
Reproduced in

Version: 6.2.0.0.alpha0+
Build ID: 18e20676024baecaf5719139f80f053f5f1e784a
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
Comment 2 Xisco Faulí 2018-08-15 11:46:21 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=0950917b9514069e8dbf92b9c0fbd44b492a7cd1

author	Henry Castro <hcastro@collabora.com>	2018-03-01 16:11:44 -0400
committer	Henry Castro <hcastro@collabora.com>	2018-03-02 19:55:01 +0100
commit	0950917b9514069e8dbf92b9c0fbd44b492a7cd1 (patch)
tree	fa450d498c714295791e2f0a29d1bce87a52dd4e
parent	e802e960f8f7343eec1a14eba70b7affc6298968 (diff)
lokdialog: convert the dialog File -> Properties... to async exec

Bisected with: bibisect-win32-6.1

Adding Cc: to Henry Castro
Comment 3 Harald Koester 2019-03-08 20:23:26 UTC
Bug still exists in version 6.2.1 (64 bit) with Win10.
Comment 4 Oliver Brinzing 2020-01-26 12:28:20 UTC
reproducible with:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: a6192281a04c20bc57b1ffa4f6645ca639d5b1a4
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

crashes with an unsatisfied query for interface of type
com.sun.star.document.XDocumentPropertiesSupplier

I guess, the root cause for this bug, is that the document is already closed.