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

Code model creates multiple file entries for differently cased files on case insensitive file system

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.4.0-beta1
    • Qt Creator 3.1.1
    • C/C++/Obj-C++ Support
    • None
    • Windows
      Also reproducible on Mac, but there we claim to have a case-sensitive file system anyhow (different issue)
    • 7d377850d0a61bc280d46a89360e9b3273b4629d

    Description

      Under some circumstances when using rename symbol under cursor then the symbol may end up being renamed incorrectly. With the attached example, if you go to rename the VectorNamesConfig_C symbol in the header file then the results show that the header file is referred to twice in the output. If both of these entries are checked then it will end up looking like:

      class SourceConfig_Cblic QList<TestData::VectorGroupConfigItem_TP>
      {
      public:
          SourceConfig_C   SourceConfig_Ct QString& path_to_xml_file);
          virtual ~SourceConfig_Cublic:
      

      If the second entry is unchecked then it works correctly.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-12390
        # Subject Branch Project Status CR V

        Activity

          People

            erikv Erik Verbruggen
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: