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 8485 - when a cloned window is operated upon, the original window still is used for some actions
Summary: when a cloned window is operated upon, the original window still is used for ...
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 normal (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-20 21:52 UTC by Peter W Carlson
Modified: 2008-12-22 16:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter W Carlson 2000-11-20 21:52:48 UTC
If I have a window (A) and make a clone (B) then I can do things like:
(if it is a JSP) select "show code in servlet" on window B and it will happen on
window A.
(if it is Java code) If I have a compilation error and I have B selected, then I
click on the error in the output window, the source is shown in A rather than B.
Comment 1 Damian Frach 2000-11-21 09:33:59 UTC
*** Bug 8479 has been marked as a duplicate of this bug. ***
Comment 2 Jan Chalupa 2001-03-12 09:35:40 UTC
Version: 'Dev' -> 3.2
Comment 3 David Simonek 2001-04-26 09:12:56 UTC
reassigned to Marek, this bug is something in CloneableTopComp + editor supports.
Comment 4 Jan Chalupa 2001-05-05 20:35:37 UTC
Target milestone -> 3.3
Comment 5 mslama 2001-05-17 10:23:44 UTC
I checked that in Netbeans dev build 189: The popup menu item is ViewServlet and
is available on JSP (html) node in Explorer - Filesystem. It is NOT available in
popup menu in Source Editor.

If you select item ViewServlet on node it is not clear where should be servlet
code opened. By design editor top component is opened in Source Editor. If we
would think about opening servlet code elsewhere following scenarios are possible:
1. Nothing is opened -> open servlet in Source Editor.
2. JSP is opened in Source Editor -> open servlet in Source Editor
3. JSP is opened elsewhere but only once -> probably open servlet at the same
window as JSP is opened
4. JSP is opened more than once -> how to select 'correct' place? This can
include a number of cases.

I think this enhancement would require a lot of effort to solve just special
case of JSP. I would suggest simple workaround: After servlet is opened you can
dock it into preferred window.

Any comments? Any other actions do not work as expected?

Comment 6 mslama 2001-05-21 12:59:04 UTC
No response so I close this issue. If you have any suggestion how to improve
behaviour more generaly please give it here and reopen issue.
Comment 7 mslama 2001-05-21 13:07:37 UTC
I checked compilation action and it works fine. I opened java source and cloned
it. When I press F9 to compile and some errors are in source when I click on
error message in Output window correct source window is selected (according what
source window was selected when I pressed F9). I checked it with dev build 192.
Comment 8 Quality Engineering 2003-07-01 16:07:28 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 9 Quality Engineering 2003-07-01 16:33:16 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.