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 222441

Summary: UI freezes when opening a remote file chooser
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: RemoteAssignee: Maria Tishkova <mromashova>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexvsimon
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: full stack

Description Vladimir Kvashin 2012-11-20 05:09:31 UTC
Created attachment 128106 [details]
full stack

When invoking a file chooser with a slow remote host connection, I experienced a long UI freeze.

The key two lines from the stack are

...
at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:94)
at org.netbeans.modules.remote.api.ui.RemoteFileSystemView.getHomeDirectory(RemoteFileSystemView.java:141)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:262)
...

(Full stack attached)
Comment 1 Maria Tishkova 2012-11-28 10:31:57 UTC
Evaluation:

make FileObjectBasedFile implementation fast on new and slow on get
Comment 2 Maria Tishkova 2013-05-16 13:57:48 UTC
fixed as a part of https://netbeans.org/bugzilla/show_bug.cgi?id=224221 and https://netbeans.org/bugzilla/show_bug.cgi?id=225967

*** This bug has been marked as a duplicate of bug 224221 ***
Comment 3 Maria Tishkova 2013-05-16 14:00:02 UTC
*** Bug 225629 has been marked as a duplicate of this bug. ***