Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8113984

Exception when going into full screen mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx

      Description

      This is a regression from b34. When I run any application that uses fullscreen mode, I get the following exceptions. On Windows at least, the warning banner is not displayed.

      On entering full screen:

      java.lang.UnsupportedOperationException: unhandled View type: 441
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleViewEvent(GlassViewEventHandler.java:424)
      at com.sun.glass.ui.View.handleViewEvent(View.java:237)
      at com.sun.glass.ui.View.handleViewEvent(View.java:432)
      at com.sun.glass.ui.win.WinView._enterFullscreen(Native Method)
      at com.sun.glass.ui.View.enterFullscreen(View.java:373)
      at com.sun.javafx.tk.quantum.WindowStage.applyFullScreen(WindowStage.java:367)
      at com.sun.javafx.tk.quantum.WindowStage.setFullScreen(WindowStage.java:382)
      at javafx.stage.Stage$2.invalidated(Stage.java:350)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:62)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.stage.Stage.setFullScreen(Stage.java:336)
      at helloworld.HelloFullscreenToggle$1.handle(HelloFullscreenToggle.java:34)
      at helloworld.HelloFullscreenToggle$1.handle(HelloFullscreenToggle.java:32)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:59)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:161)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:114)
      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.EventUtil.fireEventImpl(EventUtil.java:44)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:27)
      at javafx.event.Event.fireEvent(Event.java:156)
      at javafx.scene.Node.fireEvent(Node.java:5138)
      at javafx.scene.control.Button.fire(Button.java:138)
      at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:166)
      at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:272)
      at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:265)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:55)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:161)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:114)
      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:44)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      at javafx.event.Event.fireEvent(Event.java:156)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:2345)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:2168)
      at javafx.scene.Scene$MouseHandler.access$1000(Scene.java:2140)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1099)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:1640)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:180)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:252)
      at com.sun.glass.ui.View.notifyMouse(View.java:512)
      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$1$1.run(WinApplication.java:49)
      at java.lang.Thread.run(Thread.java:662)


      On exiting full screen:

      java.lang.UnsupportedOperationException: unhandled View type: 442
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleViewEvent(GlassViewEventHandler.java:424)
      at com.sun.glass.ui.View.handleViewEvent(View.java:237)
      at com.sun.glass.ui.View.handleViewEvent(View.java:432)
      at com.sun.glass.ui.win.WinView._exitFullscreen(Native Method)
      at com.sun.glass.ui.View.exitFullscreen(View.java:382)
      at com.sun.javafx.tk.quantum.WindowStage.applyFullScreen(WindowStage.java:375)
      at com.sun.javafx.tk.quantum.WindowStage.setFullScreen(WindowStage.java:382)
      at javafx.stage.Stage$2.invalidated(Stage.java:350)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:62)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:116)
      at javafx.stage.Stage.setFullScreen(Stage.java:336)
      at helloworld.HelloFullscreenToggle$1.handle(HelloFullscreenToggle.java:34)
      at helloworld.HelloFullscreenToggle$1.handle(HelloFullscreenToggle.java:32)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:59)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:161)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:114)
      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.EventUtil.fireEventImpl(EventUtil.java:44)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:27)
      at javafx.event.Event.fireEvent(Event.java:156)
      at javafx.scene.Node.fireEvent(Node.java:5138)
      at javafx.scene.control.Button.fire(Button.java:138)
      at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:166)
      at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:272)
      at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:265)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:55)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:161)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:114)
      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:44)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      at javafx.event.Event.fireEvent(Event.java:156)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:2345)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:2168)
      at javafx.scene.Scene$MouseHandler.access$1000(Scene.java:2140)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1099)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:1640)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:180)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:252)
      at com.sun.glass.ui.View.notifyMouse(View.java:512)
      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$1$1.run(WinApplication.java:49)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anthony Anthony Petrov (Inactive)
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: