Print schematic doesn't handle images in page layout correctly

Bug #1819934 reported by Seth Hillbrand
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Low

Bug Description

In the attached project, I use an image in the page layout file. This prevents printing correctly.

1) Open attached project
2) Open eeschema (note that there is a PNG logo at the bottom of the worksheet)
3) Select print
4) This opens the eeschema print dialog. Ensure that the "Print Sheet Reference and Title Block" is checked. Select the "Print" button here to proceed to the system print dialog.
5) Either print or (if your system support it) select preview here.

At this point, only the image from the title block will be printed.

Using a standard worksheet without the image prints as expected. Unchecking the "Print Sheet Reference and Title Block" also prints as expected.

Application: kicad
Version: (5.1.0-11-g23086deccd), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: Clang 7.0.1 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=ON
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Seth Hillbrand (sethh) wrote :
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Seth, I took a look at the project you provided and it prints fine in windows using KiCad (5.1.0-37-g241c5f998). The only issue I saw was that the bitmap in the print preview was still in color even when black and white printing was selected. The printed copy of the schematic looked fine to me. Perhaps this is a linux only issue.

Revision history for this message
Seth Hillbrand (sethh) wrote :

Thanks for the test Wayne. I guess I'll fight with it.

Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Anton (antonpupkov) wrote :

A video would help to understand the problem.

Revision history for this message
Jim Groves (jgroves9) wrote :

I also have this problem when I embed an image in a schematic. The page doesn't print correctly.

I'm new to the bug tracker. I'll be at KiCon - we can discuss more.

Also, print preview shows black screens - I think this is reported in another bug.

Jim

Application: kicad
Version: 5.1.0-060a0da~80~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.18.0-17-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=ON
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Seth Hillbrand (sethh) wrote :

Thanks Jim! Good to know I'm not the only one. I look forward to meeting you at KiCon

Changed in kicad:
milestone: 5.1.1 → 5.1.2
Changed in kicad:
milestone: 5.1.2 → 5.1.3
tags: added: eeschema
tags: added: printing
Revision history for this message
Seth Hillbrand (sethh) wrote :

Fixed in b075886b1

Changed in kicad:
status: New → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
Revision history for this message
mjc (mjc-avtechpulse) wrote :

I still experience this in kicad-5.1.5-1.fc31.x86_64.rpm. Is that expected?

Revision history for this message
Seth Hillbrand (sethh) wrote :

Nope. Something has changed the ordering again.

Changed in kicad:
status: Fix Released → Triaged
milestone: 5.1.3 → 5.1.6
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1877

Changed in kicad:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.