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

QUrl.toLocalFile returns nothing if given non-canonical path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.0
    • Core: I/O
    • None
    • Linux, Fedora 16

    Description

      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).

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes