Bug 460218

Summary: kdeconnect SMS Feature Request: Limit number of conversations and messages to hasten loading
Product: [Applications] kdeconnect Reporter: Nate Goldbaum <goldnate>
Component: messaging-applicationAssignee: Simon Redman <simon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.08.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Goldbaum 2022-10-11 01:26:04 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Have many hundreds of conversations and thousands of messages in phone messaging app
2. Open KDE Connect SMS in QT
3. Wait a long time for all the conversations to load

OBSERVED RESULT
Long loading time to get all of the conversations and messages loaded into the app

EXPECTED RESULT
Limited number of conversations and messages (configurable) so that loading can be snappier.

SOFTWARE/OS VERSIONS
Qt Version: 1.5

ADDITIONAL INFORMATION
Not a bug, but a feature request that would improve performance, I think.
Comment 1 Simon Redman 2022-10-11 01:37:41 UTC
Hi Nate,

Assuming you have a recent (2 years) version of the Android and desktop apps, it will request only a few messages in a conversation and only once you click it the first time.
https://invent.kde.org/network/kdeconnect-android/-/merge_requests/122

This MR was checked in today which returns conversations one at a time (in sorted order, hopefully), which dramatically reduces the amount of time to wait until the app is usable.
https://invent.kde.org/network/kdeconnect-android/-/merge_requests/296