-
-
Notifications
You must be signed in to change notification settings - Fork 822
Description
- I am on the latest ActivityWatch version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- OSX 10.15.7 & 11.1 :
- 0.10.0:
I have not tried this in Windows yet.
Describe the bug
When running multiple instance of the same app, AW timeline reports the frontmost window for the first app instance even when the second instance is the active application.
To Reproduce
In my case I'm using a database development platform "4D" from 4d.com, but I have tried this with MS Word as well:
- Find the app in applications, duplicate it. (Word.app for example)
- Open one instance, create a document "Letter A" and save it, now the window has the title of "Letter A"
- Open the second instance Word Copy.app, create a document "Letter B", now the window has the title "Letter B"
- Open AW Timeline and note that there's no reference to "Letter B" and the the time spent on "Letter A" also includes the time you actually spent on the second letter in the second instance of Word.
activitywatchLogs202103200846.zip
Expected behavior
Should be able to see the different window titles and compute the times spent in each.
Documentation
Logs attached, using two instances of 4D. Fresh install of 4D with fresh install of AW on separate machine from which this issue was noticed.
Additional context
Word might not be a practical example since you can have multiple docs open simultaneously, but is common enough to test with. Other apps do not allow multiple projects to be open at the same time. & replicating the app solves that problem.