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

Windows: Duplicated icon in notification/status area #886

Open
2 tasks done
Chealer opened this issue May 15, 2023 · 6 comments
Open
2 tasks done

Windows: Duplicated icon in notification/status area #886

Chealer opened this issue May 15, 2023 · 6 comments

Comments

@Chealer
Copy link

Chealer commented May 15, 2023

  • I am on the latest ActivityWatch version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • OS name and version: Microsoft Windows 10

  • ActivityWatch version: 0.12.2

Describe the bug

I have been getting 2 icons for ActivityWatch in Windows' taskbar's notification area (aka "system tray") for a while. Both are usable, and offer "Quit ActivityWatch", which gets rid of one of them, but not the other. However, the duplication comes back every time Windows is restarted.

I am 99% confident that this started the last time I upgraded ActivityWatch. I went from 0.12.0 to 0.12.2. So while I did not verify, there are good chances that installing 0.12.0 then installing 0.12.2 would suffice to reproduce.

@github-actions
Copy link

Hi there!
As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct.
Thanks a bunch for opening your first issue! 🙏

@ErikBjare
Copy link
Member

ErikBjare commented May 16, 2023

You probably have double startup entries. I'm not sure what causes it (maybe the installer?), but I've seen it happen before.

You can probably fix this by checking your autostart applications, and removing the duplicate entry.

@Chealer
Copy link
Author

Chealer commented May 18, 2023

I do have a duplicated entry in "Applis de démarrage". The list can be accessed via Settings ->Apps -> Startup tab, or in the Startup tab of the task manager (Windows 10).
The duplication seems unavoidable as entries cannot be removed, but one of the entries can be disabled. I randomly chose which one to disable as I could not see a difference between both (they both point to the same executable), and that did allow a lasting workaround.

@Sucareto
Copy link

I'm having the same problem.
Repeated execution of aw-qt.exe triggers this error.
Maybe it needs to be checked when starting aw-qt.exe to avoid running multiple instances?

@ErikBjare
Copy link
Member

ErikBjare commented Jan 6, 2024

I thought I'd fixed this already, but in the installer config file we had an extra { in the AppId which may have caused duplicate startup entries.

Fixed in 7aeb31c, will be in the next beta (yet unreleased v0.12.3b17). Hopefully the issue will now finally be resolved.

However, you will probably have the same issues when upgrading to the next release (and you need to remove the extra startup entry manually), but any upgrades after that should hopefully work now. Fingers crossed 🤞

This issue is also probably a duplicate of #813

@ErikBjare
Copy link
Member

It did not fix it, and lead to a build error. Investigating.

@ErikBjare ErikBjare reopened this Jan 6, 2024
kevich pushed a commit to kevich/activitywatch that referenced this issue Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants