Bug 358021

Summary: opens a new tab when clicking on a link in other tab where before it didn´t
Product: [Applications] akregator Reporter: Martin Steigerwald <Martin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: minor CC: justin.zobel
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: akregatorrc that triggers the open in new tab always issue
akregatorrc where clicking in a new link in other tab doesn´t open a new tab

Description Martin Steigerwald 2016-01-15 13:30:35 UTC
With kdepim de33276f801787d5b54cb42728137d17bfd59762 (and some commits before already) whenever I click on a link in another tab where Akregator displays an article as webpage, it opens a new tab. With versions before your recent changes, Laurent, it didn´t.

Reproducible: Always

Steps to Reproduce:
1. Add a feed
2. Open an article in the article viewer
3. Click "Show full article" (or whatever its called in english, using german version here) to have it display the article in another tab.
4. Switch to other tab and click a link in the web page of the article there.

Use open in new tab in background for this. In akregatorrc:

LMB Behaviour=OpenInBackground
MMB Behaviour=OpenInBackground


Actual Results:  
Opens a new tab.

Expected Results:  
Doesn´t open a new tab as before.

Only opens a new tab when clicking on a link in the article view itself (first tab).

I can work around it by changing LMB behaviour from open in new tab in background to open in new tab.

In that case I only get:

[Browser]
Always Show Tab Bar=true
Background Tab For Articles=true
Close Button On Tabs=true
External Browser Custom Command=konqueror %u
MMB Behaviour=OpenInBackground

in akregatorrc, no setting for LMB Behaviour saved anymore.


Yet, "open in background" does not mean a change in behavior on *when* to open a new tab. Instead if means open the tab without switching and giving focus to it, instead open it *in the background*. At least that is how it worked before. I selected "open in new tab in background" exactly for that reason. I just like to browse articles, open several ones in new tabs and then check them out at a later time.
Comment 1 Martin Steigerwald 2016-01-15 13:31:43 UTC
Created attachment 96652 [details]
akregatorrc that triggers the open in new tab always issue
Comment 2 Martin Steigerwald 2016-01-15 13:33:44 UTC
Created attachment 96653 [details]
akregatorrc where clicking in a new link in other tab doesn´t open a new tab

But it then always focuses immediately on the new tab when I LMB click a link.
Comment 3 Justin Zobel 2020-11-08 10:25:39 UTC
Confirmed on latest git master.