Skip to content

[Desktop] Windows: alt + F4 should close the window, not quit the application #2886

@debiedowner

Description

@debiedowner

Using Wire 3.5.2899 on Windows 10 1709, when I click the X button at the top right corner, the Wire window closes to the tray, but continues running. When I click the Wire logo at the top left corner of the window (or alternatively hit alt + space) and then select "x Close alt+F4" from the menu, the same thing happens, as expected.

However, when I press alt + F4, Wire app completely quits, instead of just closing the window. This is the wrong behavior on Windows: in all Windows programs, alt + F4 performs the same function as clicking the X button at the corner, and close the window. Wire should not override this. And seemingly it does not override, as the alt+Space menu indicates that alt+F4 performs its regular function; however, confusingly it actually performs a different function. This caused me to unwittingly quit Wire and not receive messages a number of times.

Looking at the shortcuts help page, on MacOS quit Wire shortcut is ⌘Q; and looking at the code, on Linux it is Ctrl+Q. It should be the same on Windows, Ctrl+Q, which is what many programs that normally close to tray use to completely quit. I don't think that it is necessary for Wire to define an alt+F4 shortcut; Windows automatically makes it do the same thing as the close button.

Additionally, Minimize and Close shortcuts (Ctrl+M and Ctrl+W) do not work for me even though they work when I click on the menu items; however, I would not miss the absence of either if alt+F4 starts working as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions