Bug 423128 - pamac-tray-appindicator stopped run
Summary: pamac-tray-appindicator stopped run
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.19.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-17 22:34 UTC by Piotr Mierzwinski
Modified: 2020-06-22 20:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Script to list all registered SNI (739 bytes, application/x-shellscript)
2020-06-17 22:50 UTC, Konrad Materka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2020-06-17 22:34:03 UTC
SUMMARY
I think after update to Plasma 5.19.1 pamac-tray-appindicator stopped run. This application manage pamac application from System Tray. Just run linked application, usually pamac-manager. Worth not mention this is gtk (3) application.

BTW. There is available also pamac-qt aplication which doesn't need pamac-tray-appindicator to dock on System Tray, but from some unknown reason its icon isn't shown. In file /usr/share/applications/pamac-qt.desktop there is set Icon entry like this: Icon=system-software-install. Of course this icon is present in several icons sets. Among other I tested with Breeze.


STEPS TO REPRODUCE
1. Install pamac
2. Try to run pamac-tray-appindicator to get icon in System Tray
3. 

OBSERVED RESULT
In terminal application reports something like this:
$ pamac-tray-appindicator

(pamac-tray-appindicator:119607): GLib-GIO-CRITICAL **: 23:34:05.643: GApplication subclass 'PamacIndicatorTrayIcon' failed to chain up on ::startup (from start of override function)

(pamac-tray-appindicator:119607): GLib-GIO-CRITICAL **: 23:34:05.643: GApplication subclass 'PamacIndicatorTrayIcon' failed to chain up on ::shutdown (from end of override function)


EXPECTED RESULT
Icon of pamac placed in System Tray


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71
Qt Version: 5.15

ADDITIONAL INFORMATION
$ pacman -Q|grep pamac
pamac-cli 9.5.5-1
pamac-common 9.5.5-1
pamac-gtk 9.5.5-1
pamac-qt 0.3.2-2
pamac-tray-appindicator 9.5.5-1

$ pacman -Q | grep -i GLib2
glib2 2.64.3-2
glib2-docs 2.64.3-2
lib32-glib2 2.64.3-1
Comment 1 Konrad Materka 2020-06-17 22:50:23 UTC
Created attachment 129464 [details]
Script to list all registered SNI

Are other icons rendered correctly? For example Skype, Steam, Dropbox, Discord etc?

