Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22382

QUrl.toLocalFile returns nothing if given non-canonical path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 4.8.1
    • 4.8.0
    • Core: I/O
    • None
    • Linux, Fedora 16
    • 182acb541a7b8ac0edca842fdc867751df723f50

      Using some PyQt4 code to demonstrate:

      python -c "from PyQt4 import QtCore; print 'File: %s' % QtCore.QUrl('foo.txt').toLocalFile()"

      Against Qt 4.7.x, this function returns:

      File: foo.txt

      Using Qt 4.8.0-rc1, this function outputs:

      File:

      We noticed the impact affecting KDE's KUrl class, and that all audio system notifications configured that reference media files like "KDE-K3B-Finish-Success.ogg" now fail (whereas "/usr/share/sounds/KDE-K3B-Finish-Success.ogg" works).

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            earthdomain Earth Domain (Inactive)
            rdieter Rex Dieter
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes