Opened 12 years ago

Closed 12 years ago

#192 closed defect (invalid)

Problems with full screen display in theAwtToolkitWindow

Reported by: Joop Owned by:
Priority: major Milestone: Enhanced
Component: general Version: 1.6.0-b22 GA
Severity: medium Keywords:
Cc:

Description

OS/2-eCS version 1.2NL
Java Version 1.6.0 Build 22 GA
Program JGraphite version 0.55
Problem:
The program JGraphite shows its example in full screen mode, ie if your screen is 1024x768 then the example has the same size. The workplace is totally hidden. Conform the programmer of JGraphite you should return to the package/workplace with the ESC key, but that doesn't function.
I rerouted the bug and got this;
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid display mode

at sun.awt.Win32GraphicsDevice.setDisplayMode(Win32GraphicsDevice.java:481)
at sun.awt.Win32GraphicsDevice.setFullScreenWindow(Win32GraphicsDevice.java:394)
at java.awt.Window$1DisposeAction.run(Window.java:999)
at java.awt.Window.doDispose(Window.java:1028)
at java.awt.Window.dispose(Window.java:975)
at net.dieslunae.jgraphite.gui.FullScreenPreview.keyPressed(FullScreenPreview.java:66)
at java.awt.Component.processKeyEvent(Component.java:6094)
at java.awt.Component.processEvent(Component.java:5913)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Window.processEvent(Window.java:1836)
at java.awt.Component.dispatchEventImpl(Component.java:4497)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4323)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
at java.awt.Component.dispatchEventImpl(Component.java:4367)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4323)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Conform the workplace shell this is the "theAwtToolkitWindow", but can't find that name in the program JGraphite, so I think its a bug in Java itself.
Also Alt-Tab doesn't bring the workplace to the front. There are of course work arounds.

Change History (4)

comment:1 by Joop, 12 years ago

Did test it with Java Version 1.6.0 Build 25 GA3 and Odin 0.85, problem is the same as with Java Version 1.6.0 Build 22 GA.

comment:2 by Joop, 12 years ago

In HDTVTestPattern.jar react same way. Also this program produce a screen as large or wide as the installed monitor size, that's its purpose so you can calibrate your monitor. According Paul Lutus (http://arachnoid.com/HDTVTestPattern) you have to quit the program with a key press or a mouse click. Both don't work because of same reason as aboven. I got this in the bugtracker file;

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid display mode

at sun.awt.Win32GraphicsDevice.setDisplayMode(Win32GraphicsDevice.java:481)
at sun.awt.Win32GraphicsDevice.setFullScreenWindow(Win32GraphicsDevice.java:394)
at hdtvtestpattern.HDTVTestPattern.manageFullScreen(HDTVTestPattern.java:86)
at hdtvtestpattern.HDTVTestPattern.dismiss(HDTVTestPattern.java:94)
at hdtvtestpattern.HDTVTestPattern.formKeyPressed(HDTVTestPattern.java:144)
at hdtvtestpattern.HDTVTestPattern.access$100(HDTVTestPattern.java:37)
at hdtvtestpattern.HDTVTestPattern$2.keyPressed(HDTVTestPattern.java:135)
at java.awt.Component.processKeyEvent(Component.java:6094)
at java.awt.Component.processEvent(Component.java:5913)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Window.processEvent(Window.java:1836)
at java.awt.Component.dispatchEventImpl(Component.java:4497)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4323)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
at java.awt.Component.dispatchEventImpl(Component.java:4367)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4323)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Version 0, edited 12 years ago by Joop (next)

comment:3 by Joop, 12 years ago

I talked to the developer of JGraphite and he patched his program special for the problem in OS/2-eCS. Version 0.5.8 does have the patch and the ESC-key works. In previous versions it is as described above. In case you want to try something.

comment:4 by Silvan Scherrer, 12 years ago

Resolution: invalid
Status: newclosed

as it's fixed by the dev, i close that bug. we don't have the time to look at all stuff and are glad devs also fix their app.

Note: See TracTickets for help on using tickets.