Vencord / Vesktop

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

Default Wayland logo in title bar for KDE #376

Open Avenred opened 7 months ago

Avenred commented 7 months ago

Describe the bug

The default Wayland logo appears in the title bar and in the task switcher when running Vesktop in KDE. The normal Vesktop logo appears in the taskbar as usual.

To Reproduces

Steps to reproduce the behavior:

  1. Install Vesktop from Flatpak (not sure if this issues exists with other install methods)
  2. Launch Vesktop on KDE
  3. Observe the Wayland icon in the title bar
  4. Press ALT + TAB and observe the same Wayland logo in the task switcher

Expected behavior

The Vesktop logo appears instead of the Wayland one.

Screenshots 2024-02-03_17-39

Desktop (please complete the following information):

Command line output

Run vesktop from the command line. Include the relevant command line output here:

Passing the following arguments to Electron: --ozone-platform-hint=auto
[3:0203/174127.763950: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:0203/174128.049152: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:0203/174128.049223: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

Workarounds

Vendicated commented 7 months ago

kde issue. works fine on gnome

try normal non flatpak version

EinfxchFinn commented 7 months ago

image I dont have this issue on KDE Wayland. Both with and without --ozone-platform-hint=auto so this seems to be a flatpak specific problem

Avenred commented 7 months ago

try normal non flatpak version

Works fine when run as an Appimage. Seems to be Flatpak specific.

Vendicated commented 6 months ago

perhaps related to not copying all resolutions here? not sure why we only copy 16x16 and 512x512 anyway, we should just copy all resolutions

https://github.com/flathub/dev.vencord.Vesktop/blob/fdf5ad4fcaf090339b5206f79654d00f3173b234/dev.vencord.Vesktop.yml#L35-L36

cc @lewisakura

lewisakura commented 6 months ago

perhaps related to not copying all resolutions here? not sure why we only copy 16x16 and 512x512 anyway, we should just copy all resolutions

flatpak autogenerates the rest, we were told by the devs not to copy all of them

JakobDev commented 6 months ago

Should also be fixed by flathub/dev.vencord.Vesktop#12

KraXen72 commented 2 months ago

after the latest discord breakage & subsequent fixing, i started experiencing this issue.

ludg1e commented 1 month ago

This seems to be partially fixed. The Wayland icon still shows in the window switcher (Alt+Tab), but not in the taskbar/task manager. OS: Fedora 40 DE: Plasma 6.1.2 Vesktop flatpak 5160f90

EDIT: Fixed by setting a kwin rule to set the desktop file name