Bug 407634 - ksavedialog defaults to save on enter
Summary: ksavedialog defaults to save on enter
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.57.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-17 09:10 UTC by Martin van Es
Modified: 2019-07-12 08:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin van Es 2019-05-17 09:10:03 UTC
Since last update ksavedialog <enter> defaults to triggering save instead of entering selected directory. This results in saving the file in the wrong place.

STEPS TO REPRODUCE
1. kdialog --getsavefilename ~
2. Set save name to foobar.tst
3. Select subdirectory with mouse
4. Press enter

OBSERVED RESULT
/home/<user>/foobar.tst is returned as kdialog result

EXPECTED RESULT
Entering the subdirectory to further specify the location of the save file until the 'save' button is clicked with the mouse (or by tab-navigating to it).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
This used to work as expected, so I see this as a regression of https://bugs.kde.org/show_bug.cgi?id=205781
Comment 1 Martin van Es 2019-06-26 07:37:44 UTC
It seems fixed for the "kdialog --getsavefilename ~" example, but not for "Open Attachment, Save As..." from Kmail e.g.
Comment 2 Martin van Es 2019-06-26 07:38:15 UTC
Fixed in 5.16.2, I meant to add.
Comment 3 Martin van Es 2019-07-12 08:05:50 UTC
Since ksavedialog does not have the bug anymore, I reported the bug more specifically to kmail in https://bugs.kde.org/show_bug.cgi?id=409738