cosmic-applets icon indicating copy to clipboard operation
cosmic-applets copied to clipboard

[Status Area] Some icons don't display. Some menus don't display.

Open WatchMkr opened this issue 1 year ago • 13 comments

Examples:

Working examples: Spotify: Icon and menu display Mattermost: Icon and menu display

Non-working examples: VLC: No icon but the menu displays Slack: Icon but no menu Dropbox: Icon but no menu

WatchMkr avatar May 02 '24 00:05 WatchMkr

Another non-working example: 1Password: Icon but no menu

t-lit avatar Jun 12 '24 04:06 t-lit

https://github.com/pop-os/cosmic-applets/pull/498 should fix the menu in Slack, and probably other clients.

Dropbox still seems to be an issue. gnome-shell-extension-appindicator has three comments about it, so it seems it's known to not do things properly.

ids1024 avatar Jun 23 '24 03:06 ids1024

Fixed: Slack: Icon but no menu 1Password: Icon but no menu

Still has issues: VLC: No icon but the menu displays Dropbox: Icon but no menu

We'll leave the issue open but move to Alpha 2.

WatchMkr avatar Jun 25 '24 15:06 WatchMkr

Hi, jumping in from #518 with other examples

  • Tuxedo Control Center : no icon. Menu sometimes does not show up on click. (https://github.com/tuxedocomputers/tuxedo-control-center)
  • google-chat-linux (https://github.com/squalou/google-chat-linux/) ok this one is mine :) : icon is displayed but its aspect is not updated depending on connexion status. Note that for this one ... I already have to tweak things to have it work with Gtk, creating a fake libappindicator3.so file to trick electron. So this is probably more electron related than anything)
  • synology drive : no icon displayed.
  • intelliJ toolbox : no display
  • opensnitch : display, menu appears and actions do things BUT menu is not updated

It looks like in most cases, icon and menu is displayed once and for all, but never updated when it should. (exemple : icon when status changes, or menu entries when "tick" should appear / disappear depending on status)

squalou avatar Jul 06 '24 06:07 squalou

screenshot-2024-08-06-17-46-07 I believe that an issue I am experiencing maybe relevant here. If a new issue is the more appropriate way to submit this feedback happy to do so. I've not actively submitted feedback via Github in this manner previously so any details for etiquette or best practices would be welcomed.

In the Notification Tray applet not all apps that have context menus do not appear to honor those context menus.

For example in my Notification Tray applet I currently have Solaar (System), OpenRGB (System), Bitwarden (Flathub), Discord (System), and Steam (System)

Solaar - the context menu appears and when an option is selected the correct action takes place; i.e. opening the app

OpenRGB - the context menu appears and when an option is selected the correct action takes place; i.e. opening the app

Bitwarden- the context menu appears and when an option is selected the correct action takes place; i.e. opening the app

Steam - the context menu appears but when an option is selected nothing visual happens on screen, app doesn't open, or if Exit Steam is selected Steam does not quit.

Discord - the context menu appears but when an option is selected nothing visual happens on screen, app doesn't open, though if Quit is selected the Discord does quit.

All applications were installed on my system prior to installing Cosmic. Pop!_OS - 22.04 - Cosmic installed 2024-08-06

yroark avatar Aug 06 '24 17:08 yroark

(additional consideration : reloading the panel does update icons to the expected state at the moment of the reload - at least for electron-based apps ones)

squalou avatar Aug 11 '24 08:08 squalou

screenshot-2024-08-06-17-46-07 I believe that an issue I am experiencing maybe relevant here. If a new issue is the more appropriate way to submit this feedback happy to do so. I've not actively submitted feedback via Github in this manner previously so any details for etiquette or best practices would be welcomed.

In the Notification Tray applet not all apps that have context menus do not appear to honor those context menus.

For example in my Notification Tray applet I currently have Solaar (System), OpenRGB (System), Bitwarden (Flathub), Discord (System), and Steam (System)

Solaar - the context menu appears and when an option is selected the correct action takes place; i.e. opening the app

OpenRGB - the context menu appears and when an option is selected the correct action takes place; i.e. opening the app

Bitwarden- the context menu appears and when an option is selected the correct action takes place; i.e. opening the app

Steam - the context menu appears but when an option is selected nothing visual happens on screen, app doesn't open, or if Exit Steam is selected Steam does not quit.

Discord - the context menu appears but when an option is selected nothing visual happens on screen, app doesn't open, though if Quit is selected the Discord does quit.

All applications were installed on my system prior to installing Cosmic. Pop!_OS - 22.04 - Cosmic installed 2024-08-06

This is a similar issue to mine, nextcloud client and mullvad vpn icons either dont show in the applets area or when they do show I get the context menu and cannot open the app again because its technically already open, usually I have to reboot to open them again. I have to currently minimise those apps so I don't have this issue.

Aug 15 09:35:27 pop-os cosmic-panel[1801]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=eDP-1 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: thread caused non-unwinding panic. aborting.
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: panic in a destructor during cleanup
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: thread 'main' panicked at library/core/src/panicking.rs:227:5:
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   26:                0x0 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   25:     0x6055d77735e5 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   24:     0x7914d8a2a28b - __libc_start_main
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   23:     0x7914d8a2a1ca - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   22:     0x6055d7774934 - main
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   21:     0x6055d77736b3 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   20:     0x6055d77743f8 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   19:     0x6055d8bd69a2 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   18:     0x6055d8b0aab4 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   17:     0x6055d8ad3710 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   16:     0x6055d8ad9217 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   15:     0x6055d8ae8fad - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   14:     0x6055d8aea9eb - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   13:     0x6055d8bb76f0 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   12:     0x6055d8c668b4 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   11:     0x6055d9a813cd - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:   10:     0x6055d7706b60 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    9:     0x6055d76edcf2 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    8:     0x6055d97e6e26 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    7:     0x6055d97e6e39 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    6:     0x6055d97e6ee2 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    5:     0x6055d97e77b9 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    4:     0x6055d97e6366 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    3:     0x6055d97e6b79 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    2:     0x6055d97ad222 - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    1:     0x6055d789b57b - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea:    0:     0x6055d97e3c0a - <unknown>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: stack backtrace:
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: there is no reactor running, must be called from the context of a Tokio 1.x runtime
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: thread 'main' panicked at /build/cosmic-applets-928HCu/cosmic-applets-0.1.0~1723568614~24.04~e51ca81/vendor/zbus/src/abstractions/executor.rs:62>
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: stack backtrace:
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: Build pixmap from image bytes
Aug 15 09:35:27 pop-os cosmic-panel[1801]: com.system76.CosmicAppletStatusArea: thread 'main' panicked at /build/cosmic-applets-928HCu/cosmic-applets-0.1.0~1723568614~24.04~e51ca81/vendor/iced_tiny_skia/src/raster.rs:131:14

Greylinux avatar Aug 15 '24 08:08 Greylinux