Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Switch/Minimize window issue on Android  (Read 1119 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 5
    • View Profile
Switch/Minimize window issue on Android
« 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?
« Last Edit: July 02, 2018, 11:28:57 pm by klepz »


  • SFML Team
  • Hero Member
  • *****
  • Posts: 877
    • View Profile
Re: Switch/Minimize window issue on Android
« Reply #1 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.