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 182626

Summary: [69cat][ruby] Module subdirectory doesn't show up in project or file view until IDE loses focus
Product: ruby Reporter: esmithbss <esmithbss>
Component: ProjectAssignee: Erno Mononen <emononen>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description esmithbss 2010-03-24 05:14:38 UTC
Product Version = NetBeans IDE Dev (Build 201003220200)
Operating System = Linux version 2.6.32-trunk-686 running on i386
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13

I just created a new module in my rails project, then created a sub-module within that and used the wizard to place the submodule into its own folder.  (i.e.: Module is called Resnet, submodule is called ActiveRecord so there should be a folder tree of {project}/lib/resnet).

Following creation of the modules, the tree never updated.  I expanded the tree, shrank the tree, switched windows, etc...

After 5 minutes of trying stuff, I finally switched focus out of the IDE.  Just before the IDE lost focus, the tree updated.

I believe there is a timing issue or an event is not being dispatched properly.
Comment 1 Erno Mononen 2010-03-24 13:18:28 UTC
Is this reproducible for you? Unfortunately without a reproducible case I think this will be close to impossible to track down (I tried 20+ times w/o success). Probably the issue is in the file systems listening support.
Comment 2 Erno Mononen 2010-04-01 12:54:55 UTC
Closing as worksforme, please see the previous comment.