Kdenlive icon missing in startmenu

Hello,

After updating with Octopi on August 17th, the Kdenlive icon is missing in the startmenu. Only the text is shown. I am quite sure that the icon was there after my previous update on July 14th, since Kdenlive is one of my standard test applications after updating to see if graphic performance is still OK. Because I pinned Kdenlive (added to favorites), it doesn’t show up at all in the left column of the startmenu, just because I know that it is there, I can click on the invisible icon and stat Kdenlive. I use “Application menu”.

I Use kernel 4.19.138-1, KDE Plasma 5.19.4, KDE Framework 5.73.0, global theme Breath2 (automatically activated in May, since Breath was phased out).

I have no clue if this is a bug and if I should wait for another update. I have no knowledge of the linux filesystem so I don’t know where to look.
I tried right-click on Start, Edit Applications, then in the KDE Menu editor open Multimedia.
There is Kdenlive, with the familliar icon. I click on Kdnlive to edit it, there is the icon button with the correct icon. I click on that and in the Icon source window that appears I can browse to the kdenlive icon and (re)select it. Then back in the KDE Menu editor click save.
Still no icon in the menu.

Regards,
Han

This is probably due to an oversight in the composition of the icon theme ─ it happens in virtually all icon themes at some point, usually after an update, and with different icons missing between the different themes.

You can temporarily remedy the problem by installing one of the alternative icon themes, either from the repository, from the AUR, or from store.kde.org.

:man_shrugging:

Thanks for the reply.
I will wait until it is noticed and fixed then, instead of messing with icon themes.
I am a real linux user and don’t want to deviate from the distro to avoid problems in the future.

I did however look around as you mentioned “icon theme”, looked in System settings, Appearance, Icons.
I noticed that my icons where still Breath, not Breath2, which was automatically implemented in May. Should I switch to Breath2 to avoid problems in future?

You could try that. Myself, I’m using the Oxygen icons (from the repository), with La Capitaine (from the AUR) for certain specific applications. Yet, you will come across missing icons in most icon themes, even if only because of the ever-varying landscape of available applications.


Addendum:

  1. The Oxygen icon theme does have an icon for Kdenlive.

  2. You can try logging out, deleting your icon cache from a tty and logging back in. :arrow_down:

rm -f ~/.cache/icon-cache.kcache

In case you still want to reply…
Since I don’t know how to use tty, I logged in as root and deleted the icon-cache.kcache file from my user from there with Dolphin. No change.
Then I logged in as root again and deleted the whole .cache folder, also no change.

Since I use a vmware player as my Manjaro VM, I can make a copy of the VM as backup so I can fool around whatever I like.
I then started changing Global theme to Oxygen and later Breeze, also the Icons, nothing changes.
Then I started noticing that when logged in as root, who also uses the Breath2 theme, the Kdenlive icon was there, so it is not the system, but the user having a problem I guess.

I uninstalled and installed Kdenlive via Octopi, no change.
Between most changes I rebooted to make shure changes were in effect.

The only thing that changed with Kdenlive is since it is major version 20. or so, the icon changed.
The root user has the new icon, my user shows the old icon in KDE Menu editor. I don’t know where icons come from. In Windows they are embedded in the executable.
Now that I know that root has the icon visible, I don’t think that any update is going to bring back the icon.
The thing is that I don’t understand the system, KDE, Plasma, theme, a.s.o., so no way to solve this.

Edit:
When I rightclick on Kdenlive in the startmenu under Multimdia and choose +Add to desktop, I get a Kdenlive (the old version) icon on the desktop.

It’s in the icon cache. Try deleting all of the *.kcache files under your user’s ~/.cache directory.

  1. Log out of Plasma.

  2. Press Ctrl+Alt+F2.

  3. Log in as yourself at the prompt ─ no need for root.

  4. Issue the following commands… :arrow_down:

rm -f ~/.cache/*.kcache
kbuildsycoca5 --noincremental
  1. Log out again by pressing Ctrl+D or typing… :arrow_down:
exit
  1. Press Alt+F1 and log back in.

Thanks for explaining how to enter tty.
As I wrote, I even deleted the whole .cache folder of the user, being logged in as root.
I did what you wrote. After deleting *.kcache I checked that it was gone in tty (went to the .cache dir, looked with ls before and after)

But after entering the command kbuildsycoca5 --noincremental I got the following message:
kf.service.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.

In that case, I’m afraid I’m going to have to defer to someone more knowledgeable than me. :man_shrugging:

Pinging @cscs:wink:

Thanks so far, Strider :slight_smile:

1 Like

What was the rest of the output?

Anyways … seems like it could be like this:
https://www.dedoimedo.com/computers/plasma-menu-update.html

1 Like

There was no rest of the output, just that error.
I tried the steps on the Dedoimedo page you linked.
Nothing changed, just the output error of the kbuildsycoca5 command went away after restoring to system menu.
So being a MS system administrator but a Linux layman, I tried a clever approach.
Before the last update round the icon was there, but the kbuildsycoca5 output problem possibly already present.

I update once a month mostly.
I updated on July 14th, and then again on August 17th.
I went back to the VM copy of August 17th, before the update (so the state of July 14th).
The Kdenlive icon was present in the menu, and in the Favorite bar.
I know that would be the case, since it disappeared after the update round of updates that were released between July 14th and August 17th.

First I thought it would be good to get rid of that kbuildsycoca5 error.
I gave the command kbuildsycoca5, just in my session, in Yakuake terminal.
It gave the following error, it is the only error, like before.
kf.service.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.

Then I did the trick from Dedoimedo:
Right-click Start, Edit applications, in the KDE Menu Editor clicked Edit, choose Restore to system menu and confirmend.
Gave the command kbuildsycoca5 again within my session, the error was gone.

Then in System settings, I changed Icons from Breath to Breath2, since the Breath theme was replaced by Breath2 in a previous update this year but Icons was not changed to Breath2 automatically.
It gave me the new Kdenlive icon from version 20. (I think).
After reboot icon still there.

I logged out and did the trick from Aragorn:
In tty entered the commands:
rm -f ~/.cache/*.kcache
kbuildsycoca5 --noincremental
Logged in again, icon there, after reboot icon still there.

Then I installed the 476 updates again like I did five days ago.
After updating the Kdenlive icon was still there.
After the reboot is was gone.

Kdenlive version at July 14th after updating: 20.04.1
Kdenlive version after the updates now: 20.04.3

My guess is that the Kdenlive update is not correct. I don’t know where menu icons come from in linux.
The icon shows up in the KDE Menu Editor, both in the menu at the left as in the appliction details.
When I rightclick Kdenlive in the Plasma menu and choose Pin to task manager or Add to Desktop, it creates a visible icon.
Is it possible that it’s just the incomplete Kdenlive update and that it will be resolved in a next update?