HiDPI with 6.0.6 linux

I reported this issue for 5.1.2 in 2019, HiDPI with 5.1.2 linux. It still persists 2022 on 6.0.

This is not about “tiny” or “huge” text , but about Some text not properly scaled by KiCAD or OS, while others are OK. Title bar and menu is rendered by OS, in correct size.

Debian/Ubuntu with XFCE, system DPI set to 180.

Some dialogs also suffers, editing text is in correct size, some are extremely tiny (not scaled).

  • Version info
Application: KiCad

Version: 6.0.6+dfsg-1, release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.84.0 OpenSSL/3.0.4 zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.48.0 librtmp/2.3 OpenLDAP/2.5.12

Platform: Linux 5.18.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK, lightdm-xsession, x11

Build Info:
	Date: Jun 20 2022 18:00:05
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.5.2
	Curl: 7.83.1
	ngspice: 37
	Compiler: GCC 11.3.0 with C++ ABI 1016

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

if start kicad with export GDK_SCALE=2, “normal” text becomes extra huge, “tiny” text becomes normal.

The problem here is wxWidgets 3.0.5 that your linux distro is using instead of wx 3.1.x or 3.2.x

This is not something the kicad project controls.

2 Likes

I recommend using KiCad through Flatpak instead of your distro, so that you can use a modern version of wxWidgets.

hmm, this is already Debian unstable, yet new enough.

Thanks, but I’m building my own with some minor fix with mouse cursor issue, guess I should try build with latest wx.

If you are building yourself, just build wx 3.2.0 from source also. It should be much better.

Your mouse cursor issue is some distro-related bug; not a KiCad bug, I think. It would be helpful if you reported it so that someone can try to reproduce it on the same distro.

1 Like

:thinking: How to set a local wxWidgets for cmake? don’t want to install to entire system

wxWidget3.2 is waiting in the NEW Queue for not to long, it will probably take some more time get through it. Once it hits the archive a rebuild of kicad against the new libwxgtk3.0-gtk-dev package might be needed so KiCad is using the newer wxWidget library then.

https://ftp-master.debian.org/new.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919903

Debian wont ever use a non API/ABI stable version of wxWidget (like 3.1, 3.3,…).

1 Like

For completeness, wxwidget3.2 is now available in Debian unstable.

https://tracker.debian.org/pkg/wxwidgets3.2

1 Like