-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 17.0.2
-
None
-
Linux
- Go to "Edit" -> "Preferences..." -> "Build & Run" -> "General"
- Set the "Projects Directory" to an existing directory and click "OK".
- 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. - Close Creator.
- Remove the projects directory from the file system.
- Start Creator.
- 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.