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

Opt-out for window title tracking #59

Open
cunidev opened this issue Oct 4, 2019 · 6 comments
Open

Opt-out for window title tracking #59

cunidev opened this issue Oct 4, 2019 · 6 comments

Comments

@cunidev
Copy link

cunidev commented Oct 4, 2019

Window titles, especially in browsers, tend to leak a lot of private data (e.g. Gmail's <title> exposing e-mails, all text editors exposing document names, etc.).

An easy-to-configure "kill switch" flag to discard any "window title" data from watchers would solve this issue and be arguably even more suitable if enabled by default for most users.

@cunidev
Copy link
Author

cunidev commented Oct 4, 2019

Just an example of how intrusive this data can't be, scrolled not to include my personal email, Twitter chat names and a purchase confirmation e-mail title including product names.

image

@ErikBjare
Copy link
Member

ErikBjare commented Oct 4, 2019 via email

@cunidev
Copy link
Author

cunidev commented Oct 5, 2019

I just discovered that aw-watcher-window already supports this feature, though not documented and only as a run-time argument instead of something in the configuration file. Should an "incognito" parameter (possibly with some levels) be added at config level for watchers to know what kind of data to ignore?

@johan-bjareholt
Copy link
Member

I just discovered that aw-watcher-window already supports this feature, though not documented and only as a run-time argument instead of something in the configuration file.

Oh right, I had forgotten about that completely.

Should an "incognito" parameter (possibly with some levels) be added at config level for watchers to know what kind of data to ignore?

Filter specific titles seems a bit excessive and would probably be a bit overkill, but if you have a use-case for a exclude-title property in the config feel free to add that.

Still though, the best solution for your use-case sounds like it should be to just to start aw-watcher-window with the --exclude-title flag.

@cunidev
Copy link
Author

cunidev commented Oct 6, 2019

Actually my main concern was a lack of a GUI frontend for this. As I'm working on a Gtk GUI for AW, I wanted to make sure this aspect was easily configurable by the user (why not, if all other options are expressed in a dedicated configuration file?). So ok, I'll work on that soon. Could we move this issue to aw-watcher-window?

@cunidev
Copy link
Author

cunidev commented Oct 6, 2019

I've made a PR here, feel free to review it: ActivityWatch/aw-watcher-window#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants