Question
Touchgfx Simulator Crashes After Screen Rotation and Change Screen
// To regenerate crash, follow these steps
// In simulator mode
// 1. Rotate screen
if (touchgfx::HAL::getInstance()->getDisplayOrientation() == touchgfx::ORIENTATION_PORTRAIT)
{
touchgfx::HAL::getInstance()->setDisplayOrientation(touchgfx::ORIENTATION_LANDSCAPE);
}
else
{
touchgfx::HAL::getInstance()->setDisplayOrientation(touchgfx::ORIENTATION_PORTRAIT);
}
// 2. Go to other screen
application().gotoScreen2ScreenCoverTransitionEast();
// CrashThere is probably a bug after rotating screen in simulator mode.
Additionally, in debug mode (on hardware) when I apply screen rotation, it is not validated. If I change screen to another one, rotation is applied but with glitches in pixels.
