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.
It starts to happen from build 200301300100. In changelog there are reported some improvements in workspace switching. Cannot these changes be blamed for this misbehaviour? It happens only on windows platforms and only when IDE is started by XTest infrastructure. IDE is started in SDI mode with switches -J-Dnetbeans.full.hack=true -J-Dnetbeans.windows=sdi.
IDE startup was not changed. Only workspace switch. (Calls ModeImpl.setVisible() are delayed.)
Yes, I have tried it (and look at results from [nb_dev](20030205)) and it looks like works fine now. Jirka, do you have another experience? If not please close it as WORKSFORME, thanks.
It is in build 200301060100 also. In another test case it happens in this sequence: - switch to GUI Editing workspace - switch to Debugging workspace - switch to Editing workspace => only the Main window is open (not Explorer and Properties sheet)
Status? jskrivanek, does it work in the latest builds?
Hopefully fixed. It haven't happened since 200302070100.
It's still reproducible in [nb_dev](20030217), on Win2000. I can provide link to results.
We will try to investigate it with Marian. There are still some changes in workspace switching but Marian says that it happens even at first IDE start but IDE start is not influenced by these changes in workspace switching.
It is very difficult to reproduce it. Thanks to Marian I was able to investigate it. There was incorrect (not always working) condition to detect IDE startup during opening project. - // don't reset anything if no worspaces are loaded (first start for example) - if (wmi.getWorkspacesNoLoad().length == 0) { + //Do not reset during IDE startup. + if (!wmi.isWasIDEStarted()) { wmi.getWorkspacesNoLoad() could return non empty array even during IDE startup. It caused reset of winsys DataObjects -> winsys thought there is nothing to be updated -> no windows was opened. I added dedicated flag to detect first project opening during IDE startup. Modified: core/src/org/netbeans/core/windows/WindowManagerImpl.java r.1.171
Second part of fix was added to handle case when projects module is not installed/enabled during IDE start. (MainWindow is opened after project is opened during IDE start.) Modified: core/src/org/netbeans/core/windows/MainWindow.java r.1.56
verified in [nb_dev](20030227)