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 11744 - Quick Browse shows a selection in an improper view
Summary: Quick Browse shows a selection in an improper view
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 14124 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-04-25 16:26 UTC by Jan Pokorsky
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Jan Pokorsky 2001-04-25 16:26:35 UTC
[dev, RC3]
Enabled Editor Toolbar is prerequisite.

Steps to reproduce:
1. open java source file
2. select any member from the quick browse
3. perform a clone view action
4. select any member from the quick browse of the cloned view

The cloned view is switched to the original one and selected member is shown 
there.
Comment 1 Svata Dedic 2001-04-25 16:34:51 UTC
Not exactly a bug (from the code point of view, of course), but I'll try to
handle this somehow. The quickbrowse combo in fact opens the element represented
by the node which the user selects. That element is associated with an
DataObject, that means some specific Editor window...
That simply means that there has to be some layer between the quickbrowser and
the underlying data - we'll see in NetBeans 3.3 :-(
Comment 2 Jan Pokorsky 2001-04-25 17:09:52 UTC
Such a behavior is pretty annoying when you want to take advantage of cloned 
views IMO. Anyway I think it is really a bug (maybe component should be set to 
ui). BTW also when you use 'popup menu->go to source' the same occurs. But for 
an intagration to 3.2 is likely late indeed. It's a pity.
Comment 3 Jan Chalupa 2001-05-05 23:19:59 UTC
Target milestone -> 3.3
Comment 4 Svata Dedic 2001-05-09 11:31:25 UTC
I don't think that this is an UI matter - the problem lies in the 
infrastructure or common patterns of its usage. The QuickBrowser just "opens" 
a method element of the source, leaving the method element entity to perform 
the open action. But, since there is exactly one method object (shared in 
multiple views - editors, explorers,...) it will manipulate with some 
pre-defined editor window.
This particular bug can be fixed by introducing special nodes that pay 
attention to the contents of top component in which they are inserted, 
manipulating with that topcomponent, if possible.

Comment 5 Svata Dedic 2001-08-20 08:05:26 UTC
*** Issue 14124 has been marked as a duplicate of this issue. ***
Comment 6 Svata Dedic 2001-09-10 15:16:26 UTC
Fixed in dev trunk.
Comment 7 Jan Pokorsky 2001-09-12 14:27:18 UTC
[dev 200109121349] Try the latest build. Quick Browse does not work at 
all in origin editor window either. If you choose any element in the 
browse list the editor does not show proper line.
Comment 8 Svata Dedic 2001-09-12 18:51:31 UTC
And fixed again...
Comment 9 Jan Pokorsky 2001-09-13 13:47:22 UTC
Great, that's it. Verified.

thanks Svato
Comment 10 Quality Engineering 2003-07-01 13:16:32 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.