In short: cannot open "/tmp/1.cpp" if it does not exist. Reproducible: Always Steps to Reproduce: 1. Make sure "/tmp/1.cpp" and "~/1.cpp" do not exist. 2. Press Ctrl+O to start the file open dialog in KDevelop. 3. Go into root directory. 4. Enter either "/tmp/1.cpp" or "~/1.cpp" into the filename text edit field. 5. Click Open. Actual Results: The filename field is cleared, nothing else happens. Expected Results: Should open "/tmp/1.cpp" which will appear as a new empty document in KDevelop.
@Alexander: Want to give it a try and prepare a patch?
@Alexander: In what other app do you see this behavior by the way? I'm urged to close this as a WONTFIX. Doesn't look like we can get QFileDialog to do what we want easily... We use QFileDialog::getOpenFileUrls which will only give us existing files. [1] https://github.com/KDE/kdevplatform/blob/d42d074299295308f22d36fe4ce456e26e4cd398/shell/documentcontroller.cpp#L149
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
OK, I understand there's no clean solution with Qt. Kate has the same problem.