[Development] Should the system proxies default setting be switched to true?

2016-05-11 Thread Andy Shaw
For some time now we have had the means to configure Qt to use system proxies 
so that they are on by default or to turn it on via QNetworkProxyFactory. 
However, this is off by default so it is becoming a reoccurrence that people 
don't realise that it is not using the system proxies until later on. 
Potentially not until after a product has been released.


The reasoning that this was not done before was due to the fact that there was 
a problem on Windows with it taking too long in some cases to get the 
information. However this seems to be solved for the most part and expected in 
some cases due to the fact that it is down to the system, but it is just an 
initial start up check in this case.


That said, does anyone see any problems with switching it so that we can now 
have it turned on by default from Qt 5.8? Naturally the configure option would 
stay so people can still turn it off if they wish.


For reference the original thread about this can be found:


  http://lists.qt-project.org/pipermail/development/2012-October/007037.html


Andy
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Should the system proxies default setting be switched to true?

2016-05-11 Thread Lisandro Damián Nicanor Pérez Meyer
On Wednesday 11 May 2016 13:50:50 Andy Shaw wrote:
> For some time now we have had the means to configure Qt to use system
> proxies so that they are on by default or to turn it on via
> QNetworkProxyFactory. However, this is off by default so it is becoming a
> reoccurrence that people don't realise that it is not using the system
> proxies until later on. Potentially not until after a product has been
> released.
> 
> 
> The reasoning that this was not done before was due to the fact that there
> was a problem on Windows with it taking too long in some cases to get the
> information. However this seems to be solved for the most part and expected
> in some cases due to the fact that it is down to the system, but it is just
> an initial start up check in this case.
> 
> 
> That said, does anyone see any problems with switching it so that we can now
> have it turned on by default from Qt 5.8? Naturally the configure option
> would stay so people can still turn it off if they wish.
> 
> 
> For reference the original thread about this can be found:
> 
> 
>   http://lists.qt-project.org/pipermail/development/2012-October/007037.html

Last time I tried that switch on Debian (last year?) the proxy was applied to 
all the protocols and not just http. I think Thiago or I submitted a patch to 
gerrit and I think it was merged.

I'll try to get qtbase rebuilt with that option on and see what happens.

-- 
Lo que me sorprende de las mujeres es que se arrancan los pelos desde
la raíz con cera caliente y aún así le temen a las arañas.
  Jerry Seinfeld

lis: comentario sobre tu frase
yo soy mujer, yo me arranco los pelos y VOS le tenes miedo a las arañas
  María Luján Pérez Meyer (mi hermana)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Should the system proxies default setting be switched to true?

2016-05-11 Thread Kai Koehne
+1 for switching to using the system proxy settings by default.

I'm still a bit wary about the 'Windows issue' though. To cite our 
documentation [1]:

  "On Windows platforms, this function may take several seconds to execute 
depending on the configuration of the user's system."

Was that the problem with Windows versions configured for automatically 
querying for PAC files, but never getting any response?

Regards

Kai

[1]: http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery

> -Original Message-
> From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> project.org] On Behalf Of Andy Shaw
> Sent: Wednesday, May 11, 2016 3:51 PM
> To: development@qt-project.org
> Subject: [Development] Should the system proxies default setting be
> switched to true?
> 
> For some time now we have had the means to configure Qt to use system
> proxies so that they are on by default or to turn it on via
> QNetworkProxyFactory. However, this is off by default so it is becoming a
> reoccurrence that people don't realise that it is not using the system proxies
> until later on. Potentially not until after a product has been released.
> 
> 
> The reasoning that this was not done before was due to the fact that there
> was a problem on Windows with it taking too long in some cases to get the
> information. However this seems to be solved for the most part and
> expected in some cases due to the fact that it is down to the system, but it 
> is
> just an initial start up check in this case.
> 
> 
> That said, does anyone see any problems with switching it so that we can
> now have it turned on by default from Qt 5.8? Naturally the configure option
> would stay so people can still turn it off if they wish.
> 
> 
> For reference the original thread about this can be found:
> 
> 
>   http://lists.qt-project.org/pipermail/development/2012-
> October/007037.html
> 
> 
> Andy
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Should the system proxies default setting be switched to true?

2016-05-12 Thread Andy Shaw

There is an issue but this comes from the Windows side and is also documented 
by Microsoft as being a problem I believe on their side. But this should only 
be experienced the first time it needs to do this though, whereas before it 
would do this all the time. However, I would personally expect that if this is 
happening for a user, it will not be happening for just Qt either.

Andy

Fra: Kai Koehne
Sendt: 12. mai 2016 08:41:21
Til: Andy Shaw; development@qt-project.org
Emne: RE: [Development] Should the system proxies default setting be switched   
to true?

+1 for switching to using the system proxy settings by default.

I'm still a bit wary about the 'Windows issue' though. To cite our 
documentation [1]:

  "On Windows platforms, this function may take several seconds to execute 
depending on the configuration of the user's system."

Was that the problem with Windows versions configured for automatically 
querying for PAC files, but never getting any response?

