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

Downloading one file more than 100 times does not work properly on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 5.12.3, 5.13.0 Beta2
    • 5.12.2, 5.13.0 Beta 1
    • WebEngine
    • None
    • Windows
    • 1110b9b50e61bf2663e2037ce9e28e74a8943919

      For the first 100 times the files is supposed to be suffixed by an index. For example, test (1).txt

      For the 101 time (and after) it is supposed to be suffixed with a timestamp. For example, test - 2019-03-28T08:45:29.355Z.txt

      See, https://codereview.qt-project.org/#/c/247517/

      Using colons (:) in filenames on Windows is not valid thus this results the 101st file to be downloaded to weird folders depending on the position and the numbers of the colons in the filename.

      Chrome just omits the colons from the filenames on Windows: test - 2019-03-28T093845.393.txt WebEngine should adapt this behavior.

      NOTE: this makes tst_QWebEngineDownloadItem::downloadUniqueFileNameWithTimeStamp auto test fail on Windows.

       

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

            pvarga Peter Varga
            pvarga Peter Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes