OS? Version of SFML? Does the bug appear with a minimal application (window + event loop)?
Windows 7 SFML 2.5.1 Yes:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode::getFullscreenModes()[0], "SFML works!", sf::Style::Fullscreen);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape)
window.close();
}
window.clear();
window.display();
}
return 0;
}
After a couple of seconds my anti-virus closes the program and auto-deletes it.