Summary: | NEWT High-DPI Soft-PixelScale on X11/Windows: Honor OS Scale-Factor at Creation + Change | ||
---|---|---|---|
Product: | [JogAmp] Newt | Reporter: | Sven Gothel <sgothel> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 2.6.0 | ||
Hardware: | All | ||
OS: | windows | ||
Type: | DEFECT | SCM Refs: |
fc47b0b9ea4c662246d0aee172a03e496d949b71
34c423ed8ade1d3b42cf31b034f9a789a0cdae98
224322e5eb5e26914dc635bd7aa1ec4afd393f05
48e5c3df585d7bf3a9adec00b812a4efb139992d
|
Workaround: | --- | ||
Bug Depends on: | 1373 | ||
Bug Blocks: |
Description
Sven Gothel
2025-08-22 04:10:21 CEST
Resolved as described. 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. commit 34c423ed8ade1d3b42cf31b034f9a789a0cdae98 Bug 1524 - NEWT High-DPI Soft-PixelScale on X11: Honor OS Scale-Factor at Creation commit 224322e5eb5e26914dc635bd7aa1ec4afd393f05 NewtCanvasSWT DPI Scale X11/Windows: We don'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. 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(). |