delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/07/17/08:46:58

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 66HCkvXa2073911
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 66HCkvXa2073911
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=O9nZAFfs
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AE8754BA23D8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1784292415;
bh=GNE5pqJVln3fS2DMpYRMrKaRn4uAAYPISr5fSc4Y5UE=;
h=Date:Subject:To:Cc:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=O9nZAFfsgKHZitbBaNwDHbtx5TVR6ZgVms0v+In86+HEVWYEUA7Qbpl59K/G2YkKj
tRcRbUlz42OlSP0OpdfzWQhbVnhSy4VOkvCBkQbfhqgghscf8QhNdJkTAVnlFnbE5n
+SUy3jqcFWQd/XsnDieKBiogFDJn8W8oemq6AMkw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D13444BA2E0A
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D13444BA2E0A
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784292367; cv=none;
b=fJNkbzTTDHBD4h5U+6NnAPLAOvMcbU3U/r38JxRNkHetrA+81hHpa0lVkaNMSBfhqSoqTZWqwLAkrVoiQvFTn0VzE3Y42ZQ6NSJ4qR3GKGDVYtX2Rzbocw2sYOFOzwyA+nS7yvj/xvCEa/LyrKIOx/BG6hbP4hJmpLc+tB44wLI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1784292367; c=relaxed/simple;
bh=JvSVzrKV+3nvBJMLSYcBZ6xUKfvXIMaratTq0RqBEGI=;
h=Message-ID:Date:MIME-Version:From:Subject:To;
b=G+Z8JY49JGXFZgl7VoC0KIhFwqz2GiMgM6N+ObFGlhoyWXjgCde/PcCWQrbN8Rd6ca7TpaMkfzmPjbYVn6YcJzDYvHYFIK91J2bTuc1mLQG0kiwQtJITVjYkWcVHvSbvh7tWWQazEJJvrDlUqLsAqKPMS07993jf/NrQthwjBXg=
ARC-Authentication-Results: i=1; sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D13444BA2E0A
X-SNCR-Rigid: 6A00E00B05837B4D
X-Originating-IP: [62.56.66.111]
X-OWM-Source-IP: 62.56.66.111
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk
X-RazorGate-Vade: dmFkZTEXsRuh3s5LrSquFKMusdn2En9Zg8BLBXDhgqTIT33FyujXr5/55xThS46tq3bV93+19N5Cg00mq2/FnJfxmcy32fa+FQJG7gykGiJDBMh1cx9WIEUlNchXZzov2O13A/MSv8RH9bN3Ex3+vykhwLdVBdH1awuxsTIU69kHQtGi/D1s3vEKGTv5JGiQ7tvLWbNpCZ5rLNN66BXXSO5UQZYsKuyOwZqR/FBSfIhiuS0EnOgB6rdkgNp5BRfTwPSSdeZ01l36Z71c1m4DcRc0GMibz6+QLLtssFSKK0Q6rjPJSAyvj7LMRqK2IGlyk5DsnZVlZDFx/CDKPi6TFO30EVAFJR0Yloq5jHEmEoB+3XNApu+VgXouHpMXLGuclAjplU7aK0EdAbcHIETSmQpPCwAggT5g3WdVKHyWY8dQq6X88bSOVGS+U5Zp4DAjumirU2NmlRMPFrgsrD1zkMvAwakJnKbKR0jtTg+VLhCX77K/Z5sxKxI8jTnPox/tKC7vI5jdi29vnjFnxhFA1Zp+WgfTeD32CELUK6f4bp32VSIIIlFybUE5mWMO6SR9+nfXoWPooccikpVGLSAu+p0u1gopl1grjUUoTYpXlvDRLpXCZ3Xdt35w+o0xj85UjH7sy3qSWJqwQ5GkCA8ooEreuE3JV7hMo0SPWn5T9kH4vYvvHA
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Message-ID: <bde700b3-2e94-4cd4-b8b6-a0267221eb87@dronecode.org.uk>
Date: Fri, 17 Jul 2026 13:46:02 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: HiDPI doesn't appear to be handled by Cygwin/X11
To: Hamish McIntyre-Bhatty <cygwin AT hamishmb DOT com>
Cc: cygwin AT cygwin DOT com
References: <15548814-97da-4a8c-aab1-b951bbd57def AT hamishmb DOT com>
In-Reply-To: <15548814-97da-4a8c-aab1-b951bbd57def@hamishmb.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 10/07/2026 15:39, Hamish McIntyre-Bhatty via Cygwin wrote:
> Hi all,
> 
> Apologies if this has already been reported, but I couldn't find 
> anything about this exact issue. I've recently found that HiDPI screens 
> with scaling don't appear to be handled well by Cygwin/X11 - windows 
> render very small in this configuration. By contrast, if I use the 
> VcxSrv server with the same Cygwin application it displays at the size 
> you'd expect.
> 
> I'd be happy to send screenshots or logs, or anything else I can send to 
> help figure out why this is happening. I don't know much about X, other 
> than that it's hard to maintain, so I appreciate this may not be an easy 
> problem to fix.

Interesting.

The way this is supposed to work is (i) for windows owned by the X 
server, we turn off all the scaling that Windows might do automatically 
(so 1 pixel == 1 pixel), and (ii) advise X applications of the real DPI 
so they (or, usually, the toolkit they use, qt, gtk, etc.) can make 
appropriate scaling decisions.

(Differences with VcxSrv might be because that's not marked dpiAware and 
so let's Windows do scaling, or because it has some patches to do more 
intelligent things...)

It would be nice to know:

* the DPI of your display
* the dpi reported by xdpyinfo
* the name of an application you see this problem with

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026