some toolbar icons missing on ubuntu freecad 0.18.1

Having trouble installing or compiling FreeCAD? Get help here.
jmaustpc
Posts: 9860
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby jmaustpc » Fri Apr 26, 2019 3:28 pm

I have been missing a different two for some time.
Screenshot_20190427_012614.png
Screenshot_20190427_012614.png (41.52 KiB) Viewed 505 times
OS: Kubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
User avatar
curiouscow
Posts: 3
Joined: Mon Jan 07, 2019 1:48 am

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby curiouscow » Sat Apr 27, 2019 11:59 pm

I had the same two icons missing until I installed the 'IconThemes' addon - that brought them back. But then I discovered that there are still more icons missing in the 'Open document' dialog.


OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
FreeCAD_0.18.1_missing_icons_open_file_dialog.png
FreeCAD_0.18.1_missing_icons_open_file_dialog.png (9.84 KiB) Viewed 484 times
brjhaverkamp
Posts: 117
Joined: Thu Sep 24, 2015 3:14 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby brjhaverkamp » Sun Jan 19, 2020 7:15 am

Hello all,

It has been a while since I reported the missing icon problem for 0.18. But niw I installed 0.19 daily on a new laptop and noticed the problem is still there.
This should be set correctly at start. Especially for new users this is a throw-off. First impressions are everything:-)

Kind regards,

Bert
User avatar
Kunda1
Posts: 7683
Joined: Thu Jan 05, 2017 9:03 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby Kunda1 » Sun Jan 19, 2020 3:06 pm

brjhaverkamp wrote:
Sun Jan 19, 2020 7:15 am
But niw I installed 0.19 daily on a new laptop and noticed the problem is still there.
This should be set correctly at start. Especially for new users this is a throw-off. First impressions are everything:-)
Hello, please always include your full About information when posting for assistance or reporting a problem. Paste the text, not a screenshot, thank you.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby triplus » Sun Jan 19, 2020 3:31 pm

Hi Bert.

I plan to investigate on how to make desktop icon theme support opt-in on Linux. That is on a to-do list for a while now, just haven't have the time to look into it yet.

P.S. As the current experience usually results in people complaining. In addition people that do want to use custom icons, for that purpose i guess IconThemes module and an icon pack made for FreeCAD is the way to go.
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby triplus » Sun Jan 26, 2020 8:14 pm

I created a PR, and now usage of Linux desktop icon theme became an opt-in experience. To enable usage of desktop icon theme navigate to:

Tools -> Edit parameters ... -> Preferences -> Bitmaps -> Theme and create a new Boolean item named ThemeSearchPaths and set it to true. Restart FreeCAD.
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby triplus » Mon Feb 03, 2020 4:32 pm

After the discussion on the PR and some further consideration i updated the PR. After merge, here is what to expect on Linux. Starting FreeCAD, that will still pick up the default desktop icon theme and use available icons from it. This is therefore a feature and not a bug. Most people likely don't have issues with that. If for whatever reason you don't like the results:

Tools -> Edit parameters ... -> Preferences -> Bitmaps -> Theme and create a new Boolean item named ThemeSearchPaths and set it to false.

Restart FreeCAD. Now default set of FreeCAD icons should get used on Linux.

P.S. In the future, there might be a checkbox controlling this area in the IconThemes module.
User avatar
bgoodr
Posts: 227
Joined: Sat Jun 14, 2014 9:40 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby bgoodr » Thu Feb 06, 2020 6:08 am

triplus wrote:
Mon Feb 03, 2020 4:32 pm
After the discussion on the PR and some further consideration i updated the PR. After merge, here is what to expect on Linux. ...
Hi triplus,

Thanks for looking into this.

Does "after merge" mean it is not "in" yet? I read the commentary in the PR, but couldn't figure out the status.

My freecad-daily right now on my Ubuntu 19.10 machine has this version:

Code: Select all

$ dpkg -l freecad-daily*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version                              Architecture Description
+++-=====================-====================================-============-======================================================
ii  freecad-daily         0.19~pre2~202002051353~ubuntu19.10.1 all          Extensible Open Source CAx program
ii  freecad-daily-common  0.19~pre2~202002051353~ubuntu19.10.1 all          Extensible Open Source CAx program - common files
un  freecad-daily-doc     <none>                               <none>       (no description available)
un  freecad-daily-python2 <none>                               <none>       (no description available)
ii  freecad-daily-python3 0.19~pre2~202002051353~ubuntu19.10.1 amd64        Extensible Open Source CAx program - Python 3 binaries
un  freecad-daily-runtime <none>                               <none>       (no description available)
$ 
Testing with both true and false values to the ThemeSearchPaths boolean had no effect, and I still see this (reported on my other thread) in the upper left corner:

Image
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: some toolbar icons missing on ubuntu freecad 0.18.1

Postby triplus » Thu Feb 06, 2020 6:37 pm

The PR was not merged yet and there was an additional feedback provided in the PR discussion i need to take a look at.