Bug 156372

Summary: click on one entry in the feed marks the first entry as read
Product: [Applications] akregator Reporter: Dario Panico <dariopnc>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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