ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
12.74k stars 566 forks source link

Set delay for popup notifications in Timeline view. #779

Open pqnhan opened 2 years ago

pqnhan commented 2 years ago

Describe the bug

Viewing the details of each event in this new version (0.12.0) is quite "annoying" compared to the previous version (0.11.0).

The popup messages kept jumping when I hovered over events and made it harder for me to focus on seeing each event in detail. Is it possible to set a delay for them?

Any instructions are appreciated.

To Reproduce

AW - 2022-08-31

This gif has a lower fps than the actual Timeline view pop-up notifications.

github-actions[bot] commented 2 years ago

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 commented 2 years ago

I think this is a downstream effect from us updating the vis-timeline library, which presumably changed its default.

Edit: Actually, when googling "vis-timeline tooltip delay" one of the top results was a feature request for ActivityWatch to make the tooltips instant, and linked this merged PR: https://github.com/ActivityWatch/aw-webui/pull/309

Not sure what's the better behavior here. Adding a setting for it seems excessive, but maybe that's the way... alternative ideas welcome.

luckydonald commented 2 years ago

I honestly would love a click-to-toggle approach here. Like additional to hover, it's nice if you want to copy text from it or click the link.