언어 설정

Menu
Sites
Language
UI problem with intensive calcucations
Hi, all !
 
I have existing and fully working app in bada which does following on button click:
  ...
  Show_Waiting_Popup();
  ... <intensive calculations> ... // ~10 seconds
  Hide_Waiting_Popup();
  ...
  
The problem is that in Tizen this Waiting_Popup is not shown anymore.
Actually, is it treated as shown "internally", but on screen I see nothing to happen.
 
I've tried tonns of ways with RequestRedraw / Draw / Invalidate / Thread / etc.
No positive results :(
 
Please help, how can I force that Popup to be seen ????
Thanks!

Responses

5 댓글
Jaewon Cho
Did you set the owner of Popup window? https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.apireference%2FclassTizen_1_1Ui_1_1Controls_1_1Popup.html Remarks: The default owner will be the current Form (or Frame). It is possible that this control may not be visible due to this ownership relationship. In this case, use the SetOwner() method to change the ownership to the top-most window.
https://developer.tizen.org/forums/native-application-development/solved-popup-not-visible
Pushpa G
Can you attach your full code snippet here for better analysis. I tried the code as in http://developer.bada.com/help/topic/com.osp.cppapireference.help/classOsp_1_1Ui_1_1Controls_1_1Popup.html, the popup came up in Tizen emulator
Serhii Kolomiiets
> Did you set the owner of Popup window? No, I create Popup in common way. > (Nour) use Timer .. not my case, because my outer workflows will be broken. Show_Waiting_Popup() is used in many places, and methods which call Show_Waiting_Popup() are also used in many places. For simple linear cases - yes, this approach is the only working.
Danny YS Whang
Try putting in some sleep code after your popup call. Because the execution thread has not completed, the renderer is not given the opportunity to actually draw the screen. Unlike bada where the UI is working in immediate mode, Tizen is based on retained mode. So, you the system needs to be given an idle opportunity to do screen updates.