X2Go Bug report logs - #913
Inaccurate scaling of dialog boxes and fonts for large DPI screen in Windows 10

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: "Alves-Foss, James (jimaf@uidaho.edu)" <jimaf@uidaho.edu>

Date: Tue, 4 Aug 2015 16:10:01 UTC

Severity: normal

Found in version 4.0.5.0-win32

Full log


Message #23 received at 913@bugs.x2go.org (full text, mbox, reply):

Received: (at 913) by bugs.x2go.org; 2 Aug 2021 06:15:05 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Aug  2 08:15:02 2021
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham
	autolearn_force=no version=3.4.2
Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 478255DA92
	for <913@bugs.x2go.org>; Mon,  2 Aug 2021 08:15:02 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105])
	by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 32F1360821;
	Mon,  2 Aug 2021 06:15:02 +0000 (UTC)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id F2C01C013B;
	Mon,  2 Aug 2021 08:15:01 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de;
	s=dkim; t=1627884902;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=wSHtz2JYJH9XDCAlGsyaSuUfYtYNx+6OZYeXXcz3PFc=;
	b=2Hlk1fYExZGvz4F3gt4NxbmZW3cpdXBiPsJi7zJt9u0sYskGHTt4VYOlD0ExCmv3gk67jM
	9zp5t8PYqawRg7h0/cyWYo7jjAutOIoLm+PNp+6SxT/72BgsiGQBVKtVRkGaL008Oc+4ho
	TfuPGXbj/5kKFGHDcbIBFox0yXjuaiqYTK8M7Ya/X8GzEz1iJ4joLcmtmoJzjQEMu3SXs6
	1cVNijJrjbuzV+1xnAFVrAGRCPho75NvZAAgo15riDcrVYRXzf+G2467M6CF2oioNK8DUc
	c7RjWB1kHnY06vv36xCW67b1b9lr32Oz4JguHrf+jMX3TCkO4HY1Lqe08oRq3W1T7Khi7N
	Hr3/iM45SK4jQYh3jp+lCJRpJ08n0SPPos6seV6/38QR+jvRZaySEFE6tFmh2YKtoUv+9G
	Jcpo8CWLnBId69kINzVU8uj0m0Km3lvgNalE5tfuQNA2GI1R/LI6VT61e6qf15EYXQw83G
	DevwO/f6hNmMTqNVtZn1QWhzjrsxfyaLSn74X1Y724ZI5llTX4g5yGwtj0RonO8jG1PHem
	tQIqWW1RO7WfM21/E5RGvJ53uS4VRH/VKpa59gnh5RCQZh/IXqKmyKxRVa0Lz4vx1P/B3c
	dEf4YhOA7lctuDaaxwGlKFtRsl101CcYPd7Q9dxwjIOqGharBzE1g=
Received: from [176.126.93.55] ([176.126.93.55]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTPS; Mon, 02 Aug 2021 06:15:01 +0000
Date: Mon, 02 Aug 2021 06:15:01 +0000
Message-ID: <20210802061501.Horde.f5yQEaqeasB5SKqI386T8aC@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Matt G <neovalis@protonmail.com>, 913@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#913: Same issue Linux Gnome 3
References: <CO1PR04MB522208627E2BC8886A5D768D7760@CO1PR04MB522.namprd04.prod.outlook.com>
 <CkzUe4Ep5f9QzY7X_WSsJn7VZJnRzz3WOpaxslQp0I2y6-DRBejbjTBQRkvbXHZDf0oz-zqNLjIoPX2ah55BnhP-itnWyS0iyPziS2TZZtw=@protonmail.com>
In-Reply-To: <CkzUe4Ep5f9QzY7X_WSsJn7VZJnRzz3WOpaxslQp0I2y6-DRBejbjTBQRkvbXHZDf0oz-zqNLjIoPX2ah55BnhP-itnWyS0iyPziS2TZZtw=@protonmail.com>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 176.126.93.55
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/90.0.4430.212 Safari/537.36
Content-Type: multipart/signed; boundary="=_3lmT5sTJHMiRQK5a-aG5RQM";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Matt,

On  Di 20 Jul 2021 14:53:21 CEST, Matt G wrote:

> It appears to be DPI unaware.
>
> My fix for Gnome 3 at 200% on Debian Bullseye:
>
> 1. Create a copy of the .desktop to home directory
> # $ cp /usr/share/applications/x2goclient.desktop  
> ~/.local/share/applications/
>
> 2. Change exec= in ~/.local/share/applications/x2goclient.desktop
> Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=1 x2goclient
>
> I found this recommendation in https://doc.qt.io/qt-5/highdpi.html
> "To get an application designed for low DPI values running on high  
> resolution monitors quickly, consider one of the following:"
> "set the QT_AUTO_SCREEN_SCALE_FACTOR environment variable to 1."
>
> Thanks to akik in the #x2go IRC channel for pointing me in the right  
> direction.

thanks for providing this bit of info. I just tested this from an i3  
desktop locally and it fails on a 4k display by whatever reason.

What works for me, though, is:

```
env QT_SCALE_FACTOR=2 x2goclient
```

However, the overall fix will be making X2Go Client HiDPI aware.

Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 13:44:49 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.