mate-desktop / mate-system-monitor

Process viewer and system resource monitor for MATE
https://mate-desktop.org
GNU General Public License v2.0
45 stars 27 forks source link

wayland: application not shown in menu on mate-panel #252

Closed Sunderland93 closed 1 year ago

Sunderland93 commented 1 year ago

Expected behaviour

mate-system-monitor should displayed in applications menu

Actual behaviour

mate-system-monitor does not displayed in menu until I delete the line OnlyShowIn=MATE; in mate-system-monitor.desktop file

Steps to reproduce the behaviour

1) build mate-panel with Wayland support 2) open applications menu and select "System" category

MATE general version

1.26.0

Package version

1.27.0

Linux Distribution

Debian 12

Link to bugreport of your Distribution (requirement)

n/a

Sunderland93 commented 1 year ago

I'm not sure that I write this issue in a right place, but removing OnlyShowIn=MATE; fixed this issue for me.

raveit65 commented 1 year ago

Not a bug, OnlyShowIn=Mate is the behavior that we want. In fedora 38 mate-system-monitor displays fine in menus inside a mate session when panel is compiled with wayland support.

lukefromdc commented 1 year ago

That is because in wayland we are not currently running in a MATE session, thusOnlyShowIn=Mate excludes it from the menu. That will need to be part of a wayland mate session, we can probably handle this one the same way GNOME did

Sunderland93 commented 1 year ago

Ah, yes. export XDG_CURRENT_DESKTOP=MATE also solves this issue