Collabora Office Desktop (COOLWSD version: 25.04.8.1(git hash: 57401feb64)
LOKit version: Collabora Office 25.04.9.0(git hash: a5f1e0aab3) running on Windows 10 Pro) crashes or locks when opening file from recent list. If listed document was deleted (e.g. temp file) COD will crash without warning. If the listed document was on a removed drive (e.g. USB flash drive), COD will open an empty window and error message on fail, but will not return to “Start Center” after OK is pressed.
Hi @Pedro,
First of all, welcome to the Collabora Online forum! ![]()
Thanks for bringing this to our attention this looks like a genuine bug (actually two related ones) in how the Start Center handles stale entries in the Recent Documents list.
Both issues point to missing validation of file accessibility before attempting to open from the Recent list, and incomplete error recovery paths.
Would you be able to file this as a bug report on our GitHub repository? You can create a new issue here: Sign in to GitHub · GitHub
Feel free to include the version details and reproduction steps from your original post — that information is really helpful for the developers.
Thanks again for the detailed report, and welcome!
Darshan
I think I know how to fix this; will do it today.
Thanks @tml1024 for the quick response to this issue
Suggested fix in Don't return files that aren't readable from RecentFiles::serialise() by tml1024 · Pull Request #15320 · CollaboraOnline/online · GitHub
There is still room for improvement, though. If you start Collabora Office, and see the list of recent documents, but don’t click on one of them right away, but instead remove or rename the file in question while the list is being displayed, and only then click that document, it will still behave as badly as before. The code needs to handle not being able to open a document gracefully.
Hi @darshan
Thank you for the warm welcome. Since the bug is (partially) fixed I think I will skip reporting again on github ![]()
Hi Tor (@tml1024 ) ! Thank you for the quick fix. If I understand correctly it will simply not show on the Recent list files that are not available, but they are not removed from the list? This also solves the problem of network files that are not available on one session but could be available on a later one. I think this fix would also be useful for the LibreOffice/Collabora Classic recent list in the Start Center? I do agree that “The code needs to handle not being able to open a document gracefully.” i.e. not crash or lock
Thanks!
Yes, you understand correctly. Working on fixing the other issue now.