Element-web: Closing the electron Riot.im non-obviously minimises it to the system tray rather than properly closing it.

Created on 18 Jul 2017  Â·  10Comments  Â·  Source: vector-im/element-web

I would expect it to close the application.

p2 rageshake electron trayicon uux

All 10 comments

We might want this to be configurable? And/or (on first close/minimise) pop up a message explaining what's happened?

This is standard behaviour for a lot of apps, but I agree it could be made configurable.

I already have an IPC for configuration of the electron main process from the renderer, so just need to add persistence and then this'll be painless

For OS X the normal behaviour is closing the window, but keeping the app running. Which is what is does now. :)

A system tray is also not guaranteed to exist on Linux. It doesn't on gnome now. Riot should automatically detect this case and Do The Right Thingâ„¢.

I have this problem in Gnome. No tray icon so I cannot close Riot (I have to kill the process, or start it from the terminal and use ctrl-c to exit).

Also, closing with Menu -> Close does not force close Riot on gnome/fedora. And that's a default behavior in MacOS as I know... There has to be a way to force close a UI application without killing the process on cli. That's a bit messy and should be fixed

This is configurable:

image

ack. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niedzielski picture niedzielski  Â·  3Comments

turt2live picture turt2live  Â·  3Comments

t3chguy picture t3chguy  Â·  3Comments

grahamperrin picture grahamperrin  Â·  3Comments

lukebarnard1 picture lukebarnard1  Â·  3Comments