I'd love to share some code with you, but I'm not sure what to give you, because the whole project is big.So let's try to reproduce it with a very short code ;)
I think its even more simple. In your render loop make sure you call RenderWinow.DispatchEvents().There is no DispatchEvents() function in SFML.While (RenderWindow.IsOpen())
{
renderwindow.DispatchEvents();
}
I've also noticed that if the size of the RenderWindow is set too high that the window simply does not show up.This. This was the problem.
When you say "this is how the OS behaves," are you saying that the OS is refusing to display the window?Yes.
Either way, it seems like if the currently set size for an SFML window is such that no window will appear at all, then the most reasonable thing to do is to shrink it to a size so that the window will at least appear. Yes, the programmer may be upset that the window is not the size they expected, but hopefully noticing that the window exactly fits the width and/or height of their monitor will be a pretty big hint as to what happened. But for no window to appear at all, that's just baffling.Agreed. You can open an issue in the tracker so that I don't foget it :)