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

[BUG]: Erroneous behavior of system tray unread items counter when downloading updated articles #754

Closed
vl-80 opened this issue Jun 18, 2022 · 2 comments
Assignees
Labels
Milestone

Comments

@vl-80
Copy link

vl-80 commented Jun 18, 2022

Brief description of the issue

When RSS Guard fetches an article that was already downloaded previously, but has been updated on the server and if the article is in focus, then the unread messages counter in the system tray will increment and immediately decrement, perhaps due to the fact that the article is in focus and it is being automatically marked as read even if the user did not see the updated article.

This happens even if the RSS Guard is minimized into system tray.

It does not happen if the article is not in focus. In this case the RSS Guard correctly marks the article as unread and increments the counter of unread items and it keeps its value until user opens the article to see the update.

How to reproduce the bug?

  1. Launch RSS Guard
  2. Download a feed with unread articles
  3. Observe the unread messages counter in the system tray incrementing
  4. Click on the article to read it
  5. Observe the unread messages counter in the system tray decrementing
  6. Keep the article in focus, displayed
  7. (The feed source updates the content of the article)
  8. Fetch the article
  9. Observe the unread messages counter incrementing and decrementing immediately or not incrementing at all.

What was the expected result?

When RSS Guard downloads an updated article (its content was modified on the server) the unread messages counter incrementing and showing the number of unread items including the newly downloaded updated article.

What actually happened?

The unread messages counter incremented (showed 1) and then immediately decremented to 0 (disappeared) without user's interaction.

Debug log

rssguard.log

Operating system and version

  • OS: Kubuntu 22.04 LTS
  • RSS Guard version: 4.0.4
@vl-80 vl-80 added the Type-Defect This is BUG!!! label Jun 18, 2022
@martinrotter
Copy link
Owner

I managed to reproduce the issue. Thanks, will try to fix.

@martinrotter
Copy link
Owner

Should be fixed.

@martinrotter martinrotter added the Status-Fixed Ticket is resolved. label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants