[GTK] Closing a View window closes them all
Open
@qtxie is already working on this.
Since Jan 21, 2026.
Assessment
This issue has not been assessed yet.
Description
GUI.GTK
type.bug
To reproduce:
Red [Needs: View]
view/no-wait [button "I have the focus!" focus [print "ok"]]
me: view/no-wait [button "Close" focus [unview me]]
do-events
Close the second window, either from the button or the [x] window gadget, both windows will be closed!
Expected behavior: only current window closing.
NB: once fixed, check for possible regression caused by the fix for #5672
- Dominant language
- Red
- Stars
- 6k
- Forks
- 416
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from red/red
-
type.bug
-
type.bug type.GC
-
GUI.GTK
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
GUI.GTK
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
type.bug type.GC
Difficulty 4/5 3-5 days Newbie friendliness 35/100