{"action":"created","issue":{"url":"https://api.github.com/repos/Foundry376/Mailspring/issues/1017","repository_url":"https://api.github.com/repos/Foundry376/Mailspring","labels_url":"https://api.github.com/repos/Foundry376/Mailspring/issues/1017/labels{/name}","comments_url":"https://api.github.com/repos/Foundry376/Mailspring/issues/1017/comments","events_url":"https://api.github.com/repos/Foundry376/Mailspring/issues/1017/events","html_url":"https://github.com/Foundry376/Mailspring/issues/1017","id":349825555,"node_id":"MDU6SXNzdWUzNDk4MjU1NTU=","number":1017,"title":"Blue tray icon badge appears after every mail sync regardless of new unread email","user":{"login":"mko-mx","id":8079447,"node_id":"MDQ6VXNlcjgwNzk0NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/8079447?v=4","gravatar_id":"","url":"https://api.github.com/users/mko-mx","html_url":"https://github.com/mko-mx","followers_url":"https://api.github.com/users/mko-mx/followers","following_url":"https://api.github.com/users/mko-mx/following{/other_user}","gists_url":"https://api.github.com/users/mko-mx/gists{/gist_id}","starred_url":"https://api.github.com/users/mko-mx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mko-mx/subscriptions","organizations_url":"https://api.github.com/users/mko-mx/orgs","repos_url":"https://api.github.com/users/mko-mx/repos","events_url":"https://api.github.com/users/mko-mx/events{/privacy}","received_events_url":"https://api.github.com/users/mko-mx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-12T16:32:53Z","updated_at":"2018-10-31T15:00:12Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThanks for taking the time to file an issue! The Mailspring community uses GitHub issues to coordinate development.\r\n\r\nIf you have question about Mailspring or a problem with your email account, search the Knowledge Base to see if it's addressed there. If it's not, join our Slack organization and ask the community:\r\n\r\n  - http://support.getmailspring.com/hc/en-us/\r\n  - https://join-mailspring-slack.herokuapp.com/\r\n\r\nOur team tries to respond to all GitHub issues. To make sure your issue is actionable, try to include the following information:\r\n-->\r\n\r\n##### Are there any related issues?\r\n\r\n<!-- Try searching for both open and closed issues here: https://github.com/Foundry376/Mailspring/issues?q=is%3Aissue. Keep in mind that email features are often described differently on different platforms. (Conversations == threads, shortcuts == hotkeys, etc.) -->\r\n\r\n- Possibly #692 \r\n\r\n##### What operating system are you using?\r\n\r\nWindows 10 x64\r\n\r\n##### What version of Mailspring are you using?\r\n\r\n1.4.0-549b7968\r\n\r\n--\r\n\r\n**Bug?**\r\n\r\nEvery time the client syncs new email, regardless of whether or not there is new email a tiny blue badge appears on the tray icon.\r\n\r\nI believe this indicator should only appear when there is new unread email since, when you click and open the window, the badge disappears until the next sync.\r\n\r\n**Badge after mail sync:**\r\n![captura de pantalla 2018-08-12 11 07 03](https://user-images.githubusercontent.com/8079447/44004117-7b3b2614-9e22-11e8-9dd6-ce2560fdca80.png)\r\n\r\n**Regular state:**\r\n![image](https://user-images.githubusercontent.com/8079447/44004141-070b1a00-9e23-11e8-9c94-e85bba619a18.png)\r\n\r\n\r\n##### Is this an email sync or connection issue?\r\n\r\n<!-- If you're having trouble syncing an account, please zip and attach Mailspring's sync\r\nlogs to your issue. From the app's menu, choose Developer > Show Mailsync Logs.\r\nThe mailsync-**.log files contain very little PII and lots of debug info! -->\r\n\r\nNo\r\n\r\n##### Is the issue related to a specific email provider (Gmail, Exchange, etc.)?\r\n\r\nNo\r\n\r\n##### Is the issue reproducible with a particular attachment, message, signature, etc?\r\n\r\n<!-- Try to provide an example as a file attachment or a screenshot. -->\r\n\r\nNo\r\n"},"comment":{"url":"https://api.github.com/repos/Foundry376/Mailspring/issues/comments/434720685","html_url":"https://github.com/Foundry376/Mailspring/issues/1017#issuecomment-434720685","issue_url":"https://api.github.com/repos/Foundry376/Mailspring/issues/1017","id":434720685,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDcyMDY4NQ==","user":{"login":"JackDinn","id":5557560,"node_id":"MDQ6VXNlcjU1NTc1NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/5557560?v=4","gravatar_id":"","url":"https://api.github.com/users/JackDinn","html_url":"https://github.com/JackDinn","followers_url":"https://api.github.com/users/JackDinn/followers","following_url":"https://api.github.com/users/JackDinn/following{/other_user}","gists_url":"https://api.github.com/users/JackDinn/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDinn/subscriptions","organizations_url":"https://api.github.com/users/JackDinn/orgs","repos_url":"https://api.github.com/users/JackDinn/repos","events_url":"https://api.github.com/users/JackDinn/events{/privacy}","received_events_url":"https://api.github.com/users/JackDinn/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T15:00:12Z","updated_at":"2018-10-31T15:00:12Z","author_association":"NONE","body":"when i said \"it only works if mailspring is minimized NOT closed to tray\" i meant that the unread mail icon (blue badge) only works when mailspring is minimized although it has this error of showing with every sync. However the blue unread badge does not show at all if i have mailspring closed to tray."}}
{"actor":{"display_login":"JackDinn"}}