UnstableChanges

Summary

  1. Bug 1249 - NEWT X11: setVisible(*) _NET_WM_STATE_HIDDEN update not (commit: e418a66) (details)
  2. Bug 1249: Revert TestParenting01NEWT durationPerTest back to 600 (commit: 8ce5203) (details)
  3. Bug 1249 - NEWT X11: setVisible(false) (commit: ecdaa59) (details)
Commit e418a665756af52fe2ca691ca220644e9b27c22c by Sven Gothel
Bug 1249 - NEWT X11: setVisible(*) _NET_WM_STATE_HIDDEN update not
received at ConfigureNotify event (2)
On gnome shell WM, sometimes KDE WM, it has been observed that the
_NET_WM_STATE_HIDDEN update (visible or invisible) is not received at
ConfigureNotify event.
Turns out the state is finally updated at FocusOut!
This change tests _NET_WM_STATE_HIDDEN visibility hint for mapped
window also for FocusIn and FocusOut events, besides the
ConfigureNotify event.
Further more, NormalState to restore a hidden but mapped window did not
work, so it is no more being sent. We limit us here to
_NET_ACTIVE_WINDOW.
2 unit tests are prepared to test this issue:
- TestGLWindows00NEWT
- TestParenting01NEWT
(commit: e418a66)
The file was modifiedsrc/newt/native/X11Common.h (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/TestGLWindows00NEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
Commit 8ce5203a581e731d5aa7d553455b04213d94115c by Sven Gothel
Bug 1249: Revert TestParenting01NEWT durationPerTest back to 600
(otherwise breaks test)
(commit: 8ce5203)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java (diff)
Commit ecdaa59aa48c16a558ec7a0b50df9419a9ccedc1 by Sven Gothel
Bug 1249 - NEWT X11: setVisible(false)
IconicState/_NET_WM_STATE_HIDDEN: Handle case where KDE unmaps the
window
Update our internal JavaWindow.isMapped according to MapNotify and
UnmapNotify. This takes care of a situation (KDE) where a window is
unmapped during IconicState.
For unmapped windows we cannot interprete _NET_WM_STATE_HIDDEN and we
have to issue XMapWindow for restoring the window.
(commit: ecdaa59)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)