| Summary: | WINDOW_FULLSCREEN_DESKTOP leaves one-pixel gap on Windows | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Caleb Cornett <spydog> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.9 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
| Attachments: | Screenshot of the issue | ||
After a little more investigation, it only seems to happen when the Windows Display settings have a scaling factor that's not a multiple of 100%. For instance, 125% scaling adds a pixel-wide gap on the right side of the screen, and 150% yields the bottom gap I mentioned in the original comment. |
Created attachment 3742 [details] Screenshot of the issue Creating a window with the flag SDL_WINDOW_FULLSCREEN_DESKTOP leaves a one-pixel gap at the very bottom of screen, allowing part of the Windows taskbar to show through. You can see an example in the attached image. Reproduced with various SDL games, including Celeste and VVVVVV, as well as my own test project (shown in the image). Tested on a Surface Laptop running Windows 10 Pro, Version 1809.