Pivot
  1. Pivot
  2. PIVOT-319

IllegalArgumentException causes user to be stuck in full screen mode

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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)

        Activity

        Todd Volkert created issue -
        Todd Volkert made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Todd Volkert [ tvolkert ]
        Resolution Fixed [ 1 ]
        Hide
        Greg Brown added a comment -

        Needs further investigation. The previous fix did not work on Mac OS X.

        Show
        Greg Brown added a comment - Needs further investigation. The previous fix did not work on Mac OS X.
        Greg Brown made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Todd Volkert [ tvolkert ]
        Todd Volkert made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development