Skip to content

馃悰 Dismiss stale ChatGPT summary tooltip after launch - #191

Merged
JFWooten4 merged 1 commit into
mainfrom
fix-stale-summary-tooltip-20261016
Oct 16, 2026
Merged

JFWooten4 merged 1 commit into
mainfrom
fix-stale-summary-tooltip-20261016

Conversation

@JFWooten4

Copy link
Copy Markdown
Member

Problem

Clicking the Sweetiebot Summarize with ChatGPT icon leaves its native browser title tooltip attached while the separate ChatGPT popup opens. After switching back to the PDF viewer, Chromium can display the stale tooltip at the cursor position, even away from the icon.

Fix

  • Remove the native tooltip as soon as the summary button is activated and blur the button before opening ChatGPT.
  • Preserve the accessible aria-label while the tooltip is suppressed.
  • Restore the hover tooltip only after the pointer leaves and genuinely re-enters the icon, rather than immediately on window return.
  • Add a regression test covering popup launch, return with no fresh hover, and subsequent pointer re-entry.

Verification

Confirmed the commit changes the summary-button handler and its popup regression test, and the branch is one commit ahead of main. The test suite has not been run in this environment.

Remove the native title tooltip before launching the ChatGPT summary popup, and restore it only on a genuine subsequent pointer re-entry. Cover focus return and hover restoration with a regression test.

Co-authored-by: Codex Web <noreply@openai.com>
@JFWooten4
JFWooten4 merged commit b967278 into main Oct 16, 2026
1 check passed
@JFWooten4
JFWooten4 deleted the fix-stale-summary-tooltip-20261016 branch October 16, 2026 19: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

Successfully merging this pull request may close these issues.

1 participant