<?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>1394</bug_id>
          
          <creation_ts>2019-09-11 04:14:55 +0200</creation_ts>
          <short_desc>NEWT X11Window didn&apos;t gather inset at window creation (properly)</short_desc>
          <delta_ts>2019-09-11 04:17:35 +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>x11</component>
          <version>2.4.0</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>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>b8db98376069a72ad40b7ef2fe2d9003aea2b091
fe6600234cafe16afb1d06a0254d2135ffb71b12</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6322</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-09-11 04:14:55 +0200</bug_when>
    <thetext>NEWT X11Window didn&apos;t gather inset at window creation (properly)

X11Window.c&apos;s &apos;NewtWindows_getFrameExtends(..)&apos;
retrieves the insets via XGetWindowProperty on _NET_FRAME_EXTENTS.

Right after window creation this method fails as the WM did not yet 
provide the information as the window has not yet been mapped.

Implementation needs to retry for a certain amount of time (250ms)
and maximum number of attempts (96 XEvent).

This issue surfaced while validating fix for Bug 1393,
testing TestDisplayLifecycle02NEWT also on X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6323</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-09-11 04:17:35 +0200</bug_when>
    <thetext>commit b8db98376069a72ad40b7ef2fe2d9003aea2b091
TestDisplayLifecycle*NEWT changes 

commit fe6600234cafe16afb1d06a0254d2135ffb71b12
X11Window.c fix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>