Ticket #3953 - Unable to print (0.18 final)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
sgrogan
Posts: 5423
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby sgrogan » Tue Sep 03, 2019 9:27 pm

Kunda1 wrote:
Mon Sep 02, 2019 12:58 pm
I'm trying to figure out how to check the conda build but it's a bit convoluted for me. Care to try?
I had this problem even with QT5.12. What fixed it for me was using my Nvidia graphics rather than my on-board graphics.
The "Qt5PrintSupport.dll" is present in bin for all QT5 builds, conda or otherwise.
However, the printsupport folder (child of bin), mentioned by @openbrain, from the French forum is not included in any build (well I added it to the libpack 12.1.2 0.19_pre builds).

I wonder if the OpenGL blackscreen in 3D view w/QT5 and this are related. When I have time I will switch to my on-board graphics and see if including the printsupport folder helps.

Anyway, no backport would be necessary to fix this, as it's all packaging related, I think.

PS: Everything on the releases page .7z, .exe, .dmg, .AppImage is a zip archive, you can examine the contents with for i.e. 7zip. Big downloads to just examine the contents of the packages, but I have more than a few .dmg's and AppImages on my Win machine for this purpose.

PS2: I can provide the printsupport sub-folder and contents (it's only 1 .dll) I prefer not to do it in the clear, because people will shot gun try it and may mess their system. PM me or better yet open a new thread and ask me to PM the necessary files.
User avatar
Kunda1
Posts: 5799
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby Kunda1 » Tue Sep 03, 2019 9:38 pm

sgrogan wrote:
Tue Sep 03, 2019 9:27 pm
PS2: I can provide the printsupport sub-folder and contents (it's only 1 .dll) I prefer not to do it in the clear, because people will shot gun try it and may mess their system. PM me or better yet open a new thread and ask me to PM the necessary files.
benjaminwharton wrote:
Fri Apr 19, 2019 3:15 pm
@benjaminwhaton :point_up_2:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
wmayer
Site Admin
Posts: 14892
Joined: Thu Feb 19, 2009 10:32 am

Re: Ticket #3953 - Unable to print (0.18 final)

Postby wmayer » Wed Sep 04, 2019 8:40 pm

And what about print preview of the 3d view? Does it show something or just a blank canvas? For master I remember this fix for Qt5.9 or higher: git commit 0871fb49c
User avatar
sgrogan
Posts: 5423
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby sgrogan » Wed Sep 04, 2019 9:11 pm

wmayer wrote:
Wed Sep 04, 2019 8:40 pm
And what about print preview of the 3d view? Does it show something or just a blank canvas? For master I remember this fix for Qt5.9 or higher: git commit 0871fb49c
print preview works for me on QT5.6 and QT5.12

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18051 (Git)
Build type: Release
Branch: master
Hash: bc4a220ad194e1b1c989adb39ff29567f3f25751
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
wmayer
Site Admin
Posts: 14892
Joined: Thu Feb 19, 2009 10:32 am

Re: Ticket #3953 - Unable to print (0.18 final)

Postby wmayer » Wed Sep 04, 2019 10:16 pm

print preview works for me on QT5.6 and QT5.12
Well you have tested it with v0.18 where it's not back ported but doesn't occur due to the old Qt version. And you tested it with the newer Qt version but where it's fixed in master.
To reproduce the issue you have to build 0.18 with Qt 5.12.
User avatar
sgrogan
Posts: 5423
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby sgrogan » Wed Sep 04, 2019 10:22 pm

wmayer wrote:
Wed Sep 04, 2019 10:16 pm
To reproduce the issue you have to build 0.18 with Qt 5.12.
Sorry, I misunderstood your question :oops:

I can't confirm OP's problem https://forum.freecadweb.org/viewtopic. ... 26#p302095
The first version above should be what I packaged it from.