Missing default icons

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!
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Missing default icons

Post by leoheck »

This is Freecad 0.21 and the "Fit All" and "Fit Selection" icons are like this since Freecad 0.19.
How can we get this resolved?
Screenshot-20220803180858-194x187.png
Screenshot-20220803180858-194x187.png (19.78 KiB) Viewed 1708 times

Code: Select all

OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.
Build type: Release
Branch: unknown
Hash: 1faf86c3da12c1712e1d5ec015721d9aa02f8672
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.56a
  * Curves 0.5.2
  * fasteners 0.3.50
  * Assembly4 0.12.3
  * kicadStepUpMod 10.13.7
  * ExplodedAssembly
User avatar
Willem
Veteran
Posts: 1852
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: Missing default icons

Post by Willem »

This problem is noticed before. I think there is not yet a solution. According the experts it is probably a QT problem.
See https://forum.freecad.org/viewtopic.php ... 64#p604335
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Missing default icons

Post by adrianinsaval »

Willem wrote: Thu Aug 04, 2022 7:35 am This problem is noticed before. I think there is not yet a solution. According the experts it is probably a QT problem.
See https://forum.freecad.org/viewtopic.php ... 64#p604335
sorry but that post in particular is a bunch of unrelated nonsense, just a few posts before that a solution was already provided: https://forum.freecadweb.org/viewtopic. ... 96#p604296
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Missing default icons

Post by leoheck »

Willem wrote: Thu Aug 04, 2022 7:35 am I think there is not yet a solution.
Yeh, it might be the case, since those icons are still missing in the daily build on 0.21.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Missing default icons

Post by adrianinsaval »

adrianinsaval wrote: Thu Aug 04, 2022 8:54 pm just a few posts before that a solution was already provided: https://forum.freecadweb.org/viewtopic. ... 96#p604296
is this visible only to me or something?? Common guys!
The icons are not missing, it is picking up your system icon theme, this is expected behavior and there is a config option to override and use the icons provided by FreeCAD.
User avatar
Willem
Veteran
Posts: 1852
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: Missing default icons

Post by Willem »

Hi Leoheck
here how to add the parameter for the right Icons
phpBB [video]
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Missing default icons

Post by leoheck »

adrianinsaval wrote: Tue Aug 09, 2022 5:55 pm The icons are not missing, it is picking up your system icon theme,
I am not sure what you are talking about. The icons are missing.

The Ubuntu 22.04 was installed fresh.
Then the FreeCad was installed fresh.
The OS has no customization, nothing.
The icons do not appear.
Conclusion -> The icons are missing.

Willem wrote: Tue Aug 09, 2022 9:36 pm here is how to add the parameter for the right Icons
Thanks for the workaround, Willem. That is great.

Now, why those icons are still missing???? They've been missing for years already!

Imagine you get a car, and you have to look for a steering wheel because it has none. This may happen with some really poor and simple people if they are getting a car from the landfill, but most of the time, let's say, 99.9% of the time the car comes with the steering wheel, right? Now imagine that all the cars, come without this steering wheel. This would be crazy since no one would be able to drive to get the steering wheel. This is just nuts.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Missing default icons

Post by adrianinsaval »

leoheck wrote: Sun Aug 14, 2022 1:33 am The OS has no customization, nothing.
There is always one set as default.
Conclusion -> The icons are missing.
wrong conclusion, as you an see when enabling that config, the icons exist in your system.
Now, why those icons are still missing???? They've been missing for years already!
They are not missing... It's using the system theme, which uses the same icon for both actions.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Missing default icons

Post by GeneFC »

leoheck wrote: Sun Aug 14, 2022 1:33 am
Conclusion -> The icons are missing.
The current master version of the FreeCAD code includes 1835 SVG icons, including the "missing" ones. Every compiled version of FreeCAD on every OS uses the same master file.

However, if someone uses style sheets or if the choice is made to use OS default icons then FreeCAD has no control over what shows up on your screen.

If you want to see those icons then you need to convince your system to use the icons that FreeCAD has provided for years and still ships today. The links shown above tell you how to do so.

zoom-selection.svg
(23.5 KiB) Downloaded 23 times
zoom-all.svg
(23.71 KiB) Downloaded 25 times

Gene
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Missing default icons

Post by leoheck »

GeneFC wrote: Sun Aug 14, 2022 2:52 am However, if someone uses style sheets or if the choice is made to use OS default icons then FreeCAD has no control over what shows up on your screen.
I am not changing anything.

I installed the OS from the upstream source (the Latest stable Canonical Ubuntu)
I installed FreeCad (this is the daily build these days which is 0.21) without any customization (I also purged my .config files, just in case)
And then I got that missing-icons-style. Every time.

I am not customizing anything, nothing. Not a single line/file. I am not changing anything. I am using FreeCad out of the box as it is.
Post Reply