Bug 468105 - Desktop displays deleted messages
Summary: Desktop displays deleted messages
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeconnect
Classification: Applications
Component: messaging-application (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Redman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-03 00:01 UTC by biscotty666
Modified: 2024-06-02 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
From the phone (178.18 KB, image/png)
2023-04-03 00:02 UTC, biscotty666
Details
Same conversation from the computer (143.50 KB, image/png)
2023-04-03 00:08 UTC, biscotty666
Details

Note You need to log in before you can comment on or make changes to this bug.
Description biscotty666 2023-04-03 00:01:37 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. Connect android phone to computer
2. Install kpeoplevcard (I don't know why this isn't installed by default)
3. 

OBSERVED RESULT

The desktop displays messages that have been deleted from my phone. In addition there is at least one thread in which the content differs between the phone and the computer.

EXPECTED RESULT

That all messages are correctly syncronized. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 37
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
This is the first time I try to use KDE Connect on this computer. I had used it with the same phone and an Ubuntu install but it was problematic so I didn't keep using it. I do believe that the persistence of deleted messages was one of my issues.

Thank you for all of your high-quality applications. After decades of trying KDE intermittently I've found a home since I tried again a year ago. It's finally the product I always wanted it to be. Activities are awesome!
Comment 1 biscotty666 2023-04-03 00:02:17 UTC
Created attachment 157807 [details]
From the phone
Comment 2 biscotty666 2023-04-03 00:08:13 UTC
Created attachment 157808 [details]
Same conversation from the computer
Comment 3 MikMak 2024-05-02 17:35:30 UTC
This bug is one year old and problem is still present. It would be nice to make things that work instead of multiplying buggy applications.
Comment 4 Simon Redman 2024-05-02 18:17:53 UTC
@biscotty666, sorry for no reply 

@MikMak it would be nice if there were enough engineer-hours to make the application perfect. If you or someone you know wants to get involved, I would be happy to help them onboard. 

The KDE Connect SMS plugin reads directly from the phone's database of messages and doesn't do any persistent caching/etc. if you see messages on you computer, then your phone does not think they are deleted. For instance, maybe you have "archived" the message or conversation, or maybe your messages app is not propagating the delete for whatever reason. 

The one case where you would see deleted messages that your phone has deleted, would be if you delete them and then immediately look at the computer. Message deletion is not propagated. The deleted messages will be gone the next time your devices lose connection, which will cause the desktop to fetch all messages from the remote device.

If anyone has a repro where you can delete a message on the phone and still see it on the desktop after rebooting the desktop, please share that. Please double-check with another messaging app on the phone that the message really doesn't appear, and it's not just hidden by your normal messaging app.
Comment 5 MikMak 2024-05-02 19:00:13 UTC
@simon sorry for the mood of my comment it was not appropriate and I was indeed surprised that the incident had not received a response.

I do understand it's not easy, it's an open source project and we have to accept that not everything is perfect. I apologize for that. 

In fact I looked how I could contribute to your project, and I will be happy to do this. But I am not sure I could help. I am on nixos, don't use KDE, etc... But I would really like to help for this project. 

Anyway, I deleted the archived messages on my phone and after a while, not immediately, kdeconnect no longer displayed the messages.
Comment 6 Simon Redman 2024-05-03 03:12:48 UTC
(In reply to MikMak from comment #5)
> @simon sorry for the mood of my comment it was not appropriate and I was
> indeed surprised that the incident had not received a response.
> 
I do try to reply to every bug report. It's not nice when someone goes to the effort to file a report and doesn't get a reply.

> I do understand it's not easy, it's an open source project and we have to
> accept that not everything is perfect. I apologize for that. 
> 
Thanks. Apology accepted.

> In fact I looked how I could contribute to your project, and I will be happy
> to do this. But I am not sure I could help. I am on nixos, don't use KDE,
> etc... But I would really like to help for this project. 
> 
Feel free to join us on Matrix and talk about how you could help. To take this example, a distro-agnostic project could be to add support for hiding archived messages in the KDE Connect Android app.
https://matrix.to/#/!KPnlFCXuKzRXyhSxnY:kde.org?via=matrix.org&via=kde.org&via=mozilla.org

> Anyway, I deleted the archived messages on my phone and after a while, not
> immediately, kdeconnect no longer displayed the messages.

Good to hear!
Comment 7 Bug Janitor Service 2024-05-18 03:45:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2024-06-02 03:45:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!