ActivityWatch / ActivityWatch/activitywatch

Process names (e.g. explorer.exe) instead of window titles by aw-watcher-window

Đang mở
#674 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
stale type: bug
Ngôn ngữ chính
Python
Star
18.9k
Fork
1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
28

Mô tả

- [x] I am on the [latest](https://github.com/ActivityWatch/activitywatch/releases/latest) ActivityWatch version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.

- **OS name and version**: Windows 10 Pro 20H2 build Edition Windows 10 Pro build 19042.1237
- **ActivityWatch version**: 0.11.0

## Describe the bug
Not sure if this is actually a bug or intended behaviour, but the official screenshots imply otherwise. For window titles `aw-watcher-window` seems to log the process names (e.g. `firefox.exe` instead of `Firefox`). This also affects category matching, e.g. (case-sensitive) `Firefox` won't match the firefox application, but `firefox.exe` or (case-sensitive) `firefox` will.

This is on a fresh install.

Maybe it's relevant, I installed ActivityWatch using chocolatey https://community.chocolatey.org/packages/activitywatch

## Expected behavior
Show the window titles as shown in the official screenshots.

activitywatch3

## Documentation

activitywatch1
activitywatch2

## Additional context
I found errors in the aw-watcher-window logs but don't think they are related:

```
2021-10-07 20:18:55 [INFO ]: aw-watcher-window started (aw_watcher_window.main:51)
2021-10-07 20:18:56 [INFO ]: Connection to aw-server established by aw-watcher-window (aw_client.client:419)
2021-10-07 20:53:53 [ERROR]: Exception thrown while trying to get active window: (-2147217385, 'OLE error 0x80041017', None, None) (aw_watcher_window.main:75)
2021-10-07 20:55:52 [ERROR]: Exception thrown while trying to get active window: (-2147217385, 'OLE error 0x80041017', None, None) (aw_watcher_window.main:75)
2021-10-07 22:30:43 [ERROR]: Exception thrown while trying to get active window: (-2147217385, 'OLE error 0x80041017', None, None) (aw_watcher_window.main:75)
2021-10-07 23:33:29 [ERROR]: Exception thrown while trying to get active window: (-2147217385, 'OLE error 0x80041017', None, None) (aw_watcher_window.main:75)
```
There's more identical OLE errors

Maybe those relate to the "unknown" application.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.