Skip to content

Prepare Trayffeine 1.2.0 presence diagnostics - #14

Merged
rodrigoantonioli merged 2 commits into
mainfrom
codex-trayffeine-v1.2-presence-diagnostics
Jun 19, 2026
Merged

Prepare Trayffeine 1.2.0 presence diagnostics#14
rodrigoantonioli merged 2 commits into
mainfrom
codex-trayffeine-v1.2-presence-diagnostics

Conversation

@rodrigoantonioli

Copy link
Copy Markdown
Owner

Summary

  • Adds persistent presence compatibility mode using F15 as the effective keep-awake backend.
  • Adds effective-method tray status, copy diagnostics support, and improved menu organization.
  • Bumps Trayffeine to 1.2.0 and refreshes README, changelog, roadmap, contributor, agent, packaging, and WinGet docs.

Test Plan

  • .venv\Scripts\ruff.exe check .
  • .venv\Scripts\python.exe -m pytest
  • git diff --check

Notes

  • Real interactive Windows tray validation is still recommended before release because pystray/dialog/notification behavior is not fully covered by unit tests.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e3b5cb59a7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/trayffeine/windows.py Outdated
finally:
kernel32.GlobalUnlock(handle)

if not user32.OpenClipboard(None):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use a non-null clipboard owner

On Windows, when a user selects Support > Copy diagnostics, this opens the clipboard with a NULL owner and then calls EmptyClipboard before SetClipboardData. The Win32 clipboard docs note that this sequence leaves the clipboard owner NULL and can make SetClipboardData fail, so the new diagnostics action can log failure without copying anything. Pass a real owner HWND, such as the tray window or a hidden helper window, before emptying the clipboard.

Useful? React with 👍 / 👎.

@rodrigoantonioli rodrigoantonioli self-assigned this Jun 19, 2026
@rodrigoantonioli
rodrigoantonioli merged commit 95d8246 into main Jun 19, 2026
2 checks passed
@rodrigoantonioli
rodrigoantonioli deleted the codex-trayffeine-v1.2-presence-diagnostics branch June 19, 2026 12:40
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