-
Notifications
You must be signed in to change notification settings - Fork 39
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
"Select a source" message appears when source is already selected #1290
Comments
Was able to reproduce this one today. Didn't grab a screenshot, because the sync clears up the artifact, as noted above. |
I was able to see a flash of content, I suppose that counts as a reproduction. 👍 |
Tip for debugging: this happens if you log in while a source who's files and messages have been deleted is already selected. So no need to keep deleting files and messages. You can do it just once. |
Note: the sync doesn't seem to be involved. |
I think the issue might be between these two calls clobbering each other: securedrop-client/securedrop_client/logic.py Lines 607 to 608 in 5fdcd71
Here is where we decided whether or not to display the "Select a source" message:
update_deletion_markers is where we decide whether or not to display the "Files and messages deleted" message.
These are the two messages showing up on top of each other. |
Reported by @creviera in #1275 (comment)
Steps to reproduce
Select a source message appears when a source is already selected.
Expected behavior
You continue to see the tear pattern in the conversation view of the selected source
Actual behavior
The "Select a source" message is displayed on top of the tear pattern until the next sync
The text was updated successfully, but these errors were encountered: