Languages

Menu
Sites
Language
App crash with "[E_INVALID_OPERATION] VisualElement with User-Surface do not allow invalidating and redrawing." log.

My app uses OpenGL and Keypad.

After rotating the screen, sometimes, my app crashed with the following log when it showed keypad.

I would like to know whether it is Tizen bug or my fault.

If I don't show keypad then my app doen't crash while or after rotating the screen.

 

[Here is the log before the crash]

12-09 15:19:36.015 : ERROR / Tizen::Graphics ( 20850 : 20850 ) : result Tizen::Graphics::_Text::TextObject::Draw(Tizen::Graphics::_CanvasImpl&)(442) > [E_SYSTEM] Fail to get clip rectangle.

12-09 15:19:36.725 : ERROR / Tizen::Ui::Animations ( 20850 : 20850 ) : result Tizen::Ui::Animations::_VisualElementImpl::InvalidateRectangleI(const Tizen::Graphics::FloatRectangle*)(6041) > [E_INVALID_OPERATION] VisualElement with User-Surface do not allow invalidating and redrawing.

 

Responses

2 Replies
hgw7

What are you trying to re draw in the OnOrientationChanged() call back ?

Chris Jin

Hi hgw7,

 

I recreate my ScrollPanel control (which has the keypad) and add it to my form, and I redraw my screen with OpenGL API. These actions are OK in the OnOrientationChanged() function without Keypad, but If I show keypad and make the screen rotated then sometimes my app crashes.

 

Thanks.