Bug 99654

Summary: Wrong behaviour on link opening
Product: [Applications] akregator Reporter: Fabio Rossi <rossi.f>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: contact
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fabio Rossi 2005-02-18 01:44:35 UTC
Version:           1.0 beta10 (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
OS:                Linux

I have the following browser settings in akregator:

Left mouse click: open in background tab
Middle mouse click: open in external browser
External browser: use default KDE web browser (I have setted firefox in control panel)

The problem arises with akregator stand alone and as kontact plugin. If I click on a link with the middle button there is no problem: the link opens in firefox. When I click with the left button the link opens again in firefox and an empty tab opens in background (there is a forever loop which can be interrupted pressing the abort button).
Comment 1 Fabio Rossi 2005-03-20 17:40:42 UTC
The problem is still there with akregator 1.0.1
Comment 2 Robert Persson 2005-04-01 20:28:52 UTC
I had this problem.  I got round it by going into the KDE Control Center and changing the default browser to "based on the contents of the URL".
Comment 3 Fabio Rossi 2005-04-01 20:46:25 UTC
Yes, I know. Robert, your solution is only a workaround, the bug is still there :-(

Now I'm using akregator 1.0.2
Comment 4 Robert Persson 2005-04-16 21:13:46 UTC
My "based on the contents of the URL" workaround relies on a feature which is itself buggy.  While it works in Akregator, in other applications, such as kmail, it causes kde to pass the URL of a cached copy of the web page, rather than the page itself, to the browser.  In some applications (e.g. some kcontrol modules) there is no workaround for this at all.  Because this other bug is such a serious annoyance it makes this Akregator bug all the more serious.
Comment 5 Eckhart Wörner 2005-04-27 20:59:53 UTC
*** Bug 99814 has been marked as a duplicate of this bug. ***
Comment 6 Heinrich Wendel 2005-06-28 18:46:38 UTC
SVN commit 429721 by lanius:

only use external browser if selected in akregator
BUG: 99654

 M  +1 -0      akregator_run.cpp  


--- trunk/KDE/kdepim/akregator/src/akregator_run.cpp #429720:429721
@@ -35,6 +35,7 @@
 {
     m_viewer=viewer;
     connect(m_viewer, SIGNAL(destroyed()), this, SLOT(killMyself()));
+    setEnableExternalBrowser(false);
 }
 
 BrowserRun::~BrowserRun()
Comment 7 Fabio Rossi 2005-07-08 18:09:10 UTC
Now it works like a charm, thanks!