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.
NetBeans IDE 6.0 Beta 1 (Build 200709041200) Windows Jdk1.6.0_01 1. Create a project and drop a component on the designer. 2. Either press "save all" icon for the page followed by File -> "Close WebAppXX" (or File-> "Close WebAppXX" and then save all) 3. File-> Open Recent Project >The page opens to .jsp view and not the design view After talking with Quy and Po-Ting, this is likely to have been caused by the fix to 105318. This also affects migrated projects. Although this does not affect functionality, it does affect the visual appearance and we might want to consider this as a P1.
Originally, both the 'open' and 'edit' actions for JSP files caused the designer to open. This was fixed in 105318, so now the 'edit' action opens the JSP tab, which is the correct behavior. The issue here is that the project utilities favor the edit action over the open action. The same issue occurs with other multiview components, including the form editor. Note that the original view when closing does not matter during project reopen since that state does not appear to be saved.
Project ui cannot save the way how the file was displayed when the project was closed, it can be any tab, compare: JSP -> JSP, Java, Design Sun Web XML file -> General, Servlets, Security, Web Services, Messaging, Environment, XML It needs to be saved with the file and its loader then will switch to correct view. Removing regression kw since, it never worked this way. Acc. to Bug Priority Guidelines it seems that P3 is proper priority. Reassigning back.
Quy, looks like fix in 105318 makes the whole UI worse (P3 to P1/2)! You may want to redo your fix.
The fix should be for the project open utilities to use the OpenCookie before the EditCookie when opening files from a project. The default when opening a file from a previously closed project should be the default opening action (i.e. the action when double-clicking on the file from the project node).
There is an old request for this issue, with proposal: > 3. Change project opening to also call the default action on the file's node.
calling open instead of edit will not fix the issue. it will just move it elsewhere. after your suggested change it will do this: "if you close the document in jsp view it will open in design view" which is equally wrong as the issue you are reporting -> WONTFIX.
> Quy, looks like fix in 105318 makes the whole UI worse (P3 to P1/2)! You may want to redo your fix. Quy, I think we better back out your fix for 105318. This issue is more serious than that one!
Checking in src/org/netbeans/modules/visualweb/project/jsfloader/JsfJspDataObject.java; /cvs/visualweb/project/jsfloader/src/org/netbeans/modules/visualweb/project/jsfl oader/JsfJspDataObject.java,v <-- JsfJspDataObject.java new revision: 1.10; previous revision: 1.9 done
Verified NetBeans IDE Dev (Build 200710231200) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02