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 127061 - Click on an error message in the visual editor opens jsp editor instead of java editor
Summary: Click on an error message in the visual editor opens jsp editor instead of ja...
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 14:27 UTC by Tim Lebedkov
Modified: 2009-11-02 11:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (5.23 KB, image/png)
2008-02-09 14:28 UTC, Tim Lebedkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2008-02-09 14:27:56 UTC
see attached screenshot
Comment 1 Tim Lebedkov 2008-02-09 14:28:13 UTC
Created attachment 56379 [details]
Screenshot
Comment 2 Peter Zavadsky 2008-02-11 18:16:50 UTC
This depends on the OpenCookie vs. EditCookie setup in the loader. I believe there were made some incorrect changes in
order to satisfy the incorrect impl of project creation vs. project open. Passing there.
Comment 3 Quy Nguyen 2008-02-11 20:59:06 UTC
This doesn't have anything to do with the OpenCookie/EditCookie hacks that were done to correct the project open case. 
It looks like the problem is that the designer multiview tc has multiple editor panes (java and jsp editors).  The
MultiViewCloneableTopComponent.ensureVisible() method arbitrarily chooses an editor pane to display when it is called. 
When this method is used in CloneableEditorSupport.openAtImpl(), the JSP tab is always opened if it has been initialized.

Comments in the MultiViewCloneableTopComponent.findPaneElement() method seem to indicate that this is a known limitation
with that implementation.
Comment 4 David Simonek 2008-02-29 13:20:32 UTC
mkleint could you help or at least give advice? Btw what is correct IZ component for multiview?
Comment 5 Milos Kleint 2008-02-29 14:31:17 UTC
core/windows is the right component, assigned to me.
And yes, the multiview always assumed just one cloneableeditor support tab within the multiview. I'm wondering it even
works. 
It's major pain in the ass to even get one work within the multiview unfortunately. :(
Comment 6 Milos Kleint 2009-04-10 15:22:16 UTC
-> later, unlikely to get done any time soon.
Comment 7 Tim Lebedkov 2009-04-18 19:50:31 UTC
ok
Comment 8 Quality Engineering 2009-11-02 11:04:36 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX