Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26162

Can not create any file named 'Con' regardless of case and extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.15.1, Qt Creator 5.0.0
    • All Other Issues
    • None
    • Linux/X11

    Description

      Steps to reproduce

      1. Add New… -> New file…
      2. Choose whatever template like QtQuick or Empty file
      3. When asked to name the file, start typing with "con".

      Expected result

      Nothing unusual, just accept the name as it is.

      Actual result

      Text in the text filed is highlighted in red, Next button is disabled, as if "con" is not a valid filename. If you add an extension manually, e.g. "con.js", "con.qml" or any other — it would still be considered an invalid filename.

      Additional information

      You can always rename files afterwards, which compiles and works fine.

      How do I even find it? I wanted to create a component named "Content.qml", but noticed a red text half way through the input.

      Attachments

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

        Activity

          People

            con Eike Ziller
            ratijas ivan tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes