-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
Win7/JDK6/controls-scrum-381
To reproduce press CTRL-RIGHT-ARROW in empty control
java.lang.IllegalArgumentException: Both width and height must be >= 0
at javafx.geometry.Rectangle2D.<init>(Rectangle2D.java:106)
at com.sun.javafx.scene.control.skin.TextFieldSkin.getCharacterBounds(TextFieldSkin.java:414)
at com.sun.javafx.scene.control.skin.TextFieldSkin.scrollCharacterToVisible(TextFieldSkin.java:420)
at com.sun.javafx.scene.control.skin.TextInputControlSkin.handleKeyPressedEvent(TextInputControlSkin.java:511)
at com.sun.javafx.scene.control.skin.TextFieldSkin.handleKeyPressedEvent(TextFieldSkin.java:517)
at com.sun.javafx.scene.control.skin.TextInputControlSkin$7.handle(TextInputControlSkin.java:114)
at com.sun.javafx.scene.control.skin.TextInputControlSkin$7.handle(TextInputControlSkin.java:111)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:56)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:162)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:115)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:47)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
at javafx.event.Event.fireEvent(Event.java:171)
at javafx.scene.Scene$KeyHandler.process(Scene.java:2821)
at javafx.scene.Scene$KeyHandler.access$1500(Scene.java:2751)
at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1353)
at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:1784)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:105)
at com.sun.glass.ui.View.handleKeyEvent(View.java:248)
at com.sun.glass.ui.View.notifyKey(View.java:534)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:662)
java.lang.IllegalArgumentException: Both width and height must be >= 0
at javafx.geometry.Rectangle2D.<init>(Rectangle2D.java:106)
at com.sun.javafx.scene.control.skin.TextFieldSkin.getCharacterBounds(TextFieldSkin.java:414)
at com.sun.javafx.scene.control.skin.TextFieldSkin.scrollCharacterToVisible(TextFieldSkin.java:420)
at com.sun.javafx.scene.control.skin.TextInputControlSkin.handleKeyPressedEvent(TextInputControlSkin.java:511)
at com.sun.javafx.scene.control.skin.TextFieldSkin.handleKeyPressedEvent(TextFieldSkin.java:517)
at com.sun.javafx.scene.control.skin.TextInputControlSkin$7.handle(TextInputControlSkin.java:114)
at com.sun.javafx.scene.control.skin.TextInputControlSkin$7.handle(TextInputControlSkin.java:111)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:56)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:162)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:115)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:47)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
at javafx.event.Event.fireEvent(Event.java:171)
at javafx.scene.Scene$KeyHandler.process(Scene.java:2821)
at javafx.scene.Scene$KeyHandler.access$1500(Scene.java:2751)
at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1353)
at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:1784)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:105)
at com.sun.glass.ui.View.handleKeyEvent(View.java:248)
at com.sun.glass.ui.View.notifyKey(View.java:534)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:662)