It seems like it never ends with the fullscreen multi-monitor issues on Linux. 2.5.1 is infinitely better than the old behavior, but there's still one weird thing going on for me. What's frustrating is that I tested the multi-monitor patches prior to 2.5.1 being released, and I don't remember running into this. Note that this is with Linux Mint Cinnamon 19.1, I haven't tried any other desktop environment.
When I go into fullscreen, the titlebar area clips through to show the desktop background. If I alt tab and then reenter the program, the fullscreen covers the entire screen. In other words, if I alt tab and then reenter the program, it then fixes the issue / behaves as it should.
https://i.imgur.com/7JHaVA7.jpgI've also gotten the taskbar area to show through instead of the titlebar area, but I don't have a screenshot of this as I can't seem to reproduce this one reliably. I'm not sure what the trigger is there.
Here's my monitor setup. It's just two 1920x1080 monitors side by side. Note that this does not happen when the displays are mirrored.
https://i.imgur.com/PBzvAI5.pngI can reproduce the issue with the following code
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode::getDesktopMode(), "SFML", sf::Style::Fullscreen);
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
Anyone else running into this?