Created attachment 126216 [details]
Testing DOCX document
After File > Properties for particular file, program is no longer responsive.
Testing file originally created with LibreOffice, then edited in MS Office, then again in LibreOffice. It contains some bookmarks of Zotero plugin (see https://www.zotero.org/download/ and https://www.zotero.org/support/word_processor_plugin_installation).
I can reproduce with LibreOffice 220.127.116.11 in Linux
I can reproduce in LibreOffice 18.104.22.168.beta2 in Linux
I can reproduce in 22.214.171.124 (9bb7eadab57b6755b1265afa86e04bf45fbfc644)
In LibreOffice 3.4.2, after opening testing file and going File > Properties, do not freeze LibreOffice immediately, but LibreOffice becomes no longer responsive after clicking at "Custom Properties" tab.
In LibreOffice 3.3.0, after opening testing file and going File > Properties, do not freeze LibreOffice immediately, but LibreOffice becomes no longer responsive after clicking at "Custom Properties" tab.
Thanks for the bug report, and the detailed triaging. Confirmed in 5.3 master build.
Quick debugging shows it seems to be stuck in an endless loop of VCL resize calls, so changing component to graphics stack.
Adjusting severity to critical, since Writer hangs indefinitely.
Can't tell if it's related to Writer/Word interoperability/docx filter, the person who analyzes what happens in VCL should be able to set the keywords accordingly.
This is not an endless loop, but extremely slow response of LibreOffice. For me it took ~ 10 minutes for dialog to appear.
Document contains not just couple bookmarks, but also almost 1300 custom properties. For each property there is at least 4 window elements are created on "Custom Properties" tab. Due to huge amount of windows they are created very slowly and it is also slow during processing events (show/hide, resize, focus, etc).
Szymon Kłos committed a patch related to this issue.
It has been pushed to "master":
tdf#100922 Refactor Custom Properties page
It will be available in 6.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.