mate-indicator-applet no longer supports non-ayatana indicators?

Bug #1981696 reported by taoky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mate-indicator-applet (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi mate-indicator-applet maintainers,

I'm making a Ubuntu 22.04 desktop image with MATE recently, and I find out that mate-indicator-applet seems no longer supports traditional indicators like indicator-application and indicator-notifications (It says "No indicator" if not any ayatana indicators are installed) -- but they are supported well in Ubuntu 20.04.

I have read source code and found that the const str `INDICATORDIR` controls where to load these traditional indicators. To validate whether `INDICATORDIR` is assigned correctly (to /usr/lib/indicators3/7) in binary, I executed following commands in both Ubuntu 22.04 and 20.04:

Ubuntu 22.04:

```
$ strings mate-indicator-applet | grep usr
/usr/share/ayatana/indicators
/usr/share/locale
/usr/share/libayatana-indicator/icons/
/usr/lib/x86_64-linux-gnu/ayatana-indicators3/7/
/usr/lib/debug/.dwz/x86_64-linux-gnu/mate-indicator-applet.debug
```

Ubuntu 20.04:

```
$ strings mate-indicator-applet | grep usr
/usr/lib/indicators3/7/
/usr/share/unity/indicators
/usr/share/locale
/usr/share/libindicator/icons/
/usr/lib/debug/.dwz/x86_64-linux-gnu/mate-indicator-applet.debug
```

It seems that there's no non-ayatana indicators support in current mate-indicator-applet. Is it intended behavior, or just a bug?

Thank you very much.

Appendix:

```
$ apt info indicator-application
Package: indicator-application
Version: 12.10.1+19.04.20190308.1-0ubuntu3
Priority: optional
Section: universe/gnome
Origin: Ubuntu
Maintainer: Ubuntu Desktop Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 126 kB
Depends: libappindicator3-1 (>= 0.2.92), libc6 (>= 2.4), libdbus-glib-1-2 (>= 0.88), libdbusmenu-gtk3-4 (>= 0.4.2), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.0.0), libindicator3-7 (>= 0.4.90), libpango-1.0-0 (>= 1.14.0), indicator-common
Homepage: https://launchpad.net/indicator-application
Download-Size: 24.7 kB
APT-Manual-Installed: yes
APT-Sources: https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 Packages
Description: Application Indicators
 An indicator to take menus from applications and place them in the panel.
$ apt info mate-indicator-applet
Package: mate-indicator-applet
Version: 1.26.0-1
Priority: optional
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian+Ubuntu MATE Packaging Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 202 kB
Provides: indicator-renderer
Depends: mate-indicator-applet-common (= 1.26.0-1), mate-panel, libatk1.0-0 (>= 1.12.4), libayatana-ido3-0.4-0 (>= 0.4.0), libayatana-indicator3-7 (>= 0.6.0), libc6 (>= 2.34), libglib2.0-0 (>= 2.22.0), libgtk-3-0 (>= 3.0.0), libmate-panel-applet-4-1 (>= 1.18), libx11-6
Homepage: http://www.mate-desktop.org
Task: ubuntu-mate-core, ubuntu-mate-desktop
Download-Size: 34.6 kB
APT-Manual-Installed: yes
APT-Sources: https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 Packages
Description: MATE panel indicator applet
 A small applet to display information from various applications
 consistently in the panel.
 .
 The indicator applet exposes Ayatana Indicators in the MATE Panel.
 Ayatana Indicators are an initiative by Canonical to provide crisp and
 clean system and application status indication. They take the form of an
 icon and associated menu, displayed (usually) in the desktop panel.
 Existing indicators include the Message Menu, Battery Menu and Sound
 menu.
```
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
DistroRelease: Ubuntu 22.04
Package: mate-indicator-applet 1.26.0-1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=zh_CN.UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
ProcVersionSignature:

Tags: jammy
Uname: Linux 5.15.39-1-pve x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
DistroRelease: Ubuntu 22.04
Package: mate-indicator-applet 1.26.0-1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=zh_CN.UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
ProcVersionSignature:

Tags: jammy
Uname: Linux 5.15.39-1-pve x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo
_MarkForUpload: True

taoky (taoky)
description: updated
Revision history for this message
Norbert (nrbrtx) wrote :

Please run

apport-collect 1981696

on the affected system.

Please test Ayatana indicator way more deeper on your own.

tags: added: jammy
Revision history for this message
taoky (taoky) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
taoky (taoky) wrote : NonfreeKernelModules.txt

apport information

Revision history for this message
taoky (taoky) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
taoky (taoky) wrote :

Ayatana indicators work correctly with mate-indicator-applet, but indicator packages starting with "indicator-" don't. The "Dependencies.txt" uploaded is with ayatana indicators "ayatana-indicator-datetime" and "ayatana-indicator-session" installed (and works without problems)

I'm going to install indicator-datetime and indicator-session back and reupload an apport bug report.

description: updated
Revision history for this message
taoky (taoky) wrote : Dependencies.txt

apport information

Revision history for this message
taoky (taoky) wrote : NonfreeKernelModules.txt

apport information

Revision history for this message
taoky (taoky) wrote : ProcCpuinfoMinimal.txt

apport information

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

Other bug subscribers

Remote bug watches

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