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

qmlformat creates temp file with trailing "~" which is not removed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.2.9, 6.2
    • 6.4.3
    • QML: Tooling
    • None
    • macOS Ventura 13.3.1(a) on a Apple M1 Max
      using the iTerm terminal with zsh shell
      Qt installed via [homebrew](https://brew.sh) with `homebrew install qt`

      qmlformat --version
      qmlformat 6.4.3
    • macOS
    • 1655c53d4 (tqtc/lts-6.2)

    Description

      This is a reopening of QTBUG-107685 - qmlformat creates temp file with trailing "~" which is not removed.

      The same error can be recreated with the command line command `qmlformat -i main.qml`, which leaves a `main.qml~` file behind, after formatting the original base file.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            dirkolbrich Dirk O
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes