vsaw / grid-at-a-glance

A tray icon showing information about the electrical grid at real time
MIT License
0 stars 0 forks source link

Chart preview not showing on Linux #1

Open vsaw opened 1 month ago

vsaw commented 1 month ago

Reported by @rochelmeyer (@thorsten4future@climatejustice.social)

Linux, KDE neon (basically ubuntu with the latest KDE Plasma Desktop on top) not somethin that lets you run into problems frequently.

Icon itself seems to be working and changes color depending on grid usage.

vsaw commented 1 month ago

OK, so it turns out ElectronJS does not support mouse-enter events on Linux for Tray icons.

The workaround of opening the chart preview on click is also not possible because I cannot determine the location of the Tray icon on screen and therefore don't know where to show the preview. Things I tried so far:

Therefore, I don't know how to fix this at the moment and probably cannot until upstream Electron is fixed.