PopUp not visible

2012-11-27 Thread Deepak Singh
Hi, Based on an event, i invoke a long running task. Before the task starts, i show a pop up to the user and when the task finishes, the pop up is hide. Code: final PopupPanel pp = HotelClientUtil.getUpdatingPopup(); pp.center(); Scheduler.get().scheduleDeferred(new ScheduledCommand() {

Re: PopUp not visible

2012-11-27 Thread Jens
If I remember correctly PopupPanel also uses a deferred command to reposition itself to the center and then reveal itself. So the browser may not have enough time to show it before your blocking task runs because both deferred commands are executed right after each other. The best thing you