JDK-8124773 : A new Scene accumulates all PointLight's from previous Scene's
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-01-30
  • Updated: 2015-06-17
  • Resolved: 2013-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
When iterating a performance benchmark we create all GUI elements on every iteration anew (Stage, Scene, etc).
If PointLight is part of the Scene object the intensity of light is visibly higher on every iteration as if all the previously created objects remain active.
Comments
In b104.
27-08-2013

SQE: verified.
26-08-2013

Fixed in 3d sandbox. And will be fixed in main line later today when the sandbox is synced. See RT-26382 for details.
11-04-2013

This fix will be pushed along with implementation of FX 3D on ES2. RT-26382
11-04-2013

The implementation of lights is incomplete. This should be tested once RT-26512 is finished.
30-01-2013

The problem seems to be rooted in QuantumToolkit.java: lightsInScene only accumulates new objects and never disposes of them.
30-01-2013