Bug 406405 - Adding new feed suspends saving feeds until quit
Summary: Adding new feed suspends saving feeds until quit
Status: CONFIRMED
Alias: None
Product: akregator
Classification: Applications
Component: metakit plugin (show other bugs)
Version: 5.10.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 13:25 UTC by Patrick
Modified: 2019-04-11 05:52 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 Patrick 2019-04-10 13:25:47 UTC
SUMMARY
Adding a new feed causes all feeds only to be saved until Akgregator is quit. Normally feeds are saved immediately.

This is caused by Akregator::Backend::StorageMK4Impl::markDirty() in storagemk4impl.cpp. When a new feed is created, the private member 'modified' is set to true, but this causes markDirty to skip the commit. 


STEPS TO REPRODUCE
1. Add new feed.
2. Check ~/local/share/akregator/Archive

OBSERVED RESULT
New feed is 0 bytes in size. Additional fetched feeds are not saved.

EXPECTED RESULT
New feed should be larger than 0 bytes. Additional fetched feeds should be saved immediately.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Possibly related to bug 199232.
Comment 1 Laurent Montel 2019-04-11 05:52:30 UTC
I confirm it.