rqt button not show icon
When I tried to install ROS Noetic on Ubuntu 20.04, I have a little problem about dependencies. So I used sudo aptitude install ros-noetic-desktop-full
and I downgrade some library (I forget which libraries I downgrade). When I tried to run rqtgraph, the buttons on the window don't show icon image. When I tried to rum rqtconsole or rqtloggerlevel, the buttons on the windows don't show icon image. (Sorry, I can't include images because need > 5 points).
I tried to uninstall by sudo apt-get remove ros-*
and install ros-noetic
again. But still doesn't change anything. What should I do about it?
Asked by DanielR on 2021-02-26 22:56:32 UTC
Answers
I found something that works for me! First, I made sure that the tango icon theme was installed sudo apt install tango-icon-theme
.
Then, I was searching through all of my installed apps for icon settings, and I found an app called Qt5 Settings. It has the option to set the icon theme, so I set it to tango and hit apply, and now the icons show up for all of the rqt plugins! I hope that works for you!
Asked by natetoombs on 2021-05-24 11:31:49 UTC
Comments
Thanks, that seems to work! I'm using the osrf/ros:foxy-desktop docker image and was able to fix this problem there by
sudo apt install qt5ct
,
export QT_QPA_PLATFORMTHEME=qt5ct
then choosing the tango theme in the qt5ct
application.
If anyone knows how to set the icon theme in the docker container without qt5ct
, please share!
Asked by ottojo on 2021-05-25 05:22:10 UTC
When I open Qt5 I cannot select Tango. It shows up but if I click nothing happens. How did you select Tango in the "Icon Theme"?
Asked by fabbro on 2022-02-22 06:20:18 UTC
Thank you friend. I successfully solved the problem that troubled me according to your method
Asked by Happy Carl on 2022-12-06 01:44:10 UTC
I think problem is in PyQT. Try to create a "hicolor" symlink that points to the tango theme. It works for me (I run rqt in docker container). This advice from https://www.pythonfixing.com/2021/12/fixed-qiconfromtheme-not-displaying.html
ln -s /usr/share/icons/Tango ~/.icons/hicolor
Asked by kazeshiro on 2022-05-16 06:18:29 UTC
Comments
I have the same issue, with all of the rqt plugins (rqt_bag, rqt_plot...). Have you had any luck? I am still able to use the plugins by hovering my mouse over the buttons, so the hint shows what each button does.
Asked by natetoombs on 2021-03-20 15:21:28 UTC
I have the same issue, clean install ubuntu 20, ros2 foxy.
Asked by bberrevoets on 2021-04-04 15:05:23 UTC
Any updates?
Asked by natetoombs on 2021-05-21 11:59:01 UTC