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

Wrong directory in File System view when Projects directory is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 17.0.2
    • All Other Issues
    • None
    • Linux

      1. Go to "Edit" -> "Preferences..." -> "Build & Run" -> "General"
      2. Set the "Projects Directory" to an existing directory and click "OK".
      3. In the Edit mode's sidebar, show a File System view and select "Projects" from its combo box.
        It now shows the contents of the projects directory.
      4. Close Creator.
      5. Remove the projects directory from the file system.
      6. Start Creator.
      7. Go to Edit mode and see the File System view.
        Expected: It either indicates that the projects directory is missing or properly displays another option from its combo box: "Computer" or "Home".
        Actual: The combo box still reads "Projects" but the view shows the contents of the user's $HOME directory. This is misleading. At least, the combo box should show "Home" instead.

      Why would users remove their projects directory? I use a projects directory in /tmp which gets deleted on each reboot. The projects I build are small and the resulting binaries are disposable because usually those are just tests for the code I'm working on. It's confusing when Creator covertly shows me a different directory under a wrong title.

        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:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes