Bug 267878

Summary: Read tracking does not survive crashes
Product: [Applications] choqok Reporter: Russ Brown <pickscrape>
Component: generalAssignee: Mehrdad Momeny <mehrdad.momeny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.9.85 (1.0 Beta2)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Russ Brown 2011-03-07 15:05:33 UTC
Version:           0.9.85 (1.0 Beta2) (using KDE 4.6.1) 
OS:                Linux

If choqok crashes, when I start it back up again, the unread state of all messages from the first run is maintained, and now what it was when it crashes.

The only way to clear the messages is to manually close choqok and restart it again, otherwise a further crash will put the flags right back where they were.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
I can't make choqok crash on purpose, but this does happen every time it crashes.
Comment 1 Russ Brown 2011-03-07 15:12:29 UTC
Can't see how to edit my description, but there's a couple of typos in there. Should read: "and *not* what it was when it *crashed*".
Comment 2 Mehrdad Momeny 2011-03-24 14:55:34 UTC
Git commit 71c9c1ead5e9ed4ffb54aaa142687aa592c1dd46 by Mehrdad Momeny.
Committed on 24/03/2011 at 13:59.
Pushed by momeny into branch 'master'.

BUG:267878 Will save posts with updateInterval interval!
It's not the ideal behaviour for this problem, but its the way we can implement it :D

M  +3    -6    choqok/choqokapplication.cpp     
M  +2    -9    choqok/choqokapplication.h     
M  +6    -3    helperlibs/twitterapihelper/twitterapimicroblog.cpp     
M  +2    -0    libchoqok/CMakeLists.txt     
A  +56   -0    libchoqok/application.cpp         [License: GPL]
A  +55   -0    libchoqok/application.h         [License: GPL]
M  +12   -0    libchoqok/microblog.cpp     
M  +3    -0    libchoqok/microblog.h     
M  +3    -1    microblogs/ocs/ocsmicroblog.cpp     

http://commits.kde.org/choqok/71c9c1ead5e9ed4ffb54aaa142687aa592c1dd46