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

Gmail notification badges showing unread mail count from other than Primary folder #7

Open
marcuscarlsson86 opened this issue Dec 11, 2018 · 11 comments

Comments

@marcuscarlsson86
Copy link

After automatic update:
The unread count for GMAIL services are counting and showing
mails in spam folder, drafts(utkast) etc as unread.
Before it was only showing the mails that where in the primary folder.

MacOs HighSierra
10.13.6

Franz
Version 5.0.0-beta.19

skarmavbild 2018-12-11 kl 14 33 45
skarmavbild 2018-12-11 kl 14 33 39

@marcuscarlsson86 marcuscarlsson86 changed the title Gmail notificationbadges showing unread from junk-mail etc Gmail notification badges showing unread mail count from other than Primary folder Dec 11, 2018
@t-ricci-enhancers
Copy link

I have the same issue and is annoying me as hell :/

Looks like the badge counts unread email outside of primary category only if all messages in primary category are read.

@pietrofxq
Copy link

I have the same issue, but what @t-ricci-molecle said isn't true for me. I still have a couple unread emails on primary, but the badge count is displaying 8438 (all my other unread emails). The only solution for me is to disable the badge for gmail for now :/

@marcuscarlsson86
Copy link
Author

I have the same issue with this error is only when primary has no unread left

@t-ricci-enhancers
Copy link

Looks like the issue is gone already? Franz said that the services have been updated, and to click to reload them.

Looks like I'm not getting the badge for unread notification outside of primary category anymore. What about you guys?

@marcuscarlsson86
Copy link
Author

Seems to be working now, just needed to restart Franz

@adlk adlk transferred this issue from meetfranz/franz Dec 11, 2018
@pietrofxq
Copy link

I'm still having the issue.

@t-ricci-enhancers
Copy link

t-ricci-enhancers commented Dec 12, 2018

The bug's back now. But a bit different, looks like now the badge is counting both unread in inbox + unread elsewhere.
Count is set correctly to 0 if no primary emails are unread (opposite of before)

@milesflavel
Copy link

milesflavel commented Dec 13, 2018

Looks like the selector is pulling the value from a label populated by the All Mail unread count.
Should use document.getElementsByClassName('J-Ke n0')[0].getAttribute('title').replace(/[^0-9.]/g, '')

The title attribute doesn't always contain the value 😞

@milesflavel
Copy link

Is there a reason we don't use bsU anymore?

@jgonzale
Copy link

+1 with this issue. A little bit confusing to check if new mails arrive.

@closingin
Copy link

The problem is that Gmail is a constantly evolving product, so it's hard to update the recipe for every small changes that come to labels and mail count.

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

No branches or pull requests

6 participants