|
|
What happens if you move the window from one screen to the other screen and back? The expected behavior would be that the window keeps its size, as far as possible, if ... Assume the screen size is similar (e.g. 21") but the screens have different pixel sizes (effective: different resolutions, dpi).
Yes the screen sizes are similar, 21" for the 1080 and 24" for the 4k, I believe.
Yes, there is a small delay in the resizing. I've always understood that FLTK was doing some resizing of the window when moving it between mointors with different resolutions. I guess the problem is that in this particular situation where the window is popping up on the "non-active" window causes the window to appear in the incorrect position and can cause widgets to take on the wrong dimensions, as I described in the fltk-rs issue.
Screen capture: 1080p monitor on the left, 4k on the right:
https://user-images.githubusercontent.com/38958118/126364402-24674a70-df0f-4bcb-9677-ae3c6a77a75f.mp4
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |