export-interface primitive not working in child models
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 20
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
In an LS child model, opened via ls:load-gui-model, the export-interface primitive produces an empty file (with the correct name).
To recreate:
- Open an LS GUI child model
- In the command center, enter
export-interface "test.png"
The resulting file is created, but empty.
export-view works just fine. Also, perhaps this would be a useful menu item for opened LS models? In regular old NetLogo, you can do File > Export... > Export Interface... but that Menu item is not present when an LS model is the active window.

I'd upload the empty file... but GitHub won't let me.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening an LS GUI child model with ls:load-gui-model and running export-interface "test.png"; compare its handling with the working export-view path. Done means the generated PNG is non-empty and contains the interface; the missing File > Export... > Export Interface menu can be considered separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100