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.
Created attachment 150341 [details] IDE log Please try: - create a NodeJS sample project List Directory - right click on project and select Rename - check to also rename project folder (not relevant, happens in both cases) - confirm => IDE shows for a quick moment dialog asking for confirmation to update package.json but does not wait for response. The dialog disappears almost instantly. Thank you Product Version: NetBeans IDE Dev (Build 201411070002) Updates: Updates available Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Should be fixed I hope - I had to delay the dialog (currently, 500 ms). The only problem could happen when renaming the projetct folder as well - please, try it with some big(ger) project. Thanks. http://hg.netbeans.org/web-main/rev/644fd55e7fa9
Integrated into 'main-silver', will be available in build *201411080653* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/644fd55e7fa9 User: Tomas Mysik <tmysik@netbeans.org> Log: #248485 - IDE does not wait for package.json response when renaming project
Thank you, but I've noticed following: - create a NodeJS sample project List Directory - right click on project and select Rename - check to also rename project folder - confirm => randomly it sometimes asks twice, few times (rarely) I saw the original behavior where IDE does not wait for response but the dialog was displayed shortly. When I tried the same with Messages sample (after NPM install), I haven't seen the dialog at all. Product Version: NetBeans IDE Dev (Build 201411130002) Java: 1.7.0_72; Java HotSpot(TM) Client VM 24.72-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_72-b14 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Renaming a folder as well is problematic and it could easily happen that we will be not able to handle it correctly.
Code changed the way it should be but still - no luck :/ So, one case is still broken: - rename project together with its directory Could be P4 IMHO, will try to look at it later. Thanks. http://hg.netbeans.org/web-main/rev/e19ebce306ac
Integrated into 'main-silver', will be available in build *201411220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e19ebce306ac User: Tomas Mysik <tmysik@netbeans.org> Log: #248485 cont'd - IDE does not wait for package.json response when renaming project Unfortunately, renaming project with its directory as well is still broken.
Unfortunately, I am not able to fix (or work around) it, the result is the same. Lowering to P4 since only one minor case does not work. Thanks.