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

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to