Bug 139825

Summary: If avahi service is stopped, opening some documents can take very long to open
Product: LibreOffice Reporter: Marco Ciampa <ciampix>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: minor CC: grahamperrin
Priority: medium    
Version: 7.0.4.2 release   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=89394
Whiteboard:
Crash report or crash signature: Regression By:

Description Marco Ciampa 2021-01-22 08:29:04 UTC
Description:
If the service Avahi is absent or disabled, LibreOffice can take up 30 seconds or more to open a document, independently on its size/complexity.

Steps to Reproduce:
1.stop the avahi service
2.open an already saved document
3.wait...

Actual Results:
It takes a lot to open a document...

Expected Results:
It should see that there is no avahi service running and do not timeout for it!


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I remember that this problem was present also with previously versions of LibreOffice (6.* and 5.*) but I do not remember exactly the version number.
I imagine that this problem starts very earlier since the avahi adoption.

Easy workaround: if you have to disable avahi and do not want this behaviour, just disable ipv4 and ipv6 support on the avahi config and restart avahi.
Avahi will be disabled but LibreOffice will see it as working, and everybody is happy!
Comment 1 Graham Perrin 2022-09-07 06:25:19 UTC
See also: bug 119408 comment 0