Bug 156372 - click on one entry in the feed marks the first entry as read
Summary: click on one entry in the feed marks the first entry as read
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 12:26 UTC by Dario Panico
Modified: 2008-01-24 19:41 UTC (History)
0 users

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 Dario Panico 2008-01-22 12:26:51 UTC
Version:           1.2.50 (using 4.00.80 (KDE 4.0.80 >= 20080104), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.22-14-generic

e.g.
When I update the kde-look.org feed I found that there are 5 new entries. I click on the fourth one and it is marked as read and shown on the bottom (correct behaviour) but the first entry is also marked as read (uncorrect behaviour). Same thing happens when clicking on a column title to change sorting.
Comment 1 Teemu Rytilahti 2008-01-24 19:41:07 UTC
SVN commit 765812 by rytilahti:

- Listen to currentRowChanged instead of currentChanged, as it should be enough.
- Check if the previous QModelIndex is valid, so we don't emit the currentArticleSignal for the first article of the feed

BUGS:156372


 M  +8 -5      selectioncontroller.cpp  
 M  +1 -1      selectioncontroller.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=765812