[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 136598] New: External URLs open from /var/tmp cache
From:       Alf Eaton <sites () hubmed ! org>
Date:       2006-10-31 21:39:38
Message-ID: 20061031223937.136598.sites () hubmed ! org
[Download RAW message or body]

------- 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic