IllegalArgumentException causes user to be stuck in full screen mode
--------------------------------------------------------------------
Key: PIVOT-319
URL: https://issues.apache.org/jira/browse/PIVOT-319
Project: Pivot
Issue Type: Bug
Components: wtk
Affects Versions: 1.3
Reporter: Todd Volkert
Fix For: 1.4
I entered full screen mode, surfed around for a while, and when I tried to exit
(using CTRL-SHIFT-F), I got this exception, and I had to ctrl-alt-delete to get
out of the app. Environment was Windows Vista 32 bit, JRE 1.6.0_16.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException:
Invalid display mode
at sun.awt.Win32GraphicsDevice.setDisplayMode(Unknown Source)
at sun.awt.Win32GraphicsDevice.setFullScreenWindow(Unknown Source)
at
org.apache.pivot.wtk.DesktopApplicationContext.setFullScreen(DesktopApplicationContext.java:566)
at
org.apache.pivot.wtk.DesktopApplicationContext$2.keyPressed(DesktopApplicationContext.java:483)
at java.awt.Component.processKeyEvent(Unknown Source)
at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(ApplicationContext.java:1134)
at java.awt.Component.processEvent(Unknown Source)
at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:653)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown
Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown
Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.