Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-319

IllegalArgumentException causes user to be stuck in full screen mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: wtk
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tvolkert Todd Volkert
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: