This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249862 - DialogDisplayer dialog freezes when invoked from TopComponent close option
Summary: DialogDisplayer dialog freezes when invoked from TopComponent close option
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-16 13:29 UTC by tusharvjoshi
Modified: 2015-07-15 07:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example of basic NetBeans app with issue demonstrated (16.06 KB, application/zip)
2015-01-16 13:29 UTC, tusharvjoshi
Details
The screenshot of the close menu option used for this issue (35.10 KB, image/png)
2015-01-16 13:30 UTC, tusharvjoshi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tusharvjoshi 2015-01-16 13:29:42 UTC
Created attachment 151548 [details]
Example of basic NetBeans app with issue demonstrated

How to reproduce:
1. Create a basic NetBeans Application
2. Create a Top Component for editor area
3. Override the componentClosed method and show a Dialog using Dialog API, ( NotifyDescriptor, DialogDisplayer )
4. Use the close option available in the right menu of topComponents for closing the top component
5. The application freezes and buttons become unresponsive
Comment 1 tusharvjoshi 2015-01-16 13:30:59 UTC
Created attachment 151549 [details]
The screenshot of the close menu option used for this issue

The close option from the right menu in screenshot
Comment 2 tusharvjoshi 2015-01-16 13:35:15 UTC
My current environment:

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.7.0_65; Java HotSpot(TM) 64-Bit Server VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b19
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\tushar_joshi\AppData\Roaming\NetBeans\8.0
Cache directory: C:\Users\tushar_joshi\AppData\Local\NetBeans\Cache\8.0
Comment 3 Ondrej Vrabec 2015-07-15 07:54:25 UTC
Seems to work fine, i don't see any freeze. Please attach a thread dump when the UI is stuck, thanks.