activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Set delay for popup notifications in Timeline view.

Open pqnhan opened this issue 3 years ago • 2 comments

  • [x] I am on the latest ActivityWatch version.
  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • OS name and version: Ubuntu 20.04.5 LTS
  • ActivityWatch version: v0.12.0 (rust)

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.

pqnhan avatar Aug 31 '22 15:08 pqnhan

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! 🙏

github-actions[bot] avatar Aug 31 '22 15:08 github-actions[bot]

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.

ErikBjare avatar Aug 31 '22 16:08 ErikBjare

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.

luckydonald avatar Nov 14 '22 13:11 luckydonald