Very slow document opening in LibreOffice 3.3.1

Hello,

recently I moved from OpenOffice to LibreOffice on my openSuSE 11.3 linux box.
Libreoffice itself starts fast on this system which has 8GB of memory and a
Core i5 processor .

What I noticed is that opening an existing document eg a spreadsheet (.ods)
takes a very long time. For a spreadsheet that has only 20 lines (filesize,
18.5 Kbyte), with LibreOffice already running, take about 6 seconds until the
document is visible. During the 6 seconds the new opened window is simply
grey.

If I close the docuement without leaving LibreOffice and the reopen it again
its loaded really fast and then also other docuemnts load fast (< 1sec). So it
seems that when the first docuement is loaded something else happens that take
quite a long time. When I reastart Libreoffice and open the docuement once
again, it again takes 6 sec to open it .

This does not only happen with a single special document but with each and
every docment I try to open. In Openoffice the load time for such a small
spreadsheet was not even one second.

Any ideas what might be the cause for this delay?

Have a nice day
Rainer

Rainer Krienke wrote:

Hello,

recently I moved from OpenOffice to LibreOffice on my openSuSE 11.3 linux
box.
Libreoffice itself starts fast on this system which has 8GB of memory and a
Core i5 processor .

What I noticed is that opening an existing document eg a spreadsheet (.ods)
takes a very long time. For a spreadsheet that has only 20 lines (filesize,
18.5 Kbyte), with LibreOffice already running, take about 6 seconds until
the document is visible. During the 6 seconds the new opened window is
simply grey.

If I close the docuement without leaving LibreOffice and the reopen it again
its loaded really fast and then also other docuemnts load fast (< 1sec). So
it seems that when the first docuement is loaded something else happens that
take quite a long time. When I reastart Libreoffice and open the docuement
once again, it again takes 6 sec to open it .

This does not only happen with a single special document but with each and
every docment I try to open. In Openoffice the load time for such a small
spreadsheet was not even one second.

Any ideas what might be the cause for this delay?

Have a nice day
Rainer

Hi Rainer

I had a similar, if not the same issue, on my openSUSE 11.3 64Bit install. I
use KDE and had not installed the libreofice-gnome extensions for this reason.
Having been advised to remove my libreoffice profile, which did nothing, I
decided to install the gnome extension anyway and for me this resolved the
issue. Perhaps it will for you too. I install libreoffice from the stable
repository at:

http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.3/

HTH

Regards
Dave

I get a delay myself on Ubuntu 10.10 [GNOME desktop] for Writer as well. The delay is not as bad most times, but it can be a problem. I click on the file to open in LibreOffice. When it comes up and I see the courser marking, it still is "frozen" for a few seconds with the time depending on the size of the file. I usually keep LibreOffice's initial screen open and minimized to prevent more than 5 second delay.

I do wonder what is the cause/issue, but I hope it will be fixed or reduced in the 3.3.2 version.
So it is not just openSUSE that does it. Ubuntu does as well. I rarely use my Vista laptop so I will see if it does it there [later today since the boot time is long due to all the security packages I use to keep a Windows system safe online].

Hi Dave,

thank you for the hint. I realized that I still had libreoffice from 11.3
unstable repos installed. libreoffice-gnome was installed as well.

