Plank doesn't identify electron apps when spawn via the electron binary

Bug #1820338 reported by Filipe Laíns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Plank
New
Undecided
Unassigned

Bug Description

When electron app are stated using `electron app.asar`, plank doesn't properly identify them. This results in them showing up with the electon icon and being stacked together. See attachment.

- Plank Version: 0.11.4
- Distribution: Archlinux
- Desktop Manager: budgie-wm (based in gnome-shell)

Tags: electron
Revision history for this message
Filipe Laíns (ffy00) wrote :
Revision history for this message
Josh Goebel (ajoshguy) wrote :

I wouldn't so quickly assume this is an issue with Plank. I recently ran into this same thing. It seems the way Plank even knows which icons to show is the distributions .desktop files they ship, etc... and the name the Electron app sets must match some of the meta-data in the .desktop file.

In my case the key line of the .desktop file is:

```
StartupWMClass=atom
```

This had to match the name set using `app.setName`... If they did not match I got the generic Electron icon rather than the apps icon.

Good luck.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.