element-hq / element-hq/element-web

Quitting element with keyboard shortcuts doesn't work on Windows

Open
#27,624 1 comment 0 reactions 0 assignees View on GitHub
A-Electron A-Shortcuts Help Wanted O-Frequent S-Minor T-Defect Z-Platform-Specific Z-Upstream
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

This has been true for a while, but I'm on the latest stable Windows release.

When Element is open, CTRL-Q pops up a confirmation box, but whether the user selects "close element" or "cancel" the result is the same--nothing happens, the window is still open. This is true whether "show tray icon and minimise window to it on close" is enabled.

ALT-F4 also pops up confirmation box, and when the user selects "close element" the window disappears, but the application does not exit if "show tray icon..." is enabled. If "show tray icon..." is disabled, ALT-F4 does, in fact, exit out of the application.

It is, however, my experience with every other Windows application that has a "minimize to tray rather than exit" option that this occurs only when the user selects the X to close the window, not when the user specifically attempts to quit the application.

### Outcome

CTRL-Q and ALT-F4 should exit the application regardless of preferences.

CTRL-Q never exits; ALT-F4 only exits based on preferences.

### Operating system

Windows 10

### Application version

Element version: 1.11.69 Crypto version: Rust SDK 0.7.0 (068a0af), Vodozemac 0.6.0

### How did you install the app?

downloaded from https://packages.element.io/desktop/update/win32/x64/element-desktop-1.11.69-full.nupkg

### Homeserver

Synapse 1.109.0+jammy1

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.