Gmail Unread Message Badge not showing
Preflight Checklist
- [x] I agree to follow the Code of Conduct that Ferdium Recipes adheres to.
- [x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Ferdium Version
7.0.1
Recipe Name
Gmail
Recipe Version
1.6.3
Last Known working version of the recipe
No response
Steps to reproduce
Add New Gmail Recipe Unread badge doesn't show
Expected Behavior
Unread badge shows count
Actual Behavior
Unread badge doesn't show
Screenshots
No response
Additional Information
No response
Anyone?
Anyone??
@jimmylad I'm also experiencing the same thing.
The odd thing is that I have 4 Gmail accounts in my Ferdium and the first 3 are showing unread message badges, but the fourth isn't -- I can't quite remember, but I think it was the first one that I added to Ferdium.
I've cleared the cache, I've removed the service and re-added it. But it still doesn't show the badge, which is annoying as this is my primary email account.
This is still not working after updating to 7.1.0.
@garethjmsaunders Is your first gmail account a non-Workspace account and the others Workspace? Mine are all Workspace. Or perhaps the view settings affect it? I've tried with different inbox views and spacing, as well as user agents, but nothing is working.
Apparantly the webview.js-script is crashing.
Quick fix:
- Open
/Users/$USER/Library/Application Support/Ferdium/recipes/gmail/webview.js(or where ever Feridium recipes is installed to) - Change line
52to(acc, e) => Ferdium.safeParseInt( ('getInnerHTML' in e && typeof e.getInnerHTML === 'function' ? e.getInnerHTML() : e.innerHTML) ?? '0', ) + acc,
Background: Method getInnerHTML doesn't exist. This code change introduces a fallback to property innerHTML and if that isn't defined a constant 0 string.
@SvenAndBits That worked! Thanks so much 👍
@jimmylad Apologies, I was away for a few days. They are all Workspace accounts, I think.
@SvenAndBits Thank you! This has fixed it for me too.
@SvenAndBits Thank you! Worked for me as well. I have five Gmail services, three of which are Workspace, two retail. First one in list is retail, that was working. All the rest showed no badge. But now all are correct!
Apparantly the
webview.js-script is crashing.
Has someone made a PR for this? This works flawlessly!
For me the file was located at: C:\Users\<user>\AppData\Roaming\Ferdium\recipes\gmail\webview.js