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.
I use internal Swing browser. I invoke Show JavaDoc action and dock result browser into e.g. Explorer. Then if I again invoke the action a _new_ browser is opened instead of reusing and focusing the docked one.
The action is implemented in the Editor module; reassigning. BTW it may be posisble that TopManager.showURL() misbehaves, but I can't decide from the method's documentation.
Reassigning to openide. Editor uses TopManager.showUrl() and it seems that the problem could be there. (I cannot reproduce this bug on Windows2000 using JDK 1.3.1_02 using SDI )
Strange. it works for me with NB3.3 and with trunk builds too (I tried both SDI and MDI). Petr, have you tried it with clean userdir?
I can reproduce it. Problem is that the TopComponent forgets last mode it was docked into on its close. May be that all TopComponents should remember it by default.
The same applies to pure internal web browser. Try to open a .html and dock it somewhere. Modify the .html and view again (changes are not propagated). Close the top component. Open the .html again and see new Mode...
Problem occurs with Windows NT4 and MSIE 5
It doesn't look like swing browser specific problem. It is related to window system. The last comment should be different issue.
first part is worksforme - show javadoc now keeps its constraints, even between sessions. However, internal browser doesn't. Once you close internal browser that was docked somewhere, new one is opened again in default shape.
Set target milestone to TBD
The problem is the NbBrowser component reference is not kept (NbTopManager.NbBrowser) when closed. Thus winsys loses info about the component. Seems it was designed the way. Asking UI to say some words to this, whether it has to be changed like Petr asks. There is also strange thing for me, why the component doesn't have a name? (It makes problem when serializing it).
Web browser should remember where it was open last time. If it is open, show javadoc action should reuse the open browser.
Assigning to Peter who worked on this issue before.
I just discovered the cause of issue, probably. I din't work on it before. Assigning to Radim, it seems that NbBrowser was his job.
NbTopManager.NbBrowser is in core and winsys is also core team's responsibility. I am not an expert for this area.
Assigning to Tim
This is another issue (like search results), where we need an additional persistence type: "Remember my bounds and where I'm docked, but don't reopen me on restart"
Needs an API and so won't be fixed for promo-D. Always reopening an empty browser would be worse than forgetting it after shutdown.
Forgot to close.
closed