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

Regression: Python files cannot be opened

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.8.0-beta1
    • Fix Version/s: Qt Creator 4.7.1
    • Component/s: All Other Issues
    • Labels:
      None

      Description

      Something is wrong with MIME handling. Opening a py file tries to use the ImageViewer for some reason, and it fails. I have the PythonEditor enabled, but it just doesn't work. Even if I disable ImageViewer, Qt Creator just fails to open any py file.

      Noticed the same behavior with other file types.

      This worked fine with 4.7.

      Generally speaking, I think the text editor and binary editor should be optional for all mime types - if you can't find a match, fall-back to text editor if the file looks like a text file, or to binary editor otherwise. And with right-click both should be available for all types of files.

        Attachments

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

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes