-
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 backend
Description
run the fullscreen example on latest master branch:
> cargo run --example fullscreen
Finished dev [unoptimized + debuginfo] target(s) in 0.23s
Running `target\debug\examples\fullscreen.exe`
Monitor: Some("\\\\.\\DISPLAY1")
Mode: 0x240 @ 0 mHz (1080 bpp)
Keys:
- Esc Exit
- F Toggle exclusive fullscreen mode
- B Toggle borderless mode
- S Next screen
- M Next mode for this screen
- D Toggle window decorations
- X Maximize window
- Z Minimize window
Setting mode: Some(Exclusive(VideoMode { size: (0, 240), bit_depth: 1080, refresh_rate_millihertz: 0, monitor: MonitorHandle(2690321) }))
thread 'main' panicked at 'assertion failed: res != DISP_CHANGE_BADMODE', src\platform_impl\windows\window.rs:524:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\examples\fullscreen.exe` (exit code: 101)
regression comes from the windows crate (microsoft/windows-rs#2138), the fix is still not released.
actually not a winit bug, but this should block #2600
Metadata
Metadata
Assignees
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedDS - win32Affects the Win32/Windows backendAffects the Win32/Windows backend