lots of app icons are missing

Bug #1873466 reported by Nathan Drake UCP on 2020-04-17
132
This bug affects 31 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Undecided
Unassigned

Bug Description

I'm testing Ubuntu MATE 20.04 and I saw problems with the icons. LiveUSB ok, but on Vbox and after installing give me this problem. (see picture)

I'm trying on a Macbook Air 6,2 Model Mac-7DF21CB3ED6977E5 v1.0, the problem is the same at ThinkPad X240 and an Samsung Odyssey.

Norbert (nrbrtx) on 2020-04-17
tags: added: focal
Andre Bacao (andre-bacao) wrote :

I can confirm.

On installation, top folders icons (in menu) are broken

erycsonero (erycsonero) wrote :

I can confirm.
Once installed, in the Portuguese language all application category icons in the menu and some connection indicator icons, such as the active VPN indicator do not appear. But if I change the system language to English, the problems disappear

Andre Bacao (andre-bacao) wrote :

I also installed in Portuguese yes...

Andre Bacao (andre-bacao) wrote :

Steps to reproduce.

Option1:
Install the OS in Portuguese (PT), icons are missing as in picture.
Change display language to English, reboot, the icons are fine.
Change display language again to Portuguese, reboot, icons are again missing.

Option2:
Installed in English - no issue
In Language Support, installed Portuguese, moved Portuguese to the top, apply system-wide, reboot
Icons are missing.

Using the "focal-desktop-amd.iso" from today (23/04/2020)

Changed in ubuntu-mate:
status: New → Confirmed
Andre Bacao (andre-bacao) wrote :

It only happens in the Brisk Menu.
In the redmond layout and with the advanced menu, the icons are fine.

Issue seems to be in the Brisk menu with Portuguese language

Andre Bacao (andre-bacao) wrote :

The bug is present in the 20.04LTS (final version)

Helena (ele-a) wrote :

This also affect Slovenian language.

Under different theme it looks different, but still no actual icons. It effect all 3 different menus.

Tiago José Adami (adamitj) wrote :

Cross-referencing issues, I posted one in Ubuntu-Mate forums

https://ubuntu-mate.community/t/menu-icons-not-found-on-fresh-new-install-20-04/21579

It happens also with dutch and slovenian languages. If I know the files that points to icons, I can help to fix it - but I don't know the starting point of Ubuntu-Mate OSS changes...

Oibaf (oibaf) wrote :

Italian is also affected, at least for the WiFi+VPN icon, and the "System -> Help" icon.

Helena (ele-a) wrote :

https://ubuntu-mate.community/t/ubuntu-mate-20-04-pre-release-testing/20881/82

Beginning of this post could be possible solution, I deleted all the "Translators: Do NOT translate or transliterate this text...", but have to wait for translations to be updated as I don't know how to do it manually.

Leo de Kam (roerdomp) wrote :

This weekend I did several installation in Dutch language. Most computers showed the same issue.... "no parking" symbols instead of menu icons. Both in the standard menu as in the traditional menu. One did not show the problem. It is allready visible when ubuntu mate is running from the usb stick and after installation aswelll

I'm Brazilian and use Ubuntu Mate in Portuguese, where the icons are missing.
After changing the language to English every icon appeared where it should be!

Luke Horwell (lah7) wrote :

One 'quick' solution is for MATE packages to strip all localised Icon[] references in the desktop launchers. Icon filenames shouldn't be translated so there's no need for localised "Icon" strings.

You can see the inconsistency in various locales/applications by running:

    grep -r 'Icon\[' /usr/share/applications/*.desktop

A workaround is to erase them:

    sudo sed -i '/Icon\[/d' /usr/share/applications/*.desktop

However, this is only half the problem as this only concerns applications. The other area is mate-menus, where they are stored in the PO/MO file. For example, 'pt' translates "applications-graphics":

https://github.com/mate-desktop/mate-menus/blob/a804a6ad51f10bce233351efd7f33d5bad480a1d/po/pt.po#L80-L82

I've created an issue upstream for this:

https://github.com/mate-desktop/mate-menus/issues/81

Luke Horwell (lah7) wrote :

Turns out it's been fixed a couple of months ago. So, that just leaves us with needing a SRU to apply the patch to fix the problem.

Affected packages:

* mate-menus
* mate-panel
* caja-extensions
* mate-control-center
* mate-desktop
* eom
* mate-calc
* caja

For the patch, use the "Do not collect the translation for Icon" commit as listed here:

* https://github.com/search?q=org%3Amate-desktop+translation+for+Icon&type=Commits

Luke Horwell (lah7) on 2020-05-18
Changed in ubuntu-mate:
status: Confirmed → Triaged
Fernando Junior (fpimentajr) wrote :

Unfortunately I came across the same problem of the icons of categories not appearing in the language Pt_Br. Even installing in English (which works normally). Switching again to Portuguese the problem reappears. "That's a mean, one of the best flavors of Ubuntu."

I'm a newbie trying to do a quick fix for it in my computer.

Besides what already told by Luke in #14, also need to do:

# sed -i '/Icon\[/d' /usr/share/mate/desktop-directories/*.directory

Johan (jopeke) wrote :

@Luke Horwell
How can we apply this patch to our already installed system?
or isn't this patch available when updating the system

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Bill (franksmcb) (franksmcb) wrote :

I have tested with Portuguese language in Ubuntu MATE 20.04.1 release and the issue continues to occur.

no longer affects: ubuntu
Oibaf (oibaf) wrote :

The issue is fixed in Ubuntu 20.10 / groovy, currently in development, will be released in a few days.

Bert Van de Poel (bhack) wrote :

I can confirm that this is still a problem in Ubuntu 20.04 in Dutch. Hopefully the backport fix arrives soon. Is there anything I can do to speed up this process?

Anderson Zardo (ander-san) wrote :

As said in Ubuntu-Mate forum, /usr/share/applications/*.desktop and
/usr/share/mate/desktop-directories/*.directory files have translations for some languages, (including english and affects sl, nl and pt languages) and it's not gonna work because all icons packs have icons names in english by default. So the workarround is remove all entries that start with "Icon["

sudo sed -i '/Icon\[/d' /usr/share/applications/*.desktop
sudo sed -i '/Icon\[/d' /usr/share/mate/desktop-directories/*.directory
sudo update-desktop-database

Leo de Kam (roerdomp) wrote :

It is really bad this has not been solved yet. I feel like a total prick installing this Ubuntu Mate 20.04 for friends with most of the icons missing.
There are no issues in the 20.10 and 21.04 version. But these are not LTS versions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.