[lua] Dialog auto-resize do not refresh the UI with UI multiple windows OFF
Author: GasparokenCreated Apr 22, 2026Updated Sep 14, 2026
Labelsbugscriptingtriage
Describe the bug
Dialog auto-resize do not refresh the UI with UI with multiple windows is disabled.
To Reproduce Steps to reproduce the behavior:
- Be sure Edit > Preferences > Experimental > UI with multiple monitor is disabled.
- Execute the following script:
dialog = Dialog {
title = "Test",
}
local isVisible = true
local function ToggleMinimize()
isVisible = not isVisible
dialog
:modify{id = "Field1", visible = isVisible}
:modify{id = "Field2", visible = isVisible}
:modify{id = "Field3", visible = isVisible}
:modify{id = "Field4", visible = isVisible}
:modify{id = "Field5", visible = isVisible}
end
dialog
:color{
id = "Field1",
visible = isVisible,
color = Color {gray = 0, alpha = 255}
}
:number{
id = "Field2",
visible = isVisible,
text = "1",
}
:check{
id = "Field3",
text = "Field3",
visible = isVisible,
}
:newrow()
:check{
id = "Field4",
text = "Field4",
visible = isVisible,
}
:separator{
id = "Field5",
text = "Field5",
visible = isVisible
}
:check{
text = "Minimize",
selected = not isVisible,
onclick = ToggleMinimize
}
dialog:show{wait = false}- Check the Minimize box.
- The window is minimized, but the image representing the unminimized window is retained in the user interface.
Video
Aseprite & System:
- Aseprite: 1.3.17
- System: macOS Tahoe 26.4
Source: aseprite/aseprite