Skip to content

Release Scientific Illustrator 1.5.1 background focus fix - #2

Merged
icebird1998 merged 1 commit into
mainfrom
codex/background-focus-mode
Jul 31, 2026
Merged

Release Scientific Illustrator 1.5.1 background focus fix#2
icebird1998 merged 1 commit into
mainfrom
codex/background-focus-mode

Conversation

@icebird1998

Copy link
Copy Markdown
Owner

What changed

  • add powerpoint_set_focus_policy with safe preserve default and opt-in foreground mode
  • stop ordinary Windows PowerPoint COM mutations from calling window activation
  • use background open -g refresh for Mac PowerPoint OOXML and Mac WPS
  • use no-activate launch plus foreground restoration for Windows WPS/OOXML
  • keep powerpoint_activate_slide as the explicit foreground handoff
  • bump the plugin, MCP servers, and Office.js manifest to 1.5.1
  • document the behavior and add cross-platform focus-policy regression coverage

Why

The previous presentation backends foregrounded PowerPoint or WPS after individual drawing operations. On Mac OOXML this came from repeated open -a refreshes; on Windows COM it came from ActiveWindow.Activate(). Users could not continue working in other applications while a long reconstruction ran.

Impact

Presentation drawing now keeps the user's current application focused by default. Users who want to watch every step can explicitly switch to foreground. draw.io continues to use its graph/CDP channel and does not repeatedly take focus after launch.

Validation

  • full repository and MCP smoke suite passed
  • 33 PowerPoint tools discovered, including the new focus-policy tool
  • Office.js HTTPS bridge smoke tests passed
  • new focus-policy regression suite passed
  • Mac PowerPoint real-app check kept ChatGPT frontmost before launch, after background launch, and after an object mutation

Windows PowerPoint/WPS code paths are covered by protocol/static regression checks; a final physical Windows/WPS smoke test is still recommended.

@icebird1998
icebird1998 merged commit 493bd02 into main Jul 31, 2026
2 checks passed
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