<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1222</bug_id>
          
          <creation_ts>2015-09-19 00:38:00 +0200</creation_ts>
          <short_desc>NEWT OSX: setAlwaysOnTop() and setAlwaysOnBottom() not working</short_desc>
          <delta_ts>2015-09-27 01:23:40 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>macosx</component>
          <version>2.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1188</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ac">andres.colubri</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>3d2765f0bb752debd7784f717eeac4c9eb500d5a</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5158</commentid>
    <comment_count>0</comment_count>
    <who name="ac">andres.colubri</who>
    <bug_when>2015-09-19 00:38:00 +0200</bug_when>
    <thetext>Calling GLWindow.setAlwaysOnTop() does not result in the GLWindow being on top of all other windows, as expected. This happens on Mac OS X (tested with 10.9.5). Works fine on Windows (10) and Ubuntu (12.04).

The following code demonstrates the issue:

https://github.com/codeanticode/jogl2-tests/blob/master/src/test/windows/WindowTopNEWT.java</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5247</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-09-26 06:29:45 +0200</bug_when>
    <thetext>commit 3d2765f0bb752debd7784f717eeac4c9eb500d5a:

- The NSWindow level must be set at window creation
    
- Levels are
  - aontop: kCGMaximumWindowLevel
  - aonbottom: kCGDesktopIconWindowLevel (w/ input)
  - normal: NSNormalWindowLevel
    
- Hence we need to recreate the NSWindow if toggling the state,
  similar to opaque .. etc.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>