Vencord / Vesktop

Vesktop is a custom Discord App aiming to give you better performance and improve linux support
GNU General Public License v3.0
4.25k stars 189 forks source link

[Bug] Window is considered separate from desktop entry on Plank dock #779

Closed Stonley890 closed 3 months ago

Stonley890 commented 3 months ago

Discord Account

stonleyfx

Operating System

Linux Mint 22 Cinnamon 64-Bit

Linux Only ~ Desktop Environment

Cinnamon on Xorg

Package Type

Flatpak

What happens when the bug or crash occurs?

This issue occurs while the Vesktop window is visible.

What is the expected behaviour?

The Vesktop launcher icon (the clearer one with the background) should have a blue dot indicating that there is a window open and it should be the only vesktop icon.

image

How do you recreate this bug or crash?

  1. Install Plank.
  2. Open Vesktop.
  3. Right-click the icon without the background.
  4. It cannot be pinned to the dock.
  5. Close Vesktop.
  6. Open Vesktop from the Cinnamon menu and immediately pin the icon with the background to the dock.
  7. There are two Vesktop icons.

Debug Logs

$ flatpak run dev.vencord.Vesktop
Passing the following arguments to Electron: --enable-speech-dispatcher
[3:0724/185300.814460:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
Gtk-Message: 18:53:00.934: Failed to load module "xapp-gtk3-module"

(vesktop.bin:3): Gtk-WARNING **: 18:53:00.941: Theme parsing error: gtk.css:4283:35: '-2px' is not a valid color name

(vesktop.bin:3): Gtk-WARNING **: 18:53:00.941: Theme parsing error: gtk.css:4287:35: '-1px' is not a valid color name
[3:0724/185300.967776:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0724/185300.967796:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

(vesktop.bin:3): Gtk-WARNING **: 18:53:01.022: Theme parsing error: gtk-dark.css:4283:35: '-2px' is not a valid color name

(vesktop.bin:3): Gtk-WARNING **: 18:53:01.022: Theme parsing error: gtk-dark.css:4287:35: '-1px' is not a valid color name
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started

I don't know if they'll be any help, but here are the logs from Plank, too.

$ plank

(plank:11321): Gtk-WARNING **: 18:53:45.680: Theme parsing error: gtk.css:4283:35: '-2px' is not a valid color name

(plank:11321): Gtk-WARNING **: 18:53:45.680: Theme parsing error: gtk.css:4287:35: '-1px' is not a valid color name
[CRITICAL 18:53:45.699339] [Wnck] wnck_set_client_type: changing the client type is not supported.

(plank:11321): Gtk-WARNING **: 18:53:45.711: Theme parsing error: gtk.css:4283:35: '-2px' is not a valid color name

(plank:11321): Gtk-WARNING **: 18:53:45.711: Theme parsing error: gtk.css:4287:35: '-1px' is not a valid color name
[WARN 18:53:45.728452] [Preferences:192] '/usr/share/themes/Jasper-Blue-Dark/plank/dock.theme' is read-only!
[WARN 18:53:45.728607] [Preferences:378] Missing key 'BadgeColor' for group 'PlankDockTheme' in preferences file '/usr/share/themes/Jasper-Blue-Dark/plank/dock.theme' - using default value
Passing the following arguments to Electron: --enable-speech-dispatcher
[3:0724/185348.428721:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
Gtk-Message: 18:53:48.553: Failed to load module "xapp-gtk3-module"

(vesktop.bin:3): Gtk-WARNING **: 18:53:48.562: Theme parsing error: gtk.css:4283:35: '-2px' is not a valid color name

(vesktop.bin:3): Gtk-WARNING **: 18:53:48.562: Theme parsing error: gtk.css:4287:35: '-1px' is not a valid color name
[3:0724/185348.589824:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0724/185348.589845:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

(vesktop.bin:3): Gtk-WARNING **: 18:53:48.653: Theme parsing error: gtk-dark.css:4283:35: '-2px' is not a valid color name

(vesktop.bin:3): Gtk-WARNING **: 18:53:48.653: Theme parsing error: gtk-dark.css:4287:35: '-1px' is not a valid color name
[WARN 18:53:48.692409] [PositionManager:693] Without a draw_value there is trouble ahead for 'vesktop'
[WARN 18:53:48.692458] [PositionManager:693] Without a draw_value there is trouble ahead for 'vesktop'
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
[WARN 18:53:50.222895] [PositionManager:693] Without a draw_value there is trouble ahead for 'Discord'
[WARN 18:53:50.222949] [PositionManager:693] Without a draw_value there is trouble ahead for 'Discord'

Request Agreement

Vendicated commented 3 months ago

works fine on other DEs so not a vesktop issue.