Can you run attached script and attach output here? It will list all system tray icons registered.
Comment 2 Piotr Mierzwinski 2020-06-18 20:05:11 UTC
(In reply to Konrad Materka from comment #1)
> Created attachment 129464 [details]
> Script to list all registered SNI
> 
> Are other icons rendered correctly? For example Skype, Steam, Dropbox,
> Discord etc?
From GTK+ applications I tested psensor (ver.1.2) and seems work correctly. Icon is correctly rendered.

Dropbox seems work correctly. Icon is correctly rendered.

Please notice that pamac-manager (original GTK+ version of pamac) has the same assigned icon in desktop file

Below please find output from your script:

org.kde.StatusNotifierWatcher
pid,start,command:  781 08:58:08 /usr/bin/kded5

ITEMS:

ITEM:      :1.29/StatusNotifierItem
PID STAT:  878 08:58:09 /usr/lib/DiscoverNotifier
ID:        Discover Notifier_org.kde.DiscoverNotifier
TITLE:     Updates

ITEM:      :1.45/StatusNotifierItem
PID STAT:  998 08:58:10 /usr/bin/clementine -session 1011d10dde79000159242951400001181280005_1592436664_265255
ID:        Clementine
TITLE:     Clementine

ITEM:      :1.158/org/ayatana/NotificationItem/dropbox_client_110912
PID STAT:  110912 21:43:24 /home/piotra/build-repos/dropbox/.dropbox-dist/dropbox-lnx.x86_64-99.4.501/dropbox
ID:        dropbox-client-110912
TITLE:     dropbox

ITEM:      :1.179/StatusNotifierItem
PID STAT:  113905 21:58:18 /usr/bin/pamac-qt
ID:        pamac-qt
TITLE:     pamac-qt
Comment 3 Konrad Materka 2020-06-18 22:24:28 UTC
(In reply to Piotr Mierzwinski from comment #2)
> From GTK+ applications I tested psensor (ver.1.2) and seems work correctly.
> Icon is correctly rendered.
> 
> Dropbox seems work correctly. Icon is correctly rendered.
Good, then there is no problem with SNI icons handling in Plasma.

> Please notice that pamac-manager (original GTK+ version of pamac) has the
> same assigned icon in desktop file
This is most probably unrelated, even with missing icon something will be rendered (in worst case transparent/empty icon).

> Below please find output from your script:
I see that icons are correctly registered, but there is no pamac-tray-appindicator. I just tested Manjaro KDE from https://manjaro.org/downloads/official/kde/, which is using Plasma 5.18.5 - no icon for pamac-tray-appindicator.
I switched to "testing" repository, updated to Plasma 5.19.1, icon is still there.


This is most probably a problem with pamac-tray-appindicator... These errors are definitely not from KDE Plasma:

> (pamac-tray-appindicator:119607): GLib-GIO-CRITICAL **: 23:34:05.643: GApplication subclass 'PamacIndicatorTrayIcon' failed to chain up on ::startup (from start of override function)
> (pamac-tray-appindicator:119607): GLib-GIO-CRITICAL **: 23:34:05.643: GApplication subclass 'PamacIndicatorTrayIcon' failed to chain up on ::shutdown (from end of override function)
Comment 4 Konrad Materka 2020-06-18 23:12:20 UTC
Closing, as this is not an issue with KDE Plasma. Feel free to reopen this bug report if you find some information that it is caused by Plasma.
Comment 5 Piotr Mierzwinski 2020-06-18 23:57:43 UTC
(In reply to Konrad Materka from comment #3)
> (In reply to Piotr Mierzwinski from comment #2)
> > From GTK+ applications I tested psensor (ver.1.2) and seems work correctly.
> > Icon is correctly rendered.
> > 
> > Dropbox seems work correctly. Icon is correctly rendered.
> Good, then there is no problem with SNI icons handling in Plasma.
> 
> > Please notice that pamac-manager (original GTK+ version of pamac) has the
> > same assigned icon in desktop file
> This is most probably unrelated, even with missing icon something will be
> rendered (in worst case transparent/empty icon).

OK. I will test it on different system (KaOS) with older Plasma. Just to be sure if this icon is even visible with different Plasma style.


> > Below please find output from your script:
> I see that icons are correctly registered, but there is no
> pamac-tray-appindicator. 

It is obvious that there is no pamac-tray-appindicator. As I told you this application stopped  start, at all. I can run pamac-manager and it works, but it is not able to dock itself in System Tray. The reason is not working pamac-tray-appindicator which handles this.


> I just tested Manjaro KDE from
> https://manjaro.org/downloads/official/kde/, which is using Plasma 5.18.5 -
> no icon for pamac-tray-appindicator.

I use some time this application, which I installed on Arch. It was working well. I got icon, I click left mouse button on it and got menu. Even version 9.5.5 was working well. It was happen till update to Plasma 5.19. I don't know maybe some other update broke it.
BTW. This is application coming from Manjaro, so IMO should work on its base system, well.


> I switched to "testing" repository, updated to Plasma 5.19.1, icon is still
> there.

Sorry, I don't get you. Before you told that icon is missing.

 
> This is most probably a problem with pamac-tray-appindicator... These errors
> are definitely not from KDE Plasma:
> 
> > (pamac-tray-appindicator:119607): GLib-GIO-CRITICAL **: 23:34:05.643: GApplication subclass 'PamacIndicatorTrayIcon' failed to chain up on ::startup (from start of override function)
> > (pamac-tray-appindicator:119607): GLib-GIO-CRITICAL **: 23:34:05.643: GApplication subclass 'PamacIndicatorTrayIcon' failed to chain up on ::shutdown (from end of override function)

I'm not sure if errors must coming always from Plasma.
And it's strange that icon for pamac-manager before was visible, when pamac-tray-appindicator was working and working before update to Plasma 5.19. OK. Maybe some other update broke it. I'm not 100% sure. Anyway I downgraded it to version 9.5.2 and met the same problem.

I will report issue on pamac project.
Comment 6 Konrad Materka 2020-06-19 11:08:38 UTC
(In reply to Piotr Mierzwinski from comment #5)
> > I switched to "testing" repository, updated to Plasma 5.19.1, icon is still
> > there.
> 
> Sorry, I don't get you. Before you told that icon is missing.
In your output from the script it is missing, which is expected, because you don't see the icon. On my system everything works correctly.

> I'm not sure if errors must coming always from Plasma.
> And it's strange that icon for pamac-manager before was visible, when
> pamac-tray-appindicator was working and working before update to Plasma
> 5.19. OK. Maybe some other update broke it. I'm not 100% sure. Anyway I
> downgraded it to version 9.5.2 and met the same problem.
> 
> I will report issue on pamac project.

Please do so, thank you.
Comment 7 Piotr Mierzwinski 2020-06-22 20:37:38 UTC
I have built pamac from sources (used pamac-aur) and after installation all works well. Even left click raises pamac window.

pamac which wasn't working was coming from manjaro packages and I installed it into Arch.