Comments (5)
Hmm, I can't replicate this on the current main branch on Win 10. Everything passes for me, whether I run just the individual test or the whole suite.
from sdl.
Okay, I’ll dig in here, thanks!
from sdl.
Hmm, so what's happening is that the window is maximized, then transitioned to fullscreen, then out of fullscreen, then restored. WM_WINDOWPOSCHANGING is called with the full desktop size in the restore call. What behavior are you seeing there?
from sdl.
When I break in the WM_WINDOWPOSCHANGING message during the restore call and cast lParam to WINDOWPOS, I see the correct, original windowed size and position (Win 10 22H2, all the latest updates).
This sounds like a bugged behavior change in Windows where it's using the size and position from the previous window state vs the previous windowed window state.
from sdl.
Ugh, okay, thanks. I'll leave this open for now, but I'm not sure what the fix would be.
from sdl.
Related Issues (20)
- Remove SDL_Colour macro HOT 1
- Remove SDL_WinRTGetFSPath HOT 3
- Fix case on SDL_eventaction HOT 3
- SDL3 audio playback progress? HOT 2
- Reduce SDL_Event padding? HOT 4
- [macos] SDL3.xcframework installed in /Library/Frameworks, clang not finding framework HOT 1
- FIXME in SDL_haptic.h HOT 2
- Remove SDL_KMOD_RESERVED? HOT 2
- Add the missing types/macros equivalent to C99 stdint.h and inttypes.h HOT 4
- Should SDL_GetTouchFinger return a const pointer? HOT 1
- [SDL3] `error: incompatible types for redefinition of 'alloca'` when using TCC
- [SDL3] `SDL_InitSubSystem()` memory leak? HOT 4
- SDL_VIRTUAL_JOYSTICK_DESC_VERSION HOT 2
- "This hint should be set before enumerating controllers."
- Bug in SDL 3.1.0: SDL_CreateRenderer doesn't respect "vsync off" on direct3d11 renderer..
- Fix-case SDL_Keycode SDL_KeyCode SDL_Keymod SDL_Scancode HOT 4
- Windows SDL_INIT_GAMEPAD setting errors on success. HOT 1
- SDL_OpenCameraDevice doesn't handle some width and height
- SDL_SetRendererTextureWrap() would be a nice addition HOT 1
- Can't receive any events if create SDL_Window from AvaloniaUI NativeControlHost on x11. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.