Skip to content

[BUG] Handy switching icons causes gnome shell errors to be logged: GdkPixbuf.PixbufError: Failed to recognize image format #1784

Description

@rombert

Bug Description

When starting or stopping transcriptions, Handy switches its icon. It seems to do so in a way that is not compatible with GNOME Shell and the app indicator GNOME Shell extension. It seems to create new icon files on the fly, which does not work properly with those extensions.

I can verify that a new icon file is created each time.

System Information

App Version: 0.9.4

Operating System: openSUSE Tumbleweed, Gnome 50, Wayland.

For displaying icons the following extension is used

appindicatorsupport@rgcjonas.gmail.com
  Name: AppIndicator and KStatusNotifierItem Support
  Description: Adds AppIndicator, KStatusNotifierItem and legacy Tray icons support to the Shell
  Path: /home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com
  URL: https://github.com/ubuntu/gnome-shell-extension-appindicator
  Version: 64
  Enabled: Yes
  State: ACTIVE

CPU: 8-core AMD Ryzen 7 PRO 6850U with Radeon Graphics

GPU: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]

Logs

Gnome Shell logs below:

Jul 24 16:15:09 rombert2306.corp.adobe.com appindicatorsupport@rgcjonas.gmail.com[12071]: tray-icon tray app 106948-1, Impossible to read image info from path '/run/user/1000/tray-icon/tray-icon-106948-1-62.png' or name 'null': GdkPixbuf.PixbufError: Failed to recognize image format
Jul 24 16:15:09 rombert2306.corp.adobe.com gnome-shell[12071]: tray-icon tray app 106948-1 unable to update icon: GdkPixbuf.PixbufError: Failed to recognize image format

                                                               Stack trace:
                                                                 _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:494:44
                                                                 @resource:///org/gnome/shell/ui/init.js:20:20
                                                                 ### Promise created here: ###
                                                                 _createIconByIconData@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1166:68
                                                                 _cacheOrCreateIconByName@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1099:32
                                                                 async*_createIcon@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1476:38
                                                                 _createAndSetIcon@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1436:32
                                                                 _updateIconByType@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1428:24
                                                                 _updateIcon@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1505:24
                                                                 _invalidateIcon@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1560:14
                                                                 _invalidateIconWhenFullyReady@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:1543:18
                                                                 async*_init/<@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:946:24
                                                                 _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                                                 _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                                                 reset@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:725:14
                                                                 _ensureItemRegistered@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/statusNotifierWatcher.js:141:18
                                                                 RegisterStatusNotifierItemAsync@file:///home/robert/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/statusNotifierWatcher.js:238:24
                                                                 _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:407:31
                                                                 _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:448:34
                                                                 @resource:///org/gnome/shell/ui/init.js:20:20

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions