[Gambas-user] loading PDF widget very slow

Fabien Bodard gambas.fr at ...626...
Fri Jun 13 08:04:06 CEST 2014


Le 13 juin 2014 02:11, "Benoît Minisini" <gambas at ...1...> a
écrit :
>
> Le 13/06/2014 01:47, Ian Haywood a écrit :
> > 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
> >
>
> What do you call "PDF widget"???
... A good idea ?
> --
> Benoît Minisini
>
>
------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



More information about the User mailing list