TechDraw printouts - almost invisible projections

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
wandererfan
Veteran
Posts: 6315
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw printouts - almost invisible projections

Post by wandererfan »

mfraz74 wrote: Thu Mar 31, 2022 3:32 pm What does about show for the Debian install that works?
Qt 5.15.2 using X. I was thinking the issue might be 5.15.2 + Wayland until your report of problems with X11.
User avatar
mfraz74
Posts: 161
Joined: Mon Apr 05, 2021 9:19 am
Contact:

Re: TechDraw printouts - almost invisible projections

Post by mfraz74 »

wandererfan wrote: Thu Mar 31, 2022 5:39 pm
mfraz74 wrote: Thu Mar 31, 2022 3:32 pm What does about show for the Debian install that works?
Qt 5.15.2 using X. I was thinking the issue might be 5.15.2 + Wayland until your report of problems with X11.
Would it be worth creating a very simple TechDraw document and seeing if there are any differences between ones that work and that don't?
User avatar
wandererfan
Veteran
Posts: 6315
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw printouts - almost invisible projections

Post by wandererfan »

mfraz74 wrote: Fri Apr 01, 2022 6:32 am Would it be worth creating a very simple TechDraw document and seeing if there are any differences between ones that work and that don't?
Doesn't seem to involve the complexity of the document. Yesterday I set up Ubuntu 20 in a VM (gnome, Qt 5.15.2, wayland). Using a simple drawing of a Part Cube and Sphere, FC didn't display vertices, didn't change line widths and had extra lines in the drawing.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: TechDraw printouts - almost invisible projections

Post by Kunda1 »

This is how it looks in FreeCAD itself
This is how it looks in FreeCAD itself
Screenshot_20220401_143138.png (70.26 KiB) Viewed 1745 times
Exported to PDF
Exported to PDF
Screenshot_20220401_143327.png (64.15 KiB) Viewed 1745 times

Code: Select all

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28580 (Git)
Build type: Release
Branch: master
Hash: 8ccaac7264742da9e58a8238cc4d9d973bb57e98
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods: 
  * ToolbarStyle
  * Assembly4 0.11.10
  * stickframe
  * sheetmetal 0.2.49
  * pinger
  * Assembly3 0.11.1
  * Behave-Dark-Colors 0.0.1
  * Curves 0.3.0
  * Ship
  * BIM 2021.12.0
  * A2plus 0.4.55
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
wandererfan
Veteran
Posts: 6315
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw printouts - almost invisible projections

Post by wandererfan »

Kunda1 wrote: Fri Apr 01, 2022 6:33 pm Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
First time I've seen Qt 5.15.3 in About FreeCAD. Guess I'm back to blaming 5.15.2.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: TechDraw printouts - almost invisible projections

Post by Kunda1 »

wandererfan wrote: Sat Apr 02, 2022 1:01 pm First time I've seen Qt 5.15.3 in About FreeCAD. Guess I'm back to blaming 5.15.2.
If anyone else is interested in testing Qt5.15.3 --> I'm using the unofficial snap edge (thanks to @ppd)
https://snapcraft.io/freecad-ppd (wiki page: Snap)

Code: Select all

snap install --edge freecad-ppd
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
aapo
Posts: 624
Joined: Mon Oct 29, 2018 6:41 pm

Re: TechDraw printouts - almost invisible projections

Post by aapo »

wandererfan wrote: Sat Apr 02, 2022 1:01 pm
Kunda1 wrote: Fri Apr 01, 2022 6:33 pm Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
First time I've seen Qt 5.15.3 in About FreeCAD. Guess I'm back to blaming 5.15.2.
I have Qt 5.15.2 on Debian, and printing and TD in general works well. However, Debian often heavily patches their stuff, so the Debian version of Qt 5.15.2 may contain some Debian-specific fixes and patches. Some of the Qt libraries on my machine appear to be "5.15.2+dfsg-16", which mean there are sixteen consecutive Debian-specific releases, each containing patches for whatever changes, added on top of upstream 5.15.2. Most of these Debian patches are supposedly minor, but who knows..? So, if Qt 5.15.2 works for Debian, it might not be a very good indication of the upstream Qt 5.15.2 working in all cases.
User avatar
mfraz74
Posts: 161
Joined: Mon Apr 05, 2021 9:19 am
Contact:

Re: TechDraw printouts - almost invisible projections

Post by mfraz74 »

aapo wrote: Mon Apr 11, 2022 8:46 am
wandererfan wrote: Sat Apr 02, 2022 1:01 pm
Kunda1 wrote: Fri Apr 01, 2022 6:33 pm Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
First time I've seen Qt 5.15.3 in About FreeCAD. Guess I'm back to blaming 5.15.2.
I have Qt 5.15.2 on Debian, and printing and TD in general works well. However, Debian often heavily patches their stuff, so the Debian version of Qt 5.15.2 may contain some Debian-specific fixes and patches. Some of the Qt libraries on my machine appear to be "5.15.2+dfsg-16", which mean there are sixteen consecutive Debian-specific releases, each containing patches for whatever changes, added on top of upstream 5.15.2. Most of these Debian patches are supposedly minor, but who knows..? So, if Qt 5.15.2 works for Debian, it might not be a very good indication of the upstream Qt 5.15.2 working in all cases.
Think we can rule that out as compiling it myself from git works.
aapo
Posts: 624
Joined: Mon Oct 29, 2018 6:41 pm

Re: TechDraw printouts - almost invisible projections

Post by aapo »

mfraz74 wrote: Mon Apr 11, 2022 9:15 am Think we can rule that out as compiling it myself from git works.
You have compiled the Qt libraries from the git sources? :shock: I've heard that is enormously difficult and slow, so kudos there! :D

But yes, my situation is Debian-sid distributed libraries for everything (Qt 5.15.2 included), and self-compiled FreeCAD based on these Debian-distributed libs. Everything works here, too.

I'm wondering that if it's not Qt 5.15.2 that causes the problem for some people, could it be Mesa? Debian still has Mesa 21 for OpenGL 2D and 3D, but Mesa 22 has been recently released. But that is just guessing... :lol:
User avatar
mfraz74
Posts: 161
Joined: Mon Apr 05, 2021 9:19 am
Contact:

Re: TechDraw printouts - almost invisible projections

Post by mfraz74 »

aapo wrote: Mon Apr 11, 2022 11:18 am
mfraz74 wrote: Mon Apr 11, 2022 9:15 am Think we can rule that out as compiling it myself from git works.
You have compiled the Qt libraries from the git sources? :shock: I've heard that is enormously difficult and slow, so kudos there! :D

But yes, my situation is Debian-sid distributed libraries for everything (Qt 5.15.2 included), and self-compiled FreeCAD based on these Debian-distributed libs. Everything works here, too.

I'm wondering that if it's not Qt 5.15.2 that causes the problem for some people, could it be Mesa? Debian still has Mesa 21 for OpenGL 2D and 3D, but Mesa 22 has been recently released. But that is just guessing... :lol:
Sorry, I meant that I had compiled FreeCAD from git and Qt 5.15.2 from Ubuntu 21.10 repositories which should have come from Debian - the highest dfsg I can find is 12. So maybe a few patches below what you are using?
Post Reply