From kde-bugs-dist Tue Oct 31 21:39:38 2006 From: Alf Eaton Date: Tue, 31 Oct 2006 21:39:38 +0000 To: kde-bugs-dist Subject: [Bug 136598] New: External URLs open from /var/tmp cache Message-Id: <20061031223937.136598.sites () hubmed ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=116233078301953 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=136598 Summary: External URLs open from /var/tmp cache Product: amarok Version: 1.4.4 Platform: Ubuntu Packages OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: amarok-bugs-dist kde org ReportedBy: sites hubmed org Version: 1.4.4 (using KDE KDE 3.5.5) Installed from: Ubuntu Packages OS: Linux I'm running Amarok compiled from svn, on top of Gnome (Ubuntu). Links in the ContextBrowser prefixed with externalurl: are supposed to open in the web browser set in Amarok's preferences. I've tried setting the browser there, and everywhere else I can think of, but linked pages are always downloaded and opened in Firefox from /var/tmp/kdecache... This isn't a real solution, but it works for now: Index: app.cpp =================================================================== --- app.cpp (revision 600791) +++ app.cpp (working copy) @ -1225,7 +1225,7 @ bool invokeBrowser( const QString& url ) { //URL can be in whatever forms KURL::fromPathOrURL understands - ie most. - return KRun::run( AmarokConfig::externalBrowser(), KURL::List( KURL::fromPathOrURL( url ) ) ) > 0; + return KRun::runURL( KURL::fromPathOrURL( url ), QString("text/html")) > 0; } namespace ColorScheme