[Bug 137409] Re: akregator: Left/Right arrows fail to navigate articles

Bug Watch Updater 137409 at bugs.launchpad.net
Thu Sep 20 01:53:35 UTC 2018


Launchpad has imported 13 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=114997.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2005-10-24T14:30:47+00:00 Fpylin wrote:

Version:            (using KDE KDE 3.4.92)
Installed from:    Slackware Packages
OS:                Linux

Ok ... this bug did *not* exist in KDE 3.4.3 ... someone must have
broken something in the new 1.2 ;)

What happened:
1. Switch to normal view and choose any feed, preferably a feed with a long list.

2. Try to scroll through the articles with left/right keys and occassionally:
 a) the left/right key will get stuck/not jump to the next/prev article
 b) it jumps to a random article (i.e. not in order shown in the list)

3. Duplicated articles are shown twice at least

4. If you click on an unread title, another title in the list
(unrelated) will change its name to the article you just clicked. The
article that has its name changed is lost afterwards.

I do not have full source in hand, but I suspect some of the ?new
duplication detection mechanism was not working the way it should be.

Cheers,

Frank

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/0

------------------------------------------------------------------------
On 2005-12-15T04:45:08+00:00 Fpylin wrote:

Created attachment 13924
Example of the bug (screenshot series in .tar.gz format)

A picture is better than 1000+ words. Here I post a series of screenshots
describing this bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/1

------------------------------------------------------------------------
On 2005-12-15T08:07:54+00:00 Osterfeld wrote:

I confirm 2a). Sometimes, the prev/next actions get stuck.
I've seen 3 and 4, too. But this is only "visual", i.e. if you switch to another feed and back, all should be fine again, right?
It's not about dupe detection, it has to do with the list items (which are created per article). Thus, when switching to another feed and back, the items are cleared and recreated properly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/2

------------------------------------------------------------------------
On 2005-12-15T13:42:19+00:00 Fpylin wrote:

> I've seen 3 and 4, too. But this is only "visual", i.e. if you switch to another feed and back, all should be fine again, right?
That is correct. 

> It's not about dupe detection, it has to do with the list items (which are created per article). 
Thanks -- sounds very logical. The reason I suspected "dupe detection" originally was that it only happens with new (red) and unread (blue) items. The read items (black) items does not seem to be affected.

> Thus, when switching to another feed and back, the items are cleared and recreated properly. 
Yes. That is also correct.


Reply at: https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/3

------------------------------------------------------------------------
On 2006-01-08T13:02:01+00:00 Osterfeld wrote:

*** Bug 119669 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/4

------------------------------------------------------------------------
On 2006-01-08T13:09:03+00:00 Osterfeld wrote:

SVN commit 495480 by osterfeld:

Fix comparison operators of Article, such as < and <=.
This fixes problems with QMap and articles having identical pubdate (operator< just compared pubdates, and QMap consideres 
articles as equal when items are not comparable).
Fixes 114997 navigation problems and prevents creation of a new item when selecting an unread dupe article. (a new item was 
created as map lookup failed).

BUG: 114997


 M  +6 -4      article.cpp  


--- branches/KDE/3.5/kdepim/akregator/src/article.cpp #495479:495480
@@ -241,22 +241,24 @@
 
 bool Article::operator<(const Article &other) const
 {
-    return pubDate() > other.pubDate();
+    return pubDate() > other.pubDate() || 
+            (pubDate() == other.pubDate() && guid() < other.guid() );
 }
 
 bool Article::operator<=(const Article &other) const
 {
-    return pubDate() >= other.pubDate();
+    return (pubDate() > other.pubDate() || *this == other);
 }
 
 bool Article::operator>(const Article &other) const
 {
-    return pubDate() < other.pubDate();
+    return pubDate() < other.pubDate() || 
+            (pubDate() == other.pubDate() && guid() > other.guid() );
 }
 
 bool Article::operator>=(const Article &other) const
 {
-    return pubDate() <= other.pubDate();
+    return (pubDate() > other.pubDate() || *this == other);
 }
 
 bool Article::operator==(const Article &other) const


