SFML community forums

Help => Window => Topic started by: klepz on July 02, 2018, 11:26:20 pm

Title: Switch/Minimize window issue on Android
Post by: klepz on July 02, 2018, 11:26:20 pm
I compiled the example for Android available in branch 2.4.x, and everything went well. But when I run the .apk I have a problem during the process of minimizing / changing windows.When I click on the third button (show windows in cascade mode) the window completely crash and I can only close sfml-example via adb shell. How to deal with it?
Title: Re: Switch/Minimize window issue on Android
Post by: Mario on July 09, 2018, 10:02:21 pm
Ideally you'd listen for the sf::Event::MouseLeft event and save your app/close it, then continue next load. There are a few issues right now with lost contexts, trying to draw while the context is lost, etc. unfortunately completely lacking time right now to set something up for debugging etc.