ppd / freecad-ppd

5 stars 1 forks source link

External A2plus workbench reporting it can't find wb SVG icon (when AppImage can) #29

Closed luzpaz closed 2 years ago

luzpaz commented 2 years ago

Forum post: https://forum.freecadweb.org/viewtopic.php?p=585577#p585577

Steps to recreate:

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28601 (Git)
Build type: Release
Branch: master
Hash: 9500706d6f2a98a3543a441083ceba475b7cfd86
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.55a

This isn't reproduced in the AppImage

OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28567 (Git) AppImage
Build type: Release
Branch: (HEAD detached at eb65256)
Hash: eb652569c1bc905b9ece89598ce99e2a2549acae
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * Behave-Dark-Colors 0.0.1
  * A2plus 0.4.55a
ppd commented 2 years ago

Can't reproduce. The snap confinement allows accessing files in the home directory. Why would the workbench unconditionally access $HOME/icons/ConstraintDiagnostics.svg? What if I don't have an icons folder? This does not make a lot of sense to me.