JDK-8101814 : Quantum switching Scene needs to be evaluated.
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2013-02-05
  • Updated: 2015-06-16
  • Resolved: 2013-08-30
Related Reports
Relates :  
Description
The changing of the Scene triggers some actions that may be redundant which may cause too much layout/repaint work.

For example, the View is not properly set up until a ViewEvent.RESIZE event sets the View bounds. So any triggers for layout/repaint will fail to work properly until those bounds are correct.
Comments
Did not find any issues to change.
30-08-2013

Current Quantum GlassViewEventHandler does nothing with ViewEvent.ADD/REMOVE case ViewEvent.ADD: case ViewEvent.REMOVE: // unhandled
26-02-2013

Also note that whenever a view is added/removed to/from a window, it receives the ViewEvent.ADD/REMOVE notifications. Perhaps these are better places for updating the scene state than the WindowStage.setScene() method.
06-02-2013