Regards

Kai

[1]: http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery

> -Original Message-
> From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> project.org] On Behalf Of Andy Shaw
> Sent: Wednesday, May 11, 2016 3:51 PM
> To: development@qt-project.org
> Subject: [Development] Should the system proxies default setting be
> switched to true?
>
> For some time now we have had the means to configure Qt to use system
> proxies so that they are on by default or to turn it on via
> QNetworkProxyFactory. However, this is off by default so it is becoming a
> reoccurrence that people don't realise that it is not using the system proxies
> until later on. Potentially not until after a product has been released.
>
>
> The reasoning that this was not done before was due to the fact that there
> was a problem on Windows with it taking too long in some cases to get the
> information. However this seems to be solved for the most part and
> expected in some cases due to the fact that it is down to the system, but it 
> is
> just an initial start up check in this case.
>
>
> That said, does anyone see any problems with switching it so that we can
> now have it turned on by default from Qt 5.8? Naturally the configure option
> would stay so people can still turn it off if they wish.
>
>
> For reference the original thread about this can be found:
>
>
>   http://lists.qt-project.org/pipermail/development/2012-
> October/007037.html
>
>
> Andy
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Should the system proxies default setting be switched to true?

2016-05-12 Thread Simon Hausmann

Right, it begs the question: If a third-party application like Chrome can use 
system proxy settings by default, why can't or don't we? :)


Simon

From: Development  on 
behalf of Andy Shaw 
Sent: Thursday, May 12, 2016 9:54:41 AM
To: Kai Koehne; development@qt-project.org
Subject: Re: [Development] Should the system proxies default setting be 
switched    to true?

There is an issue but this comes from the Windows side and is also documented 
by Microsoft as being a problem I believe on their side. But this should only 
be experienced the first time it needs to do this though, whereas before it 
would do this all the time. However, I would personally expect that if this is 
happening for a user, it will not be happening for just Qt either.

Andy

Fra: Kai Koehne
Sendt: 12. mai 2016 08:41:21
Til: Andy Shaw; development@qt-project.org
Emne: RE: [Development] Should the system proxies default setting be switched   
to true?

+1 for switching to using the system proxy settings by default.

I'm still a bit wary about the 'Windows issue' though. To cite our 
documentation [1]:

  "On Windows platforms, this function may take several seconds to execute 
depending on the configuration of the user's system."

Was that the problem with Windows versions configured for automatically 
querying for PAC files, but never getting any response?

Regards

Kai

[1]: http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery

> -Original Message-
> From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> project.org] On Behalf Of Andy Shaw
> Sent: Wednesday, May 11, 2016 3:51 PM
> To: development@qt-project.org
> Subject: [Development] Should the system proxies default setting be
> switched to true?
>
> For some time now we have had the means to configure Qt to use system
> proxies so that they are on by default or to turn it on via
> QNetworkProxyFactory. However, this is off by default so it is becoming a
> reoccurrence that people don't realise that it is not using the system proxies
> until later on. Potentially not until after a product has been released.
>
>
> The reasoning that this was not done before was due to the fact that there
> was a problem on Windows with it taking too long in some cases to get the
> information. However this seems to be solved for the most part and
> expected in some cases due to the fact that it is down to the system, but it 
> is
> just an initial start up check in this case.
>
>
> That said, does anyone see any problems with switching it so that we can
> now have it turned on by default from Qt 5.8? Naturally the configure option
> would stay so people can still turn it off if they wish.
>
>
> For reference the original thread about this can be found:
>
>
>   http://lists.qt-project.org/pipermail/development/2012-
> October/007037.html
>
>
> Andy
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Should the system proxies default setting be switched to true?

2016-05-13 Thread Andy Shaw

Since there does not seem to be any general objections, I have submitted a 
patch for this - https://codereview.qt-project.org/159120 - this is for 5.8. If 
anyone does see an issue then please say so in the comments, I will give it a 
bit of time before merging once it gets its +2 in order to give it a chance to 
be tried out in case someone hits a problem.

Andy

Fra: Simon Hausmann
Sendt: 12. mai 2016 10:01:35
Til: Andy Shaw; Kai Koehne; development@qt-project.org
Emne: Re: [Development] Should the system proxies default setting be switched   
to true?

Right, it begs the question: If a third-party application like Chrome can use 
system proxy settings by default, why can't or don't we? :)


Simon

From: Development  on 
behalf of Andy Shaw 
Sent: Thursday, May 12, 2016 9:54:41 AM
To: Kai Koehne; development@qt-project.org
Subject: Re: [Development] Should the system proxies default setting be 
switched    to true?

There is an issue but this comes from the Windows side and is also documented 
by Microsoft as being a problem I believe on their side. But this should only 
be experienced the first time it needs to do this though, whereas before it 
would do this all the time. However, I would personally expect that if this is 
happening for a user, it will not be happening for just Qt either.

Andy

Fra: Kai Koehne
Sendt: 12. mai 2016 08:41:21
Til: Andy Shaw; development@qt-project.org
Emne: RE: [Development] Should the system proxies default setting be switched   
to true?

+1 for switching to using the system proxy settings by default.

I'm still a bit wary about the 'Windows issue' though. To cite our 
documentation [1]:

  "On Windows platforms, this function may take several seconds to execute 
depending on the configuration of the user's system."

Was that the problem with Windows versions configured for automatically 
querying for PAC files, but never getting any response?

Regards

Kai

[1]: http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery

> -Original Message-
> From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> project.org] On Behalf Of Andy Shaw
> Sent: Wednesday, May 11, 2016 3:51 PM
> To: development@qt-project.org
> Subject: [Development] Should the system proxies default setting be
> switched to true?
>
> For some time now we have had the means to configure Qt to use system
> proxies so that they are on by default or to turn it on via
> QNetworkProxyFactory. However, this is off by default so it is becoming a
> reoccurrence that people don't realise that it is not using the system proxies
> until later on. Potentially not until after a product has been released.
>
>
> The reasoning that this was not done before was due to the fact that there
> was a problem on Windows with it taking too long in some cases to get the
> information. However this seems to be solved for the most part and
> expected in some cases due to the fact that it is down to the system, but it 
> is
> just an initial start up check in this case.
>
>
> That said, does anyone see any problems with switching it so that we can
> now have it turned on by default from Qt 5.8? Naturally the configure option
> would stay so people can still turn it off if they wish.
>
>
> For reference the original thread about this can be found:
>
>
>   http://lists.qt-project.org/pipermail/development/2012-
> October/007037.html
>
>
> Andy
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Should the system proxies default setting be switched to true?

2016-05-26 Thread Thiago Macieira
See https://bugreports.qt.io/browse/QTBUG-53649

Em sexta-feira, 13 de maio de 2016, às 09:11:35 PDT, Andy Shaw escreveu:
> Since there does not seem to be any general objections, I have submitted a
> patch for this - https://codereview.qt-project.org/159120 - this is for
> 5.8. If anyone does see an issue then please say so in the comments, I will
> give it a bit of time before merging once it gets its +2 in order to give
> it a chance to be tried out in case someone hits a problem.
> 
> Andy
> 
> Fra: Simon Hausmann
> Sendt: 12. mai 2016 10:01:35
> Til: Andy Shaw; Kai Koehne; development@qt-project.org
> Emne: Re: [Development] Should the system proxies default setting be
> switched   to true?
> 
> Right, it begs the question: If a third-party application like Chrome can
> use system proxy settings by default, why can't or don't we? :)
> 
> 
> Simon
> 
> From: Development 
> on behalf of Andy Shaw  Sent: Thursday, May 12, 2016
> 9:54:41 AM
> To: Kai Koehne; development@qt-project.org
> Subject: Re: [Development] Should the system proxies default setting be
> switchedto true?
> 
> There is an issue but this comes from the Windows side and is also
> documented by Microsoft as being a problem I believe on their side. But
> this should only be experienced the first time it needs to do this though,
> whereas before it would do this all the time. However, I would personally
> expect that if this is happening for a user, it will not be happening for
> just Qt either.
> 
> Andy
> ____
> Fra: Kai Koehne
> Sendt: 12. mai 2016 08:41:21
> Til: Andy Shaw; development@qt-project.org
> Emne: RE: [Development] Should the system proxies default setting be
> switched   to true?
> 
> +1 for switching to using the system proxy settings by default.
> 
> I'm still a bit wary about the 'Windows issue' though. To cite our
> documentation [1]:
> 
>   "On Windows platforms, this function may take several seconds to execute
> depending on the configuration of the user's system."
> 
> Was that the problem with Windows versions configured for automatically
> querying for PAC files, but never getting any response?
> 
> Regards
> 
> Kai
> 
> [1]: http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery
> 
> > -Original Message-
> > From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> > project.org] On Behalf Of Andy Shaw
> > Sent: Wednesday, May 11, 2016 3:51 PM
> > To: development@qt-project.org
> > Subject: [Development] Should the system proxies default setting be
> > switched to true?
> > 
> > For some time now we have had the means to configure Qt to use system
> > proxies so that they are on by default or to turn it on via
> > QNetworkProxyFactory. However, this is off by default so it is becoming a
> > reoccurrence that people don't realise that it is not using the system
> > proxies until later on. Potentially not until after a product has been
> > released.
> > 
> > 
> > The reasoning that this was not done before was due to the fact that there
> > was a problem on Windows with it taking too long in some cases to get the
> > information. However this seems to be solved for the most part and
> > expected in some cases due to the fact that it is down to the system, but
> > it is just an initial start up check in this case.
> > 
> > 
> > That said, does anyone see any problems with switching it so that we can
> > now have it turned on by default from Qt 5.8? Naturally the configure
> > option would stay so people can still turn it off if they wish.
> > 
> > For reference the original thread about this can be found:
> >   http://lists.qt-project.org/pipermail/development/2012-> > 
> > October/007037.html
> > 
> > 
> > Andy
> > ___
> > Development mailing list
> > Development@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development
> 
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development