** Description changed: + [ Impact ] + + Chromium and Electron apps implement the KStatusNotifierItem spec without exposing some DBus properties that the spec describes. + The app-indicator feature can work without those properties, but gnome-shell-extension-appindicator will log a big error message to the system journal every time the app refreshes the indicator. + + Because failing to access those properties is not fatal, we can avoid dumping an error to the system journal. Instead, we'll only print a debug message, not visible by default unless enabled with G_MESSAGES_DEBUG="Ubuntu-AppIndicators" + in the shell's environment. + + [ Test Plan ] + + Reproducing the issue involves using an Electron-based application that + uses AppIndicators. I'm going to use Mattermost as an example of one. + + * Install the mattermost-desktop snap + + * Log in + + * Click the 3-dots button on the top-left + + * Navigate to File > Settings + + * Tick `Show icon in the notification area` + + * Restart the app + + * In a terminal window start printing journal logs with `journalctl -f` + + * Get someone to send a message to any channel that you participate in. + + * Verify that the error was not logged to the journal + + [ Where problems could occur ] + + The AppIndicator extension is an important feature of Ubuntu Desktop. + If misconfigured, the extension may crash the desktop. + + The patch only touches printing logs, so should not affect the well + behavior of the extension. + + Problems can be detected by using applications that expose app- + indicators. + + [ Original Description ] + Every session I see those errors in the attached log file. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gnome-shell 46.0-0ubuntu5 ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1 Uname: Linux 6.8.0-31-generic x86_64 ApportVersion: 2.28.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri May 3 08:54:53 2024 DisplayManager: gdm3 InstallationDate: Installed on 2024-03-22 (41 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) RelatedPackageVersions: mutter-common 46.0-1ubuntu9 SourcePackage: gnome-shell UpgradeStatus: Upgraded to noble on 2024-04-11 (22 days ago)
** Description changed: [ Impact ] Chromium and Electron apps implement the KStatusNotifierItem spec without exposing some DBus properties that the spec describes. The app-indicator feature can work without those properties, but gnome-shell-extension-appindicator will log a big error message to the system journal every time the app refreshes the indicator. Because failing to access those properties is not fatal, we can avoid dumping an error to the system journal. Instead, we'll only print a debug message, not visible by default unless enabled with G_MESSAGES_DEBUG="Ubuntu-AppIndicators" in the shell's environment. + The full error message can be seen in comment #3 + [ Test Plan ] Reproducing the issue involves using an Electron-based application that uses AppIndicators. I'm going to use Mattermost as an example of one. - * Install the mattermost-desktop snap + * Install the mattermost-desktop snap - * Log in + * Log in - * Click the 3-dots button on the top-left + * Click the 3-dots button on the top-left - * Navigate to File > Settings + * Navigate to File > Settings - * Tick `Show icon in the notification area` + * Tick `Show icon in the notification area` - * Restart the app + * Restart the app - * In a terminal window start printing journal logs with `journalctl -f` + * In a terminal window start printing journal logs with `journalctl -f` - * Get someone to send a message to any channel that you participate in. + * Get someone to send a message to any channel that you participate in. - * Verify that the error was not logged to the journal + * Verify that the error (comment #3) was not logged to the journal [ Where problems could occur ] The AppIndicator extension is an important feature of Ubuntu Desktop. If misconfigured, the extension may crash the desktop. The patch only touches printing logs, so should not affect the well behavior of the extension. Problems can be detected by using applications that expose app- indicators. [ Original Description ] Every session I see those errors in the attached log file. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gnome-shell 46.0-0ubuntu5 ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1 Uname: Linux 6.8.0-31-generic x86_64 ApportVersion: 2.28.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri May 3 08:54:53 2024 DisplayManager: gdm3 InstallationDate: Installed on 2024-03-22 (41 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) RelatedPackageVersions: mutter-common 46.0-1ubuntu9 SourcePackage: gnome-shell UpgradeStatus: Upgraded to noble on 2024-04-11 (22 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064698 Title: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in Get [### Promise created here: ### getProperty@file:///usr/share/gnome-shell/extensions/ubuntu- appindicat...@ubuntu.com/dbusProxy.js:89:33] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2064698/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs