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

Editor times are not added to total for category #1093

Open
2 tasks done
Maxattax97 opened this issue Aug 13, 2024 · 3 comments
Open
2 tasks done

Editor times are not added to total for category #1093

Maxattax97 opened this issue Aug 13, 2024 · 3 comments

Comments

@Maxattax97
Copy link

  • 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: Fedora Workstation 40
  • ActivityWatch version: Version: v0.13.1

Describe the bug

Editor times are not added to total for category.

To Reproduce

Edit a file which has been properly tagged, but do so in a way that the editor window's title does not change to reflect the file you are editing. This happens for me because I am editing inside of vim, in a terminal which is using tmux (where the window titles summarize what I am running in that pane).

All the data is there in the tag information, it appears to be properly labeled, but if you compare the summed time it is clearly missing the editor file times.

Expected behavior

Editor file times are added. In my screenshot, this should at least exceed 38 minutes.

Documentation

image
image

Additional context

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

@Maxattax97
Copy link
Author

Possibly related to #352

@ErikBjare
Copy link
Member

Indeed similar to #352

This happens for me because I am editing inside of vim, in a terminal which is using tmux (where the window titles summarize what I am running in that pane).

I also use tmux+vim. You can configure the title line in tmux + vim to include the filepath.

Here's how I do it in my tmux config:
https://github.com/ErikBjare/dotfiles/blob/master/home%2F.tmux%2Fmaster.conf#L122-L124

And then in my vim config:
https://github.com/ErikBjare/dotfiles/blob/37b6fcecbf3a36e2236b8ed4fec720cccb8f83fc/home/.vimrc#L34-L36

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

2 participants