Description of problem:
OOCalc takes too long to open a file because it is waiting for an IPP answer.
Use a laptop or at least a computer that will not be able to access server given
in client.conf for CUPS.
Then when OOCalc will open a file it will try to send a SYN_SENT packet to the
previous given server and wait... It can wait 2 or 3 minutes (I did not mesure
it exactly) before continue to try to open given file.
Steps to Reproduce:
1. Use a computer that can not access server given in client.conf for CUPS.
2. Run OOCalc with a file to open as parameter, or run OOCalc and then try to
open a file.
3. Now OCCalc seems to hang...
4. Run lsof and see something like:
"scalc.bin 13966 my_login 35u IPv4 181430 TCP
I am waiting too long when I want to open a file in OOCalc.
File should be opened immediatly.
I do not understand why OOcalc sends a packet when it starts... Why not only
when user needs to print something?
Timeout for SYN_SENT packet should be smaller.
No problem found with OOWriter.
to get the printer metrics for best fit WYSIWYG layout.
what we need is to add an option to calc like writer which is "use printer
metrics" (there is such an option in calc, but it is not the same as the writer
one, http://qa.openoffice.org/issues/show_bug.cgi?id=65739) and then default
that option to off which would then mean that we don't have to query the printer
for it's metrics in calc when starting up, avoiding this problem