Reply at: https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/5

------------------------------------------------------------------------
On 2006-01-08T13:19:03+00:00 Osterfeld wrote:

SVN commit 495485 by osterfeld:

forward port: fix semantics of comparison operators <, <=, >, >=. Bug 114997 as seen in 3.5 should be fixed in trunk anyway, 
as we use QHash there (using operator==) instead of QMap (using operator<), however, the operators should work correctly 
nevertheless.
CCBUG: 114997


 M  +6 -4      article.cpp  


--- trunk/KDE/kdepim/akregator/src/article.cpp #495484:495485
@@ -241,22 +241,24 @@
 
 bool Article::operator<(const Article &other) const
 {
-    return pubDate() > other.pubDate();
+    return pubDate() > other.pubDate() || 
+            (pubDate() == other.pubDate() && guid() < other.guid() );
 }
 
 bool Article::operator<=(const Article &other) const
 {
-    return pubDate() >= other.pubDate();
+    return (pubDate() > other.pubDate() || *this == other);
 }
 
 bool Article::operator>(const Article &other) const
 {
-    return pubDate() < other.pubDate();
+    return pubDate() < other.pubDate() || 
+            (pubDate() == other.pubDate() && guid() > other.guid() );
 }
 
 bool Article::operator>=(const Article &other) const
 {
-    return pubDate() <= other.pubDate();
+    return (pubDate() > other.pubDate() || *this == other);
 }
 
 bool Article::operator==(const Article &other) const


Reply at: https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/6

------------------------------------------------------------------------
On 2008-02-07T22:44:19+00:00 Marcin Trybus wrote:

Excuse, but when exactly has this bug been resolved? If it's fixed for
more that 2 years now, then why in my latest akregator 1.2.8 (KDE 3.5.8,
Debian testing), the bug is still there?

Try subscribing a feed from Slashdot and e.g. Slashdot Linux. Whenever
they double (which happens more often than not), the problem occurs.

Same with my brother's akregator (same version, under Kubuntu 7.10).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/8

------------------------------------------------------------------------
On 2008-02-24T04:10:47+00:00 Rjohnson-m wrote:

I have to second Marcin on this, this has not been fixed and is actually
known about on IRC in #kontact.

This issue happens to me on:

3x Kubuntu Hardy boxes (2 just fresh install today)
1x Debian Experimental
1x OpenSUSE
1x Fedora 8 & 9
1x Slackware

I haven't tested my KDE SVN checkout yet because I can't get kdepim to
build correctly on my amd64 box right now.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/11

------------------------------------------------------------------------
On 2008-09-10T18:24:28+00:00 Harald Sitter wrote:

Reopen as per comment #8

Is this issue still valid for KDE 4.1?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/12

------------------------------------------------------------------------
On 2008-11-09T12:31:20+00:00 Dominik-tritscher-l wrote:

I just checked with Akregator 1.3.3 (KDE 4.1.3) and couldn't reproduce
the described behaviour.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/15

------------------------------------------------------------------------
On 2009-03-08T21:18:12+00:00 3-christophe wrote:

Due to lack of feedback, we will now change this bug status.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/16

------------------------------------------------------------------------
On 2018-09-19T04:32:50+00:00 Andrew-crouthamel wrote:

Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15
days. Please provide the requested information as soon as possible and
set the bug status as REPORTED. Due to regular bug tracker maintenance,
if the bug is still in NEEDSINFO status with no change in 30 days the
bug will be closed as RESOLVED > WORKSFORME due to lack of needed
information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please mark the
bug as REPORTED so that the KDE team knows that the bug is ready to be
confirmed.

Thank you for helping us make KDE software even better for everyone!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/137409/comments/17

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdepim in Ubuntu.
https://bugs.launchpad.net/bugs/137409

Title:
  akregator: Left/Right arrows fail to navigate articles

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdepim/+bug/137409/+subscriptions




More information about the kubuntu-bugs mailing list