Control: tags -1 upstream confirmed patch
Control: forwarded -1 https://github.com/FreeCAD/FreeCAD/pull/5123

I can confirm that it wont find the icon. I also see that in the upstream
flatpak, so this is an upsteam bug.

stracing into it, freecad tries to access e.g
Surface_Extend.svg... This file is ENOENT in the repo, but there is a file
"Surface_ExtendFace.svg", so this mismatch is causing this.

The attached patch should fix it, at least on a local build it does.

-- 
tobi
Description: Fix filename of SurfaceExtend icon
Author: Tobias Frost <t...@debian.org>
Bug-Debian: https://bugs.debian.org/992715
Forwarded: no
Last-Update: 2021-10-21 <YYYY-MM-DD, last update of the meta-information, optional>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Mod/Surface/Gui/ViewProviderExtend.cpp
+++ b/src/Mod/Surface/Gui/ViewProviderExtend.cpp
@@ -35,7 +35,7 @@
 
 QIcon ViewProviderExtend::getIcon(void) const
 {
-    return Gui::BitmapFactory().pixmap("Surface_Extend");
+    return Gui::BitmapFactory().pixmap("Surface_ExtendFace");
 }
 
 } //namespace SurfaceGui

Reply via email to