Bug 180789 - Left click on "Complete Story" doesn't work sometimes
Summary: Left click on "Complete Story" doesn't work sometimes
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 10:10 UTC by Andreas Ermler
Modified: 2009-03-09 08:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Ermler 2009-01-15 10:10:50 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

I use the Kubuntu KDE 4.2 RC1 packages.

For one of my feeds left click on "Complete Story" doesn't work. It's the "Spiegel Online Politik" feed (http://www.spiegel.de/politik/index.rss).

When left-clicking on "Complete Story" nothing happens. Middle-click or right-click and then for example "Open link in new tab" works without problems.

It doesn't matter what action I put on the left click ("Open in tab", "Open in background tab",...), none of them work. But all of them work when I put them on middle-click.

For all other feeds it works fine, it's just this one feed where it behaves that way.
Comment 1 Frank Osterfeld 2009-01-15 10:20:22 UTC
That's similar to https://bugs.kde.org/show_bug.cgi?id=177754 
177754 is only about the external browser though, and says that internal tabs work for him. In both feeds, anchors "#reqRSS" are used.
Needs investigation. 
Comment 2 Andreas Ermler 2009-01-22 15:19:25 UTC
I can confirm that the feed in Bug 177754 (welt.de) behaves the same way as the Spiegel-feed for me.
Comment 3 Frank Osterfeld 2009-01-25 18:57:14 UTC
SVN commit 916644 by osterfeld:

fix Complete Story link if the link contains an anchor.
We must tell KHTMLPart that it shows the linked item to make relative 
links work, but that in turn breaks in the presence of an anchor (as 
KHTMLPart tries to simply jump to the anchor instead of opening the 
website).

Workaround: adding a bogus query item makes the two URLs 
different for the anchor check but keeps the relative link resolution 
working.
BUG:177754
BUG:180789



 _M            . (directory)  
 M  +9 -1      akregator/src/articleviewer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=916644
Comment 4 Frank Osterfeld 2009-01-25 19:02:34 UTC
SVN commit 916646 by osterfeld:

backport:

SVN commit 916644 by osterfeld: 

fix Complete Story link if the link contains an anchor. We must tell 
KHTMLPart that it shows the linked item to make relative links work, 
but that in turn breaks in the presence of an anchor (as KHTMLPart 
tries to simply jump to the anchor instead of opening the website).

Workaround: adding a bogus 
query item makes the two URLs different for the anchor check but 
keeps the relative link resolution working. 

CCBUG:177754
CCBUG:180789 


 M  +9 -1      articleviewer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=916646
Comment 5 Andreas Ermler 2009-03-09 08:40:17 UTC
Great, works now with KDE 4.2.1! Thanks!