johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
8.66k stars 753 forks source link

Status bar in the dock icon is flickering while in Focus Mode #3131

Open vsaravind01 opened 2 months ago

vsaravind01 commented 2 months ago

Your Environment

Expected Behavior

The icon in the dock should display the progress properly while in Focus mode.

Current Behavior

The status bar in the dock icon is flickering while in Focus mode.

Steps to Reproduce (for bugs)

Create a task and start focus mode on the Desktop app.

Can you reproduce this reliably?

Yes, this is occurring every time when I switch to Focus mode.

Error Log (Desktop only)

[2024-04-06 19:48:17.400] [info]  { enabled: null, showDevTools: false, mode: 'bottom' }
[2024-04-06 19:48:17.539] [info]  Saving backups to /Users/vsaravind/Library/Application Support/superProductivity/backups
[2024-04-06 19:48:18.145] [info]  No custom styles detected at /Users/vsaravind/Library/Application Support/superProductivity/styles.css
[2024-04-06 19:53:34.545] [info]  ERR: Sync error while getting meta for super-productivity-sync.json
[2024-04-06 19:53:34.546] [error] Error: ENOENT: no such file or directory, open 'super-productivity-sync.json'
    at Object.openSync (node:fs:603:3)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:2:2238)
    at readFileSync (node:fs:471:35)
    at t.readFileSync (node:electron/js2c/asar_bundle:2:9777)
    at /Applications/superProductivity.app/Contents/Resources/app.asar/electron/local-file-sync.js:24:35
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:77758)
    at WebContents.emit (node:events:517:28)
[2024-04-06 19:53:41.092] [info]  ERR: Sync error while writing to super-productivity-sync.json
[2024-04-06 19:53:41.092] [error] Error: EROFS: read-only file system, open 'super-productivity-sync.json'
    at Object.openSync (node:fs:603:3)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:2:2238)
    at writeFileSync (node:fs:2324:35)
    at /Applications/superProductivity.app/Contents/Resources/app.asar/electron/local-file-sync.js:12:36
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:77758)
    at WebContents.emit (node:events:517:28)
[2024-04-06 22:21:46.708] [info]  close, isQuiting: true
[2024-04-06 22:21:48.838] [info]  { enabled: null, showDevTools: false, mode: 'bottom' }
[2024-04-06 22:21:48.995] [info]  Saving backups to /Users/vsaravind/Library/Application Support/superProductivity/backups
[2024-04-06 22:21:49.568] [info]  No custom styles detected at /Users/vsaravind/Library/Application Support/superProductivity/styles.css
[2024-04-06 22:22:16.413] [warn]  getSettingsCb no callbacks left
github-actions[bot] commented 2 months ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 2 months ago

Hello there vsaravind01! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

vsaravind01 commented 2 months ago

https://github.com/johannesjo/super-productivity/assets/63002244/4739430a-30a1-4b87-8010-0d2c38f09cf5

Jagdfalke commented 2 months ago

Thank you for the detailed report. This seems to be a Mac-specific issue as I cannot reproduce it on either Linux or Windows.