LibreOffice "Start Center" Hangs when trying to open a deleted document from recent items without closing LibreOffice "Start Center"
Steps to reproduce:
0. Close all LibreOffice "Apps" & "Start Center"
1. Open Writer
2. Create Doc1
3. Save Doc1
4a. Close Doc1
4b. Note: LibreOffice "Start Center" should "open" when you close the Doc1
5. SwitchTo/Open Windows Explorer
6. Delete Doc1
7. SwitchTo LibreOffice "Start Center"
8. Click on "Recent Item" Doc1
9. LibreOffice "Start Center" Hangs after "LibreOffice 220.127.116.11 | %Path%\Doc1.odt does not exist. <Click>[OK]" notification
LibreOffice "Start Center" Hangs after "LibreOffice 18.104.22.168 | %Path%\Doc1.odt does not exist. <Click>[OK]" notification
Similar to how a Windows "Recent Items" list works, LibreOffice should prompt the user "Document not found. Do you wish to remove this Document from the Recent Items list in the LibreOffice Suite. [Yes][No]"
>>> This appears to be a different behavior, no "circus", just a hang (and it is reproducible on two different machines w same version) compared to Bug 57443 - Recent documents circus when the file is missing (edit); it also appears to be a different behavior from Bug 76510 && Bug 70225
>>> If you close/reopen the LibreOffice "Start Center" the deleted Doc1 disappears from the Recent Items list preventing this error. I think this is also a bad behavior (though not sure it deserves it's own bug?.?...) for whether it exists or not, I want to know my recently used items.
Operating System: Windows 7
Version: 22.214.171.124 release
On OSX 10.9.4 LO complains about a missing doc and shows the hourglass as mousepointer. While the latter is wrong and confusing, it does not hang LO. So maybe win only?
Same on Win 8.1 LO 126.96.36.199.
Error message and then LO simply shows the wrong mouse pointer but is still functional.
This is not a hang but bad UX and design. So what Tredekka suggest is perfectly legit. If LO cannot find a document, ask the user
"Do you wish to remove this Document from the Recent Items list in the LibreOffice Suite. [Yes][No]"
*** Bug 93254 has been marked as a duplicate of this bug. ***
affects Linux as well as reported in duplicate Bug 93254
so every O/S is affected
hardware -> ALL
*** Bug 97903 has been marked as a duplicate of this bug. ***
Maxim Monastirsky committed a patch related to this issue.
It has been pushed to "master":
tdf#82160 Reset mouse pointer if doc loading failed
It will be available in 5.2.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.
you are doing a great job fixing many old annoting bugs like this one
Backport to libreoffice-5-1: https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-5-1&id=2a814ff97361a0f907fde2677e92401eb6881234