Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last remaining message in thread disappears when others are deleted #1756

Open
bilogic opened this issue Sep 18, 2024 · 5 comments
Open

Last remaining message in thread disappears when others are deleted #1756

bilogic opened this issue Sep 18, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@bilogic
Copy link

bilogic commented Sep 18, 2024

vid.mp4

Describe the bug
When viewing a thread, if I were to delete earlier messages, the sole remaining message disappears as well. It only shows up again after back to message list.

This is scary because a new user can interpret that as a bug, i.e. all my messages were deleted when I wanted to keep one and delete the rest.

To Reproduce
Steps to reproduce the behavior:
See video

Expected behavior
The message that was not deleted should remain visible.

Screenshots
See video

Please complete the following information:

  • Browser: Chrome Version 128.0.6613.138 (Official Build) (64-bit)
  • IMAP daemon: dovecot
  • PHP version: 8.2
  • SnappyMail Version: djmaze/snappymail latest 7b93403c8a35
  • Mode: docker

Sorry about the snappymail version, I'm not sure where to find it that is the docker hash.

Debug/logging information
Read here how to log

Additional context
none

@the-djmaze the-djmaze added bug Something isn't working and removed bug Something isn't working labels Sep 21, 2024
@the-djmaze
Copy link
Owner

Correct, because then there is not thread anymore.

@the-djmaze the-djmaze added the documentation Improvements or additions to documentation label Sep 21, 2024
@bilogic
Copy link
Author

bilogic commented Sep 26, 2024

If there is no more thread, can make it auto back to message list? Empty message list is scary.

@the-djmaze
Copy link
Owner

Not really, but we could think of a different solution.
Maybe a different message?

@bilogic
Copy link
Author

bilogic commented Sep 27, 2024

Ok, let's review:

  1. I deleted 5 message but 6(!!) disappeared
  2. The user needs to be re-assured that the 6th was not deleted
  3. The best assurance is to show it to the user

I tested on gmail, it stays in thread view even though there is only 1 message left.
Why must a thread have 2 or more messages?

@bilogic
Copy link
Author

bilogic commented Sep 27, 2024

Is thread an IMAP feature defined as 2 or more messages?
If thread is defined by SnappyMail, why not redefine thread as 1 or more messages, but threads with only 1 message cannot enter into Message List?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants