KDAB / hotspot

The Linux perf GUI for performance analysis.
4.09k stars 252 forks source link

Running AppImage creates duplicate weird entries in kde icononly taskmanager #358

Closed xgdgsc closed 2 years ago

xgdgsc commented 2 years ago

Describe the bug When I click and run hotspot-v1.3.0-166-g26a7e77-x86_64.AppImage. My task bar in Kubuntu 20.04 gets corrupted with invalid pinned entries like:

image

The entries with "?" are corrupted pinned items. (Nautilu and wechat in this case, the 2 after the second "?")

Before running hotspot it's like this:

image

To Reproduce Steps to reproduce the behavior:

  1. click and run hotspot-v1.3.0-166-g26a7e77-x86_64.AppImage
  2. see kde icononly taskmanager

Expected behavior Nothing happens to kde icononly taskmanager

Screenshots image

Version Info (please complete the following information):

xgdgsc commented 2 years ago

And "Applications" in KRunner would become empty.

lievenhey commented 2 years ago

I can confirm this issue. running the appimage from the command line reveals "applications.menu" not found in ("/etc/xdg/menus") after creating a symlink from kf5-applications.menu to applications.menu (sudo ln -s /etc/xdg/menus/kf5-applications.menu /etc/xdg/menus/applications.menu) it works correctly

lievenhey commented 2 years ago

further investigation shows that kubuntu doesn't follow https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html after manually settings XDG_MENU_PREFIX to kf5- everything works as intended