icon disappears from python appindicators after screen lock/suspend

Bug #1639793 reported by Andreas E.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libappindicator (Ubuntu)
New
Undecided
Unassigned

Bug Description

After every standby/suspend or screen lock, a python app-indicator now (16.10) displays an "missing icon" (framed black rectangle with red strike-through) instead of the original icon. This was not the case in 16.04. Killing and restarting this indicator's process makes the correct icon visible again.

The app indicator uses python3 and the following library:

    gi.require_version('AppIndicator3', '0.1')
    from gi.repository import AppIndicator3 as appindicator

The indicator is initialized with an icon path as follows:

    ind = appindicator.Indicator.new_with_path(
        indicator_name,
        icon_name,
        appindicator.IndicatorCategory.HARDWARE,
        resource_path)

where resource_path is a sub directory in ~/.local/bin and icon_name is an existing svg file.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: libappindicator3-1 12.10.1+16.10.20160905-0ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
Uname: Linux 4.8.0-26-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Nov 7 14:14:10 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-11-05 (2 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: libappindicator
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andreas E. (andreas-e) wrote :
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.