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 244099 - Cannot cancel the "saving snapshot" task.
Summary: Cannot cancel the "saving snapshot" task.
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 8.0
Hardware: PC Other
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-26 18:54 UTC by schulte2004
Modified: 2014-04-26 19:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example project. (2.70 KB, application/zip)
2014-04-26 19:33 UTC, schulte2004
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schulte2004 2014-04-26 18:54:35 UTC
When a form is taking some time to load due to some component in use initializing slowly, opening the form with the GUI builder may make the IDE save a snapshot. Saving that snapshot may take minutes making the IDE unusable if pushing the garbage collector heavily (-Xmx1G) although that snapshot is of no interest as the slowness detected is not related to the IDE but to the (slow) component in use. I would like to request an option to either let the user cancel the "saving snapshot" task or to let the user confirm the snapshot to be saved at all. For example: "Slowness detected. Do you want to save an IDE snapshot ? Yes|No"
Comment 1 schulte2004 2014-04-26 19:33:39 UTC
Created attachment 146957 [details]
Example project.

Example project demonstrating the issue. Just compile the project and open the 'Panel' class with the GUI builder afterwards.