Skip to content

Conversation

@nafg
Copy link

@nafg nafg commented Nov 20, 2025

I used Claude Code for this. It fixed the issue for me but I can't vouch for the code. I don't know the codebase and I don't know python too well. But the diff is small enough that hopefully you won't mind looking it over.

It did fix the issue though. At first (after installing from source and spending a LOT of time trying to get it to find dlib) the UI window would just stay open. This seems to have solved that.

AI DESCRIPTION:

The GTK window would remain open after authentication completed because it never detected when compare.py finished.

Changes:

  • authsticky.py: Detect EOF on stdin and exit gracefully when the parent process closes the pipe
  • compare.py: Properly close stdin and wait for GTK process to exit before force-killing it

This ensures the authentication window closes automatically instead of requiring the user to manually click to close it.

The GTK window would remain open after authentication completed because
it never detected when compare.py finished.

Changes:
- authsticky.py: Detect EOF on stdin and exit gracefully when the parent
  process closes the pipe
- compare.py: Properly close stdin and wait for GTK process to exit
  before force-killing it

This ensures the authentication window closes automatically instead of
requiring the user to manually click to close it.
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

Successfully merging this pull request may close these issues.

1 participant