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

[REG 3.3 -> 3.4] MimeDatabase: QML files being opened in CPP editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • Qt Creator 3.4.0-beta1
    • Qt Creator 3.4.0-beta1
    • Editors
    • Ubuntu 14.04 LTS 64 bit
      Qt 5.3.2, 5.4.0
    • 4e53c23b4b445af0ce01511305e7991a3c6990a2

      1. Create a new Qt Quick Application project.
      2. Open the QML file from the project.
        It's being opened in a QmlJSEditor::Internal::QmlJSEditorWidget. Highlighting works correctly.
      3. Open tests/manual/qml/testfiles_quick2/helloworld.qml from Creator's repository.
        It's being opened in a CppEditor::Internal::CppEditorWidget. Highlighting does not work.

      QML files should always be opened in a QML editor.

      Found and tested by Squish test tst_delete_externally and others.

      Introduced by self-reviewed commit:

      5a3a940ad3b3984b308b539e7f0456ce11d4d90e is the first bad commit
      commit 5a3a940ad3b3984b308b539e7f0456ce11d4d90e
      Author: Eike Ziller <eike.ziller@theqtcompany.com>
      Date:   Wed Feb 4 09:32:46 2015 +0100
      
          Use new mime database
          
          Change-Id: I4305872b6b11ef3e8a364280ffa5209a5a793600
          Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
      

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

            con Eike Ziller
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes