[Development] Compatability break in QUrl in Qt 4.8

Thiago Macieira thiago.macieira at intel.com
Tue Jan 31 12:14:19 CET 2012


On Tuesday, 31 de January de 2012 10.34.52, ext-aapo.haapanen at nokia.com wrote:
> On 30 January 2012 17:34 Thiago Macieira wrote:
> > There was no break of binary or source compatibility. It was a change of
> > behaviour because the previous behaviour was considered buggy (by me).
> > 
> > Every bug fix is a change in behaviour.
> 
> Your reasons why this change is neede make a lot of sense. Still I feel that
> this change is a bit more than just a bug fix. How toLocalFile() behaves
> for relative urls was not clearly specified in the documentation, and I
> feel that one could reasonably expect either result. Thus the the behaviour
> was implicitly defined by the implementation.
> 
> I still feel that for 4.8.1 it would be best to revert function to work like
> it did in 4.7, and perhaps add a note to documentation that it works like
> this in 4.x to maintain compatability, but the behaviour will change in
> 5.0. And with this note, toLocalFile() and isLocalFile() could use a
> different logic in 4.8.

Fair enough.

Other opinions around? Olivier has already said he's for reverting to the old 
4.7 behaviour.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120131/9f088bfc/attachment.sig>


More information about the Development mailing list