1
Window / Bug on Windows with 4k screens and scaling setting
« on: June 17, 2019, 10:47:56 pm »
Hello, I've found the following bug and I don't know if the culprit is SFML or Windows.
The bug does involve 4k screens and the GUI scaling setting of Windows.
If I run a fullscreen window with a scaling setting different from 100% then it appears as in the following image.
If I change the scaling setting to 100%, the bug disappears. Another important variable is the scaling that was set when the operative system initialized.
I tried different combinations (the native screen resolution is 3840*2160):
A) The OS starts with 100% scaling.
1) Fullscreen at 3840*2160 -> OK
2) Fullscreen at 1920*1080 -> OK
3) Fullscreen at 1366*768 -> OK
B) The OS doesn't start with 100% scaling
1) Fullscreen at 3840*2160 -> OK
2) Fullscreen at 1920*1080 -> BUG
3) Fullscreen at 1366*768 -> BUG
C) The OS starts with 100% scaling and I change the scaling to another value without restarting.
1) Fullscreen at 3840*2160 -> BUG
2) Fullscreen at 1920*1080 -> BUG
3) Fullscreen at 1366*768 -> BUG
D) The OS starts with scaling different from 100% and I change it to 100% without restarting.
1) Fullscreen at 3840*2160 -> OK
2) Fullscreen at 1920*1080 -> OK
3) Fullscreen at 1366*768 -> OK
I'm sorry if the bug was already reported. I even don't know it this is the right section to report bugs, but I couldn't find a specific bug section.
The bug does involve 4k screens and the GUI scaling setting of Windows.
If I run a fullscreen window with a scaling setting different from 100% then it appears as in the following image.
If I change the scaling setting to 100%, the bug disappears. Another important variable is the scaling that was set when the operative system initialized.
I tried different combinations (the native screen resolution is 3840*2160):
A) The OS starts with 100% scaling.
1) Fullscreen at 3840*2160 -> OK
2) Fullscreen at 1920*1080 -> OK
3) Fullscreen at 1366*768 -> OK
B) The OS doesn't start with 100% scaling
1) Fullscreen at 3840*2160 -> OK
2) Fullscreen at 1920*1080 -> BUG
3) Fullscreen at 1366*768 -> BUG
C) The OS starts with 100% scaling and I change the scaling to another value without restarting.
1) Fullscreen at 3840*2160 -> BUG
2) Fullscreen at 1920*1080 -> BUG
3) Fullscreen at 1366*768 -> BUG
D) The OS starts with scaling different from 100% and I change it to 100% without restarting.
1) Fullscreen at 3840*2160 -> OK
2) Fullscreen at 1920*1080 -> OK
3) Fullscreen at 1366*768 -> OK
I'm sorry if the bug was already reported. I even don't know it this is the right section to report bugs, but I couldn't find a specific bug section.