Summary: | Kwrite 'Save As' won't auto-fill existing filename if it is a remote file | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Mark A. Taff <kde> |
Component: | kfile | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adawit, christoph |
Priority: | NOR | ||
Version: | 4.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.1 | |
Sentry Crash Report: | |||
Attachments: | proposed kate specific patch... |
Description
Mark A. Taff
2008-08-18 11:10:26 UTC
We give the KEncodingFileDialog the full URL, it decides to not fill it... (In reply to comment #1) > We give the KEncodingFileDialog the full URL, it decides to not fill it... But you are not doing it correctly. That is why it does not work. If you read the documentation for KEncodingFileDialog::getSaveUrlAndEncoding 's StartDir parameter, you will see how you have to specify it so that the filename will be used for non-local URLs. I have a review request, https://git.reviewboard.kde.org/r/103642/, to address this in a central location so it won't have to be done on per app basis, but no one has elected to review it so far. In the alternative you can use the attached kate patch to make kate do the right thing. Created attachment 68322 [details]
proposed kate specific patch...
This is only an alternate to the patch currently in reviewboard.
Git commit 37ff4f63f23b36e6025298ec31989475127aac79 by Dawit Alemayehu. Committed on 21/02/2012 at 19:13. Pushed by adawit into branch 'KDE/4.8'. Make KFileWidget provide default filename even when the protocol does not support listing. FIXED-IN: 4.8.1 REVIEW: 103642 M +3 -1 kfile/kfilewidget.cpp http://commits.kde.org/kdelibs/37ff4f63f23b36e6025298ec31989475127aac79 |