[Gambas-user] loading PDF widget very slow

Ian Haywood ihaywood3 at ...626...
Fri Jun 13 01:47:38 CEST 2014


I've noticed that suddenyl loading any PDF became very slow (1-15
seconds to load)
the PDFs are small and no my local drive, so should load almost immediately.

then I discovered chanigng my default printer fixed it

using strace, this is what's happening while I wait for the PDF to load

connect(34, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("192.168.1.8")}, 16) = -1 EINPROGRESS (Operation
now in progress)
fcntl64(34, F_SETFL, O_RDWR)            = 0
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)
poll([{fd=34, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout)

my interpretation is that it's trying to talk to the printer on
192.168.1.8: that's my printer at home, not available when I'm at work

but the real question is: why does the PDF widget even care? I don't
want to print, just look at the PDF




More information about the User mailing list