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 242241 - [80cat] Scene Builder default home is 2.0, but NB runs version 1.1 instead
Summary: [80cat] Scene Builder default home is 2.0, but NB runs version 1.1 instead
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Visual Tool Integration (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 08:40 UTC by Lou Dasaro
Modified: 2014-07-20 18:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (83.78 KB, text/plain)
2014-02-23 08:40 UTC, Lou Dasaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lou Dasaro 2014-02-23 08:40:48 UTC
NetBeans runs JavaFX Scene Builder 1.1 even though Tools->Options->Java->JavaFX shows "Scene Builder Home" as default "JavaFX Scene Builder 2.0".
This occurs on systems that have both JavaFX Scene Builder 1.1 and 2.0 installed, and a fresh install of NetBeans (in this case, 8.0 RC1 ).
The workaround is in Tools->Options->Java->JavaFX to browse first for SB 1.1, Click OK, go back into Tools->Options->Java->JavaFX, select SB 2.0, and click OK.
Yet this is "ugly", because the default doesn't work out-of-the-box.

See also Bug 238520.  Tested with:

Product Version = NetBeans IDE 8.0 RC1 (Build 201402202300)
Operating System = Windows 8 version 6.2 running on x86
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) Client VM 25.0-b69
Comment 1 Lou Dasaro 2014-02-23 08:40:51 UTC
Created attachment 145507 [details]
IDE log
Comment 2 David Strupl 2014-07-14 10:56:35 UTC
Hello,

there is a code trying to look for what is in the preferences. So my question here is whether you have by any chance used the preferences from the previous version?

Can you please try to describe the exact steps that lead to the wrong state? I assume the steps were:

1. Install Scenebuilder 1.1 and 2.0
2. Install NetBeans 8.0 and start it with a new user did (without importing anything)
3. Try to launch Scenebuilder from NetBeans by opening a FXML file

Are these assumptions correct?

Thanks,

David
Comment 3 David Strupl 2014-07-15 13:35:24 UTC
I have played today with the trunk version and the switching seems to work ok for me. I am closing the report as works for me - if you can tell the exact steps to reproduce please reopen. Thanks.
Comment 4 Lou Dasaro 2014-07-15 16:43:47 UTC
Hi David. Indeed the trunk version is fine. This minor bug was reported back in February and was repeatable at that time, using NetBeans 8 RC1, with pre-release (or very early) versions of Java 8 and Scene Builder 2. I can only assume it was fixed as a side-effect of something else, and therefore am marking as fixed.

I apologize for not subsequently retesting with GA versions of NB, SB, and Java 8, as it was clearly fixed by March 2014.
Comment 5 Lou Dasaro 2014-07-20 18:44:01 UTC
Verified Fixed using 

Product Version: NetBeans IDE Dev (Build 201407200001)
Java: 1.8.0_20-ea; Java HotSpot(TM) Client VM 25.20-b20
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-ea-b21
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)