Skip to content

Save and clone floating group without bounds - #38

Merged
sylvestre merged 1 commit into
opencollab:masterfrom
danilovesky:fix-floating-group-without-bounds
Nov 22, 2026
Merged

sylvestre merged 1 commit into
opencollab:masterfrom
danilovesky:fix-floating-group-without-bounds

Conversation

@danilovesky

Copy link
Copy Markdown
Contributor

Skip the null bounds in FloatingGroupSerializer.serialize and FloatingGroup.clone instead of throwing an NPE.

Fixes #32

A floating group's bounds stay null until its frame is shown, so
FloatingGroupSerializer.serialize and FloatingGroup.clone threw
NullPointerException for such a group, as did Layout.clone, which
clones every group.

Fixes opencollab#32
@mergify

mergify Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

This pull request is merged.

@sylvestre
sylvestre merged commit 7b59957 into opencollab:master Nov 22, 2026
7 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

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.

Floating group without bounds cannot be saved or cloned

2 participants