cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX New Screen Gesture Loading Slow

jowyccs
Associate

GoodDay all stm32 developers,

 

My company having a IoT device that running touchGFX via SPI screen using stm32wb55, we found an issue that when switch to another screen, by calling button callback.

buttoncallback:
{
FrontendApplication *const poApp = static_cast<FrontendApplication *>(Application::getInstance());
if(p_gui_obj->contr_mgr.pending_screen_type != p_gui_obj->contr_mgr.curr_screen_type) poApp->gotoSettingScreenNoTransition();
}

While the LCD display transit to new screen, SettingScreen, at very first moment the button and toggle switch , slider able to react but the handleDragEvent

void SettingView::handleDragEvent(const DragEvent& event)

unable to get DragEvent until a short waiting like 2 seconds, is there any solution we can implement to shorten the wait time before the user could having a gesture input after a screen change?

Thank you for your help in advance, I know you all have more experience than me.

0 REPLIES 0