Skip to content

Multi-window support with their own connections#98

Merged
rz-openai merged 1 commit intomainfrom
dev/rz/multiwindow
Jan 21, 2026
Merged

Multi-window support with their own connections#98
rz-openai merged 1 commit intomainfrom
dev/rz/multiwindow

Conversation

@rz-openai
Copy link
Collaborator

With multi-client connections, we can now easily support multiple windows.

@rz-openai rz-openai merged commit 705dd42 into main Jan 21, 2026
@rz-openai rz-openai deleted the dev/rz/multiwindow branch January 21, 2026 19:38
Copy link

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

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: eb802c4c7e

ℹ️ 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 on lines +66 to +68
key(window.id) {
val windowState = rememberPersistedWindowState()
Window(

Choose a reason for hiding this comment

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

P2 Badge Give each window its own persisted state

rememberPersistedWindowState() reads/writes a single preference node (WindowPreferences.kt uses a fixed WindowPrefNode), so every new window loads the exact same position/size. With multi-window support, this means “New Window” opens directly on top of the existing window (often appearing like nothing happened) and resizing/moving one window overwrites the persisted state for all others. This is user-visible whenever more than one window is open; consider using a per-window key or offsetting new windows to avoid overlap.

Useful? React with 👍 / 👎.

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