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

MIME type: Calling QC with non-existent session / file displays different messagebox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 3.4.0-beta1
    • All Other Issues
    • 706d78b58d6744bcc59b577e92ab027479a83783

    Description

      Not sure if this is an issue at all, but...

      Steps to reproduce:

      • open QC from commandline by passing a name of a non-existent session or a non-existent file

      Current result:

      • QC states it cannot open empty files with Binary Editor

      Former versions of QC:

      • QC displayed messagebox of 'Cannot open xyz for reading: No such file or directory'

      Note: on cmdline there's additional output of

      static Core::IEditor* Core::EditorManager::createEditor(Core::Id, const QString&) unable to determine mime type of /qtrepo/qt-creator/blablabla/. Falling back to text/plain
      

      Attachments

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

        Activity

          People

            con Eike Ziller
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes