Appindicator not showing under wayland

Bug #1870795 reported by Paul Broadhead
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-appindicator (Ubuntu)
Fix Released
Low
Marco Trevisan (Treviño)
Focal
Fix Released
Low
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

An app-indicator icon does not show when I login using the default gnome session (wayland). If I choose the xorg session, the icon shows as normal. Under wayland, the icon does appear if I lock my session then log back in.

[ Test case ]

Run a desktop session (better if Ubuntu wayland), ensure that all the startup-launched appindicators are showing in the status area.

One affected indicator seems to be https://github.com/juliagoda/antimicroX/

[ Regression potential ]

Indicators may not load at all, wrong icons are shown instead.

---

Upstream change: https://github.com/ubuntu/gnome-shell-extension-appindicator/pull/231

$ lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04

$ apt-cache policy gnome-session-wayland
gnome-session-wayland:
  Installed: (none)
  Candidate: 3.36.0-2ubuntu1
  Version table:
     3.36.0-2ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu focal/universe i386 Packages

ProblemType: BugDistroRelease: Ubuntu 20.04
Package: gnome-session-wayland (not installed)
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Apr 4 15:30:40 2020
InstallationDate: Installed on 2019-12-15 (111 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)SourcePackage: gnome-session
UpgradeStatus: Upgraded to focal on 2020-03-10 (24 days ago)

Revision history for this message
Paul Broadhead (pjbroad) wrote :
affects: gnome-session (Ubuntu) → gnome-shell-extension-appindicator (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. It works here. Could you add your 'journalctl -b 0' log after triggering the issue?
What software/icon do you use which is rendered there?

Changed in gnome-shell-extension-appindicator (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Paul Broadhead (pjbroad) wrote :

The journalctl output is very verbose and contains all my system information, do you really want and need all that or is there a particular section? Below is a portion that mentions app indicator. If I lock my screen, then unlock, the output includes a few additional lines but nothing about app-indicator. My only indicator is one I wrote myself:
https://launchpad.net/el-time-applet/appindicator
If there is another indicator you want me to test to rule out an error my part then please let me know.
Thanks,
Paul

Apr 07 20:06:22 padfoot colord[1774]: failed to get session [pid 20630]: No data available
Apr 07 20:06:22 padfoot gnome-shell[20125]: Failed to set CRTC gamma: drmModeCrtcSetGamma on CRTC 48 failed: Permission denied
Apr 07 20:06:22 padfoot gnome-shell[20478]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Apr 07 20:06:22 padfoot gnome-shell[20478]: JS ERROR: TypeError: src is null
                                            connectSmart4A@/<email address hidden>/util.js:189:21
                                            connectSmart@/<email address hidden>/util.js:214:31
                                            _init@/<email address hidden>/appIndicator.js:325:14
                                            _init@/<email address hidden>/indicatorStatusIcon.js:42:25
                                            _registerItem@/<email address hidden>/statusNotifierWatcher.js:95:22
                                            _ensureItemRegistered@/<email address hidden>/statusNotifierWatcher.js:123:14
                                            RegisterStatusNotifierItemAsync@/<email address hidden>/statusNotifierWatcher.js:169:14
                                            _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:371:35
                                            _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:404:34
Apr 07 20:06:22 padfoot systemd[20398]: GNOME session X11 services is not active.
Apr 07 20:06:22 padfoot systemd[20398]: Dependency failed for GNOME XSettings.
Apr 07 20:06:22 padfoot systemd[20398]: gsd-xsettings.target: Job gsd-xsettings.target/start failed with result 'dependency'.
Apr 07 20:06:22 padfoot gnome-shell[20478]: GNOME Shell started at Tue Apr 07 2020 20:06:20 GMT+0100 (BST)
Apr 07 20:06:22 padfoot gnome-shell[20478]: Registering session with GDM
Apr 07 20:06:22 padfoot systemd[20398]: Starting GNOME XSettings...
Apr 07 20:06:22 padfoot systemd[20031]: Stopped target GNOME Wayland Session (session: gnome-login).
Apr 07 20:06:22 padfoot systemd[20031]: Stopped target Current graphical user session.

Revision history for this message
Paul Broadhead (pjbroad) wrote :

That formatting is bad, here and attachment.

Revision history for this message
Paul Broadhead (pjbroad) wrote :

Put back to new as I've added the requested information.

Changed in gnome-shell-extension-appindicator (Ubuntu):
status: Incomplete → New
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

This was fixed by version 34-1

Changed in gnome-shell-extension-appindicator (Ubuntu):
status: New → Fix Released
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → Low
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
description: updated
Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Paul, or anyone else affected,

Accepted gnome-shell-extension-appindicator into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/33.1-0ubuntu0.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Paul Broadhead (pjbroad) wrote :

On a fully up to date install of Ubuntu focal, I confirmed that the bug still existing using the current version gnome-shell-extension-appindicator/33.1. I then installed and tested the new version gnome-shell-extension-appindicator/33.1-0ubuntu0.20.04.1 and can confirm the bug no longer occurs with the steps outlined in the top description.

Thanks for the fix.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-shell-extension-appindicator has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-appindicator - 33.1-0ubuntu0.20.04.1

---------------
gnome-shell-extension-appindicator (33.1-0ubuntu0.20.04.1) focal; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * New upstream stable release
  * debian/gbp.conf:
    - Setup for focal branching and use ubuntu/* tagging
    - Use multimaint-merge in dch and sign tags
  * debian/control:
    - Set Ubuntu Developers as maintainer
    - Update VCS informations to point to ubuntu/focal
  * dbusMenu: Use GCancellable to stop pending async operations (LP: #1881669)
  * dbusMenu: Use proper argument name when parsing error (LP: #1881669)
  * dbusMenu: Stop idle requests if we've been destroyed (LP: #1870795)
  * appIndicator: Remove the callbackIdle if we destroy while waiting it
    (LP: #1849142)
  * StatusNotifierWatcher: Remove ProtocolVersion method (LP: #1896785)
  * appIndicator: Ignore further icons creation during an idle (LP: #1849142)
  * README: Remove statement about indicator-multiload not being supported
  * statusNotifierWatcher: Fix RegisterStatusNotifierHost method name and
    returned error (LP: #1896785)
  * interfaces: Sync interfaces XML with upstream ones (LP: #1896785)
  * StatusNotifierItem: Disable Tooltip properties and signals (LP: #1896785)
  * appIndicator: Don't waste CPU cycles to handle icon updates (LP: #1884396):
    - util: Use Shell's param to handle multiple named arguments
    - util: Delete proxyCancellables only if we didn't cancel already
    - util: Ignore errors if we can't find a listed dbus name
    - appIndicator: Cleanup the interface info properties map computation
    - appIndicator: Don't deep unpack changed properties array
    - appIndicator: Use native checks to look for equal emblems
    - appIndicator: Mark a valid cached icon as inUse again
    - appIndicator: Correctly mark cached GIcon's as in use
    - iconCache: Rewrite simplifying the usage for GIcon's only
    - iconCache: Dispose an icon when we remove it
    - iconCache: Increase the garbage-collector timings
    - appIndicator: Only iterate through the proxy available properties
    - appIndicator: Don't try to check equality on Pixmap variants
    - util: Try to batch properties updates when they comes close enough
    - appIndicator: Accumulate signals to batch close updates
    - appIndicator: Emit the same signal once on properties updates
    - appIndicator: Improve the warning message on lookup failed

  [ Fini Jastrow ]
  * appIndicator: Remove unneeded padding (LP: #1896779)
  * appIndicator: Fix 'reduce padding' for some icons (LP: #1896779)

  [ Sergio Costas ]
  * Wait until the desktop ends starting up (LP: #1870795)
  * Wait until Gtk.IconTheme.get_default() works (LP: #1870795)
  * Don't fail if no icon is found (LP: #1849142)
  * Use signal to detect display availability (LP: #1870795)

  [ Tasos Sahanidis ]
  * kstatusnotifierwatcher: Implement ProtocolVersion property (LP: #1896785)

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 23 Sep 2020 18:47:33 +0200

Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
status: Fix Committed → Fix Released
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.