Giter Club home page Giter Club logo

Comments (3)

xylix avatar xylix commented on June 3, 2024

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.

Kj-is-escape avatar Kj-is-escape commented on June 3, 2024

This is still a problem

from aw-qt.

felixmde avatar felixmde commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.