I first uninstalled this version and tried the orginal one from
libreoffice.org (rpm's packed in tgz archives). This one worked fine so next I
tried the stable opensuse repos, the URL you gave above. And this one works
fine as well. So probably my use of the unstable repos was to blame for my
problems.

Thanks
Rainer

I had the same issue, and found a fix on the Internet. I'm running Ubuntu 10.10. Apparently this affected some OpenOffice installs. It didn't affect me until I moved to LibreOffice. You need to modify your hosts file as per the instructions here:
http://www.linuxquestions.org/questions/linux-software-2/double-clicking-on-open-office-files-leads-to-very-slow-opening-808048/
It worked perfectly for me.

Rainer Krienke wrote:

Rainer Krienke wrote:
> Hello,
>
> recently I moved from OpenOffice to LibreOffice on my openSuSE 11.3 linux
> box.
> Libreoffice itself starts fast on this system which has 8GB of memory
> and a Core i5 processor .
>
> What I noticed is that opening an existing document eg a spreadsheet
> (.ods) takes a very long time. For a spreadsheet that has only 20 lines
> (filesize, 18.5 Kbyte), with LibreOffice already running, take about 6
> seconds until the document is visible. During the 6 seconds the new
> opened window is simply grey.
>
> If I close the docuement without leaving LibreOffice and the reopen it
> again its loaded really fast and then also other docuemnts load fast (<
> 1sec). So it seems that when the first docuement is loaded something
> else happens that take quite a long time. When I reastart Libreoffice
> and open the docuement once again, it again takes 6 sec to open it .
>
> This does not only happen with a single special document but with each
> and every docment I try to open. In Openoffice the load time for such a
> small spreadsheet was not even one second.
>
> Any ideas what might be the cause for this delay?
>
> Have a nice day
> Rainer

Hi Rainer

I had a similar, if not the same issue, on my openSUSE 11.3 64Bit install.
I use KDE and had not installed the libreofice-gnome extensions for this
reason. Having been advised to remove my libreoffice profile, which did
nothing, I decided to install the gnome extension anyway and for me this
resolved the issue. Perhaps it will for you too. I install libreoffice
from the stable repository at:

http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.
3/

HTH

Regards
Dave

Hi Dave,

thank you for the hint. I realized that I still had libreoffice from 11.3
unstable repos installed. libreoffice-gnome was installed as well.

I first uninstalled this version and tried the orginal one from
libreoffice.org (rpm's packed in tgz archives). This one worked fine so next
I tried the stable opensuse repos, the URL you gave above. And this one
works
fine as well. So probably my use of the unstable repos was to blame for my
problems.

Thanks
Rainer

Hi Rainer,

I'm glad you got it resolved. LibreOffice is shaping up very well in my
opinion, the devs are doing an excellent job.

Best regards
Dave

I had the same issue, and found a fix on the Internet. I'm running
Ubuntu 10.10. Apparently this affected some OpenOffice installs. It
didn't affect me until I moved to LibreOffice. You need to modify your
hosts file as per the instructions here:
http://www.linuxquestions.org/questions/linux-software-2/double-clicking-on-open-office-files-leads-to-very-slow-opening-808048/
It worked perfectly for me.

...

Interesting! Thanks for that. Both OOo (standard) and LO show an intial
attempt on startup:

$ sudo tcpdump -nnl -i eth0 -s 1536 dst port 53
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 1536 bytes
08:55:19.185426 IP 192.168.1.100.60726 > <snipped>.53: 25658+ A? gl.(none). (27)
08:55:19.198881 IP 192.168.1.100.50501 > <snipped>.53: 8984+ A? gl.(none). (27)

If you leave the dump on and check extensions updates it, of course,
shows the connections.

I suspect the initial startup attempt is code that is supposed to check
for updates (even though I have it turned off in (S)OOo (OOo standard),
and it is not available in LO). (U)OOo - Ubuntu distro version doesn't
do this, as it doesn't check for updates on startups because it's
updates are from the repository/update manager.

So let's see what happens when I turn on the 'Check for updates
automatically' in (S)OOo:

$ sudo tcpdump -nnl -i eth0 -s 1536 dst port 53
[sudo] password for gg:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 1536 bytes
09:13:58.989149 IP 192.168.1.100.44719 > <snipped>.53: 35400+ A? gl.(none). (27)
09:13:59.004241 IP 192.168.1.100.60531 > <snipped>.53: 39633+ A? gl.(none). (27)
09:14:36.374815 IP 192.168.1.100.34566 > <snipped>.53: 43543+ AAAA? update36.services.openoffice.org. (50)
09:14:36.386675 IP 192.168.1.100.52925 > <snipped>.53: 36068+ A? update36.services.openoffice.org. (50)

etc.

Now modify the hosts file:

Seems like a bug that either should be querying $HOSTNAME.(none) - how
standard is that?

Now if there was just a simple fix like that for LibreOffice base working so sluggishly with Java 1.6.0_24!!!!!!!!

Now if there was just a simple fix like that for LibreOffice base
working so sluggishly with Java 1.6.0_24!!!!!!!!

There is thread over on the OOo user list that mentions this.
Unfortunately the author doesn't provide any details or test scenario
(possibly due to the change of OOo website & lists):

<http://comments.gmane.org/gmane.comp.openoffice.questions/212275>

Perhaps if you can test with older versions of Java and create a valid
test scenario you can file a bug?