Version: (using KDE KDE 3.4.0) Installed from: SuSE RPMs Compiler: GCC 3.4 OS: Linux Hello Everybody i am runing KDE 3.4 (compiled with dbus-qt support by SuSE) on SuSE 9.3. whenever i open/save files from many KDE applications such as Konsole, Kinternet, Nautun, Amarok, Kaffeine etc via Media:/ protocol i am geting a popup tiltled "Remote file not accepted" containing "you can only select local files" error message, actualy this computer's single hard disk holds the reiserfs 3.3 filesystem that SuSE 9.3 installed on, Reproduce this problem by doing these folowing tasks, 1 > in KDE open Konsole, 2 > click Edit Menu and select "Save History As" 3 > click "Storage Media" 4 > select your Linux filesystem 5 > Navigate /home/yourname 6 > try to save file. Expected Behaviour, Files would open/save fine in Media:/ protocol too
Well, I tested with amarok and it works correctly. For konsole you're right. But it's not a media:/ bug, more a problem coming from konsole ignoring "network transparency" in this case (you can't save using fish:// either). Hence why it's more a konsole bug. If you experience the same thing for other applications, you'll have to fill bugs on a per application basis. Hmmm... maybe the report title should be changed to address only konsole? I let this decision to konsole maintainers...
see i not only mentioned Konsole but Nautun, Amarok, Kaffeine, does all these apps don't support network transparency? if yes then i am must open a dozen of bugs then :-(
Some applications, especially the media players, can refuse to open/save non-local files, since streaming from network isn't supported by KIO. The problem here is that those apps don't fully resolve the URL into mostLocalWhatever (can't remember the correct name) before trying to save.
SVN commit 418782 by hindenburg: Use mostLocalURL for saving history; doesn't work yet as mostLocalURL doesn't work for non-existing files yet. CCBUG: 105513 M +7 -2 konsole.cpp --- trunk/KDE/kdebase/konsole/konsole/konsole.cpp #418781:418782 @@ -128,6 +128,7 @@ #include <kparts/componentfactory.h> #include <kcharsets.h> #include <kcolordialog.h> +#include <kio/netaccess.h> #include "konsole.h" #include <netwm.h> @@ -3766,9 +3767,13 @@ void Konsole::slotSaveHistory() { - KURL url = KFileDialog::getSaveURL(QString::null, QString::null, 0L, i18n("Save History")); - if( url.isEmpty()) + // FIXME - mostLocalURL can't handle non-existing files yet, so this + // code doesn't work. + KURL s_url = KFileDialog::getSaveURL(QString::null, QString::null, 0L, i18n("Save History")); + if( s_url.isEmpty()) return; + KURL url = KIO::NetAccess::mostLocalURL( s_url, 0 ); + if( !url.isLocalFile() ) { KMessageBox::sorry(this, i18n("This is not a local file.\n")); return;
Fixed this some time ago in KDE 4. Saving history to a remote or local location using KIO now works.