electron / electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Home Page:https://electronjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Electron icon shown instead of app's on Wayland

ivan18m opened this issue · comments

commented

Preflight Checklist

Electron Version

18.2.4

What operating system are you using?

Other Linux

Operating System Version

Linux 5.18.7-arch1-1 #1 SMP PREEMPT_DYNAMIC

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

  • I use Linux with a KDE environment

  • I run an electron app with Wayland using chromium flags --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland

  • The default Electron icon is shown, minimize to tray doesn't work and many other problems

  • The problem is similar as described here
    https://nicolasfella.de/posts/fixing-wayland-taskbar-icons/ but instead of the Wayland icon, it is the Electron icon.

Actual Behavior

  • The proper icon is shown as when running without Wayland flags
  • Can minimize/close to the system tray

Testcase Gist URL

No response

Additional Information

No response

It is happening to me as well. I am on Arch Linux Gnome Wayland 42.5.

Duplicate of #35997

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.