https://bugs.kde.org/show_bug.cgi?id=417806
Bug ID: 417806 Summary: Open/Save File dialogs do not adhere to current directory modification Product: frameworks-kio Version: 5.62.0 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Open/save dialogs Assignee: fa...@kde.org Reporter: andy...@mail.ru CC: kdelibs-b...@kde.org Target Milestone: --- SUMMARY The Open/Save File dialogs do not notice the current directory field modification by user and open/save the file to the original current directory. STEPS TO REPRODUCE 1. Run an application that will use the common Save File dialog. For example, Kate. 2. Invoke the Save File dialog. E.g. File -> Save As in Kate. 3. In the Save File dialog, click on the current directory input field at the top and modify it by typing a new path. 4. Click on the file name input field and type the file name. 5. Click on the Save button. OBSERVED RESULT The new file is created at the original current directory, not the one I typed at step 3. EXPECTED RESULT The Save File dialog should use the directory I typed. Preferably, when the input field focus is lost, the dialog should update the directory view to the directory I typed, so that the path and the directory view are in sync. STEPS TO REPRODUCE 1. Run an application that will use the common Open File dialog. For example, Kate. 2. Invoke the Open File dialog. E.g. File -> Open in Kate. 3. In the Open File dialog, click on the current directory input field at the top and modify it by typing a new path. 4. Click on the file name input field or the directory view. 5. Click on the file name input field and type the file name. 6. Click on the Open button. OBSERVED RESULT At step 4, the directory view keeps showing the original current directory contents, the dialog does not seem to register that the current directory was updated. At step 6, the file is opened at the original current directory (provided that the file exists at that location), not at the modified one. EXPECTED RESULT Same as with the Save File dialog. SOFTWARE/OS VERSIONS Linux: Kubuntu 19.10 x86_64 KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.62.0 Qt Version: 5.12.4 ADDITIONAL INFORMATION: The current directory is updated if while typing the new path the user selects one of the suggested auto-completion options and presses Enter. However, that does not solve the problem because auto-completion does not appear in all cases (e.g. not when you paste the path from clipboard or when you switch to another window temporarily). Also, the user is reluctant to press Enter in a dialog as, depending on the current focus, pressing Enter could immediately confirm the whole file open/save operation. -- You are receiving this mail because: You are watching all bug changes.