Comments (3)
Might be related, activitywatch also doesn't properly shut down at all when I click the "quit" from the trayicon on MacOS.
killall aw-qt
works though, both from terminal started and the app version.
from aw-qt.
This is still a problem
from aw-qt.
I am on Arch Linux using Awesome WM v4.3. I run AW via the desktop file and xdg-autostart.
I wanted to report that I faced the issue where aw-watcher-afk and aw-watcher-window flood the terminal with messages after shutting down the window manager using AW v0.11.0.
If I build the latest development branch (as of today), I do no longer see the issue. Instead what happens is that aw-watcher-afk and aw-watcher-window die once aw-qt is killed by shutting down the window manager. aw-server keeps running and when restarting the window manager a warning pops up that aw-server is already running. Previously, all three (aw-watcher-afk, aw-watcher-window, aw-server) would keep running and there would be three error pop-ups when restarting the window manager.
I tried to find out what makes this difference and one thing that I noticed is that with v0.11.0 there are two processes for each each of aw-qt, aw-server, aw-watcher-window, aw-watcher-afk. It seems like they get started twice but then only one process is handled by the shutdown code.
Regarding the shutdown code itself, I don't actually see the obvious flaw in traycon.py. If I run aw-qt manually and send SIGTERM (that's what killall sends too on my machine) or SIGQUIT, in both cases everything shuts down properly. The only issue is SIGKILL because that implicitly kills the watchers, but not the server (which could be considered okay behavior).
TL;DR: I don't longer see the issue in the latest development build and I am not sure that the shutdown code was the issue to begin with.
from aw-qt.
Related Issues (20)
- I can't start the newest Activity Watch
- Suggestion: Add open config folder button HOT 2
- aw-qt is not very good at managing modules
- Configurable available and autostart modules HOT 3
- Cannot start on macOS Catalina HOT 3
- Build fails on Ubuntu 20.04 HOT 1
- Make aw-qt save logs instead of each module HOT 5
- tray-icon "Open Dashboard" uses the wrong browser on ubuntu 20.04 HOT 3
- On macOS, the bundled modules are incorrectly listed as system modules
- "Open log folder" opens a web browser HOT 2
- Use port from config
- Systray icon is missing on Fedora 35 KDE plasma 5.23 HOT 3
- Separate the manager from the UI HOT 2
- Create a source-tarball on release HOT 4
- No tray icon on GNOME Wayland HOT 3
- Install fails on older Ubuntu/Mint due to PyQt6
- Unable to find system modules on macOS
- Application exits prematurely if QSystemTrayIcon.isSystemTrayAvailable() is false
- Refresh module feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aw-qt.