Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. NEWT/OSX: Cleanup NewtMacWindow header (sort, fix and add declarations); (details)
  2. Newt: Add fullscreen for offscreen windows (currently OSX only); Focus (details)
  3. NEWT/OSX: Cleanup 'javaWindowObject' @ window-close & avoid NPE; Disable (details)
Commit d25c25339d8878980c5f45cd1ee602767ffe0f33 by Sven Gothel
NEWT/OSX: Cleanup NewtMacWindow header (sort, fix and add declarations); Remove warning of unused var
The file was modifiedsrc/newt/native/MacWindow.m (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.h (diff)
Commit d8bbddaea08bd6ae75bc5255ab33cbf15cf3a7be by Sven Gothel
Newt: Add fullscreen for offscreen windows (currently OSX only); Focus handling; Misc.

- Add fullscreen for offscreen windows (currently OSX only),

- Focus handling
  - requestFocus() @ creation

  - remove requestFocus() delay in setFullscreen() since
    focus loss in fullscreen mode is caused by a KDE 'misbehavior'
    in general.
    See X11Common.c FS_GRAB_KEYBOARD, an experimental
    focus loss prevention, disabled due to it's behavioral impact
    of removing the ability to use WM keyboard commands (task switcher).

- Remove pending events waiting longer than TO (1200ms)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
Commit bc933c6e18a68d9cd94b0349fb516852ac0c7457 by Sven Gothel
NEWT/OSX: Cleanup 'javaWindowObject' @ window-close & avoid NPE; Disable lostFocus (resignKeyWindow) when in fullscreen mode; Ignore invalid key release/type events.

- Cleanup 'javaWindowObject' @ window-close & avoid NPE
  Ensure that the direct window.close() impl. removes the global reference
  and that all use cases check for NULL pointer.

- Disable lostFocus (resignKeyWindow) when in fullscreen mode
  Similar to the X11 KDE bug, OS X delivers a lostFocus event
  which we prevent from being processed in fullscreen mode.

- Ignore invalid key release/type events

  In case of offscreen/onscreen switching (fullscreen/reparenting) via destroy/create,
  the still pressed key would be send to the new window and repeat the action (key typed).
  State validation discards the double processing.
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.h (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)
The file was modifiedsrc/newt/native/MacWindow.m (diff)