<?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>1524</bug_id>
          
          <creation_ts>2025-08-22 04:10:21 +0200</creation_ts>
          <short_desc>NEWT High-DPI Soft-PixelScale on X11/Windows: Honor OS Scale-Factor at Creation + Change</short_desc>
          <delta_ts>2025-08-24 04:27:22 +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>core</component>
          <version>2.6.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</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>
          <dependson>1373</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>fc47b0b9ea4c662246d0aee172a03e496d949b71
34c423ed8ade1d3b42cf31b034f9a789a0cdae98
224322e5eb5e26914dc635bd7aa1ec4afd393f05
48e5c3df585d7bf3a9adec00b812a4efb139992d</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7235</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-22 04:10:21 +0200</bug_when>
    <thetext>Bug 1373 introduced Soft-PixelScale for Windows and X11.

On Windows the Scale-Factor is not honored at window creation 
nor on change under NEWT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7236</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-22 04:23:44 +0200</bug_when>
    <thetext>Resolved as described.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7237</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-22 04:31:59 +0200</bug_when>
    <thetext>On X11 the Scale-Factor is also not honored at window creation under NEWT.

Since the scale factor is retrieved via environment variables, see Bug 1373,
changing the scale factor is currently not supported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7238</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-22 04:35:52 +0200</bug_when>
    <thetext>commit 34c423ed8ade1d3b42cf31b034f9a789a0cdae98
Bug 1524 - NEWT High-DPI Soft-PixelScale on X11: Honor OS Scale-Factor at Creation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7242</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-22 06:58:10 +0200</bug_when>
    <thetext>commit 224322e5eb5e26914dc635bd7aa1ec4afd393f05

    NewtCanvasSWT DPI Scale X11/Windows: We don&apos;t require pre-scaled size anymore
    
    Since fixing Bug 1373 and Bug 1524, X11 and Windows NEWT windows are created (and changed)
    with respect to the Soft-PixelScale factor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7257</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-24 04:27:22 +0200</bug_when>
    <thetext>commit 48e5c3df585d7bf3a9adec00b812a4efb139992d

    Bug 1524 - NEWT High-DPI Soft-PixelScale: Fix NewtCanvasSWT regression
    
    Regression of commit 224322e5eb5e26914dc635bd7aa1ec4afd393f05
    NewtCanvasSWT.updatePosSizeCheck can only issue newtChild.setSurfaceScale()
    if newtChildReady.
    
    Further issue newtChild.setSurfaceScale() also
    in swt paint event if pending and always after newtChild.setSize().</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>