Well, I did actually read the documentation and ended up reading every relevant tutorial. Nowhere does it have anything relating to my problem. They all assumed that there wouldn't be a problem with something so simple.
Like Nexus said, don't take it for yourself, that wasn't targeted to anyone in particular. Don't play the victim too much
But since you mention it, the doc and tutorials
do have the solution. Both the main page of the doc and the "getting started" tutorials have a minimal code sample that shows how to clear/draw/display in the right order. Of course this applies only to the beginning of the discussion, after you said that you tried other combinations it became a different problem.
Once again, I came here and asked when I pretty sure the problem had nothing to do with my code. And it didnt, considering it worked just fine on my Linux VM.
Of course but you should have made it clear in your first post. All that people saw at the beginning was this totally obvious error, and thus focused on that. And again, my statement was not about you.
Anyway, this thread has completely turned me off from this entire library. I will not be recommending this to anyway, and I will be dropping the library myself.
That's your choice, but I think it's a very bad reason. It implies that you choose your tools according to your feelings, instead of the usual technical details (design of the API, documentation/tutorials, features, ...). And because you didn't like a single user's posts doesn't mean that SFML is a bad library. Although I'm the administrator, I can't control what every user says on the forum.
By the way, I tried to be helpful and asked you a question, you never answered.