Snap of an Electron app GTK3 dialog not themed


#1

I have a small electron UI for docker. Using electron-builder to build the snap. When running from the unpacked build. The dialogs look just fine. But when running from the snap package, the dialog does not reflect any GTK3 theme. No drop-shadow, border or style at all. Does anyone know if this is an electron-builder issue or a snap package issue? BTW, I’m, using classic confinement.


#2

Did you find a solution for this? I have the same with a GTK3 Vala application. Building from source works fine but the snap does not show the shadows around the window.


#3

Played a bit more with this. The theming looks fine in Adwaita or HighContrast but not in Ambiance or Radiance. Tried this on Ubunutu 18.04.


#4

Nope, I haven’t fount anything and I noticed Atom in doing the same. Even the file dialogs looks terrible. It varies based on the theme. Seems like snaps GTK3+ Theme is broken. Only stock themes works fine.