Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system tray entry does not have an icon #340

Closed
SoMuchForSubtlety opened this issue Jan 16, 2024 · 4 comments
Closed

system tray entry does not have an icon #340

SoMuchForSubtlety opened this issue Jan 16, 2024 · 4 comments
Labels
bug Something isn't working flatpak Issues relating to the flatpak version of Vesktop

Comments

@SoMuchForSubtlety
Copy link

SoMuchForSubtlety commented Jan 16, 2024

Describe the bug
The system tray entry shows a placeholder instead of the vencord/vesktop icon

To Reproduce
Steps to reproduce the behavior:

  1. install from flathub
  2. launch vesktop

Expected behavior
An icon instead of the placeholder

Screenshots
image

Desktop (please complete the following information):

  • OS/Distro: Fedora Linux 39
  • Desktop Environment (linux only): gnome 45
  • Version:
Vencord 6573c47 
Vesktop V1.5.0
Electron 28.1.3
Chromium 120.0.6099.199

Additional context
I looked at the dbus communication, and these are the properties being set for the StatusNotifierItem.

array [
      dict entry(
         string "AttentionIconName"
         variant             string ""
      )
      dict entry(
         string "AttentionIconPixmap"
         variant             array [
            ]
      )
      dict entry(
         string "AttentionMovieName"
         variant             string ""
      )
      dict entry(
         string "Category"
         variant             string "ApplicationStatus"
      )
      dict entry(
         string "IconName"
         variant             string "status_icon_0"
      )
      dict entry(
         string "IconThemePath"
         variant             string "/tmp/.org.chromium.Chromium.6yLUDZ"
      )
      dict entry(
         string "Id"
         variant             string "chrome_status_icon_1"
      )
      dict entry(
         string "ItemIsMenu"
         variant             boolean false
      )
      dict entry(
         string "Menu"
         variant             object path "/com/canonical/dbusmenu"
      )
      dict entry(
         string "OverlayIconName"
         variant             string ""
      )
      dict entry(
         string "OverlayIconPixmap"
         variant             array [
            ]
      )
      dict entry(
         string "Status"
         variant             string "Active"
      )
      dict entry(
         string "Title"
         variant             string ""
      )
      dict entry(
         string "ToolTip"
         variant             struct {
               string ""
               array [
               ]
               string "Vesktop"
               string ""
            }
      )
      dict entry(
         string "WindowId"
         variant             int32 0
      )
   ]

first reported here flathub/dev.vencord.Vesktop#2

A different app using electron 22.3.3 does not have this issue.

@SoMuchForSubtlety SoMuchForSubtlety added the bug Something isn't working label Jan 16, 2024
@SoMuchForSubtlety
Copy link
Author

I looked a little closer at the dbus communication, and found this error (1.3059 is vesktop and 1.33 is gnome shell)

‣ Type=method_call  Endian=l  Flags=0  Version=1 Cookie=104458  Timestamp="Tue 2024-01-16 22:43:22.503812 UTC"
  Sender=:1.33  Destination=:1.3059  Path=/com/canonical/dbusmenu  Interface=com.canonical.dbusmenu  Member=AboutToShow
  UniqueName=:1.33
  MESSAGE "i" {
          INT32 0;
  };

‣ Type=error  Endian=l  Flags=1  Version=1 Cookie=24  ReplyCookie=104458  Timestamp="Tue 2024-01-16 22:43:22.504089 UTC"
  Sender=:1.3059  Destination=:1.33
  ErrorName=org.freedesktop.DBus.Error.Failed  ErrorMessage="error occurred in AboutToShow"
  UniqueName=:1.3059
  MESSAGE "s" {
          STRING "error occurred in AboutToShow";
  };

@Vendicated Vendicated added the flatpak Issues relating to the flatpak version of Vesktop label Jan 16, 2024
@SoMuchForSubtlety
Copy link
Author

Relevant log from the extension

[email protected][4755]: chrome_status_icon_1, Impossible to lookup icon for 'status_icon_0' in /tmp/.org.chromium.Chromium.tqr5kh

Setting TMPDIR=$XDG_RUNTIME_DIR fixes the issue. See electron-userland/electron-builder#1453

@SoMuchForSubtlety
Copy link
Author

This should fix it flathub/dev.vencord.Vesktop#10

@Vendicated
Copy link
Member

closing because this belongs in the flathub repo

@Vendicated Vendicated closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flatpak Issues relating to the flatpak version of Vesktop
Projects
None yet
Development

No branches or pull requests

2 participants