Author Topic: Application Hang - Popup on MouseEvent  (Read 54932 times)

ushacomm

  • Customer
  • Newbie
  • *
  • Posts: 34
    • View Profile
Application Hang - Popup on MouseEvent
« on: July 06, 2012, 04:00:18 AM »
In our applications, where there are date fields, a modal popup Calendar is displayed on clicking the field. The popup is shown on 'MouseClicked' event.

this.addActionListener(this);
      this.addMouseListener(new MouseAdapter(){
        public void mouseClicked(MouseEvent me){
        showCalendar();
        }});

The problem is the web application hangs if we double-click on the date field (single click works OK). The application probably treats double-click as 2 separate 'MouseClicks'. In the native app, the second click is ignored as the popup is already displayed and is modal. In the web app, it takes bit more time for the popup to appear and then it hangs.

Dev Team

  • Customer
  • Hero Member
  • *
  • Posts: 593
    • View Profile
Re: Application Hang - Popup on MouseEvent
« Reply #1 on: July 06, 2012, 04:40:12 AM »
By hang you mean is hangs for 45 seconds and then works?

There was a known issue with modal dialogs when double click on button that shows them would hang for 45 seconds, this issue is fixed in latest release 4.0.1 (released yesterday) available for download.

ushacomm

  • Customer
  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Application Hang - Popup on MouseEvent
« Reply #2 on: July 06, 2012, 04:47:44 AM »
On double click, the modal dialog is shown (and I can move it around), but the dialog stops working (clicking any button on it does not work). Also browser refresh hangs.

I will check with the new kit and report.

ushacomm

  • Customer
  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Application Hang - Popup on MouseEvent
« Reply #3 on: July 09, 2012, 01:26:51 AM »
This is working now. Thank you.