Olo
May 28, 2023, 9:06am
1
PCB print preview do not work for me.
Application: KiCad PCB Editor x86_64 on x86_64
Version: 7.0.5-4d25ed1034~172~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14
Platform: Linux Mint 21.1, 64 bit, Little endian, wxGTK, cinnamon, x11
Build Info:
Date: May 27 2023 23:08:46
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.88.1
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON
That’s odd. Print preview is working for in both Schematic and PCB on Ubuntu 23.04
I notice some different library versions
Application: KiCad x86_64 on x86_64
Version: 7.0.5-4d25ed1034~172~ubuntu23.04.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.52.0 librtmp/2.3
Platform: Ubuntu 23.04, 64 bit, Little endian, wxGTK, ubuntu, wayland
Build Info:
Date: May 27 2023 23:08:39
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
jmk
May 28, 2023, 10:13am
3
No problem here. Same platform as OP.
Version downloaded was available 30 hours earlier???
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.0.5-unknown-202305261704~5c5f077a4a~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14
Platform: Linux Mint 21, 64 bit, Little endian, wxGTK, cinnamon, x11
Build Info:
Date: May 26 2023 17:04:17
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.88.1
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON
Your version lines are different, are you using the same PPAs as @Olo ?
jmk
May 28, 2023, 12:44pm
5
All my Kicad updates are from this.
http://ppa.launchpad.net/kicad/kicad-dev-nightly/ubuntu/pool/main/k/kicad-library-packages3d/kicad-nightly-packages3d_202304232017%2Bfbe7ce40~13~ubuntu22.04.1_all.deb
I copied the address from the yet to be installed 3D package update.
Everything is straight off the Kicad official download page https://www.kicad.org/download/linux/
Linux Mint
Linux Mint users can use the Ubuntu PPAs to install KiCad. It is important to note that Linux Mint is different enough from Ubuntu that it is not a supported platform, and may have bugs that do not appear in Ubuntu.
7.0.2 Stable Release
sudo add-apt-repository ppa:kicad/kicad-7.0-releases
sudo apt update
sudo apt install kicad
Testing Builds
sudo add-apt-repository ppa:kicad/kicad-7.0-nightly
sudo apt update
sudo apt install kicad
Nightly Builds
sudo add-apt-repository ppa:kicad/kicad-dev-nightly
sudo apt update
sudo apt install kicad-nightly
hmk
May 28, 2023, 1:32pm
6
If I do:
File → Print…
then choose a few layers to print, for example front and back copper and silkscreen, print colour and then:
Print → [choose any printer] → Preview
Then nothing happens except that the dialog where I pressed Preview closes. No preview is shown and no window where the preview would be shown is opened.
Actually printing does seem to work.
Application: KiCad x86_64 on x86_64
Version: 7.0.5-1.fc37, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.8 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.51.0
Platform: Fedora release 37 (Thirty Seven), 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: May 26 2023 00:00:00
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.6.3
Curl: 7.85.0
ngspice: 40
Compiler: GCC 12.3.1 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
hmk
May 28, 2023, 1:40pm
7
Print preview also doesn’t work in 7.99 Nightly, though, like in 7.0.5, printing does:
Application: KiCad x86_64 on x86_64
Version: 7.99.0-1.20230527gitf35a88c.fc37, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.8 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.51.0
Platform: Fedora release 37 (Thirty Seven), 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: May 27 2023 17:17:48
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.6.3
Curl: 7.85.0
ngspice: 40
Compiler: GCC 12.3.1 with C++ ABI 1017
Build settings:
eelik
May 28, 2023, 2:50pm
8
Works for me on Kubuntu 23.04.
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.0.5-unknown-202305261704~5c5f077a4a~ubuntu23.04.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.52.0 librtmp/2.3
Platform: Ubuntu 23.04, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: May 26 2023 17:04:20
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
jmk
May 28, 2023, 3:17pm
9
Followed your procedure, 7.0.5-2 & 7.99 working perfectly. Version details above.
hmk
May 28, 2023, 4:27pm
10
Do you get a new window where you see the printed image of the PCB, or what does it look like?
(I don’t remember from the top of my head what it looks like, too long since I have printed from KiCad…)
Olo
May 28, 2023, 4:30pm
11
My PPA is:
deb [arch=amd64 signed-by=/etc/apt/keyrings/kicad-kicad-7_0-releases-jammy.gpg] Index of /kicad/kicad-7.0-releases/ubuntu jammy main
gmc
May 28, 2023, 6:33pm
12
Checked on 7.0.5 release and working fine on Ubuntu 23.04
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.0.5-4d25ed1034~172~ubuntu23.04.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.52.0 librtmp/2.3
Platform: Ubuntu 23.04, 64 bit, Little endian, wxGTK, ubuntu, x11
Build Info:
Date: May 27 2023 23:08:39
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
jmk
May 29, 2023, 1:27am
13
This is what I see on my screen as a print preview of a Kicad demo board:
hmk
May 29, 2023, 9:05am
14
So when you klick print in the right side window, another one appears where you press preview, and then that one disappears and the one on the left appears.
For me, the window with the preview button disappears but no preview window is shown…
I suspect this preview functionality is tied to the window manager (KDE, wayland), yet it seems that the problem appears both with wayland and x11, and for some it works on the same platform where it doesn’t work for others…
jmk
May 29, 2023, 1:06pm
15
Hi @hmk
This is the order the windows show in Linux mint.
1/ select print from the Kicad gui and I get:
I then, after reviewing Page setup, click “print” and up comes this:
Next, I click “Preview” and up pops this:
Finally, I press print, and out pops a piece of paper… if the ink hasn’t dried up through lack of printer use!
hmk
May 29, 2023, 1:32pm
16
Looks very similar here. I just never get the preview window.
I’m a little puzzled as how to report it as a bug, especially how to reproduce as it only happens on some systems, and it doesn’t seem obvious which ones…
jmk
May 29, 2023, 2:10pm
17
Only the first image is a Kicad problem.
The second and third images are OS and Printer problems.
hmk
May 29, 2023, 5:41pm
18
I wonder where the line goes between application and window manager, because the print preview is a menu item in the application in several other applications I have looked at. So the initialization of the print preview happens from the application menu, not from the print dialogue.
It could then be possible that the application adds the print preview button to the print dialogue and this doesn’t work properly in some cases.
But I am speculating from how I see the user interface work, I haven’t studied the source code…
system
Closed
August 27, 2023, 5:41pm
19
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.