-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedDS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendP - highVital to haveVital to have
Description
Declaring one windows as owner will make the owner window invisible which is unintentional and a regression from 0.25.
Seems to be caused by #1933
Minimum example:
fn main() -> anyhow::Result<()> {
let event_loop = EventLoop::new();
let owner = WindowBuilder::new()
.with_title("owner")
.build(&event_loop)
.unwrap();
let child = WindowBuilder::new()
.with_title("child")
.with_owner_window(owner.hwnd() as _)
.build(&event_loop)
.unwrap();
event_loop.run(move |event, _, control_flow| {
*control_flow = ControlFlow::Wait;
})
}maroider
Metadata
Metadata
Assignees
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedDS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendP - highVital to haveVital to have