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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org:
Bug#913; Package x2goclient for windows. (Tue, 04 Aug 2015 16:10:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Alves-Foss, James (jimaf@uidaho.edu)" <jimaf@uidaho.edu>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org. (Tue, 04 Aug 2015 16:10:02 GMT) (full text, mbox, link).


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

From: "Alves-Foss, James (jimaf@uidaho.edu)" <jimaf@uidaho.edu>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Subject: Inaccurate scaling of dialog boxes and fonts for large DPI screen in Windows 10
Date: Tue, 4 Aug 2015 15:19:24 +0000
[Message part 1 (text/plain, inline)]
Package: x2goclient for  windows
Version:  4.0.5.0

Downloaded new version of x2goclient for a new Dell Laptop.   Screen resolution 3200x1800. OS Windows 10 (just checked, same problem on similar machine in Windows 8.1)
When I open the main program, the fonts and windows do not scale well in the session selection boxes
When I create a new session and try to open it, I can not see the list of open sessions to connect to.

This appears to be a scaling issue for high DPI systems.

I tried Windows 7, Windows 8 compatibility modes. I tries to disable display scaling on high DPI systems (see attached images)


[Message part 2 (text/html, inline)]
[ScreenShot1.jpg (image/jpeg, attachment)]
[ScreenShot2.jpg (image/jpeg, attachment)]

Bug reassigned from package 'x2goclient for windows' to 'x2goclient'. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 23 Aug 2015 15:30:02 GMT) (full text, mbox, link).


No longer marked as found in versions 4.0.5.0. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 23 Aug 2015 15:30:02 GMT) (full text, mbox, link).


Marked as found in versions 5.0.5.0-win32. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 23 Aug 2015 15:30:02 GMT) (full text, mbox, link).


Marked as found in versions 4.0.5.0-win32; no longer marked as found in versions 5.0.5.0-win32. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Wed, 10 Aug 2016 05:40:02 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#913; Package x2goclient. (Tue, 20 Jul 2021 12:55:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matt G <neovalis@protonmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 20 Jul 2021 12:55:02 GMT) (full text, mbox, link).


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

From: Matt G <neovalis@protonmail.com>
To: "913@bugs.x2go.org" <913@bugs.x2go.org>
Subject: Same issue Linux Gnome 3
Date: Tue, 20 Jul 2021 12:53:21 +0000
[Message part 1 (text/plain, inline)]
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.
[publickey - neovalis@protonmail.com - 0x65BC0EED.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#913; Package x2goclient. (Mon, 02 Aug 2021 06:20:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 02 Aug 2021 06:20:02 GMT) (full text, mbox, link).


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

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
Date: Mon, 02 Aug 2021 06:15:01 +0000
[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: Thu Nov 21 11:30:37 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.