Forum Discussion

Mirasxiu's avatar
Mirasxiu
Tin Contributor
Nov 02, 2026

Who decided closing a window should sometimes close the whole app?

Why is it that closing a single window sometimes shuts down the entire application instead of just that window? I'd like to understand who made this design decision and whether there's a setting to change this behavior so closing one window doesn't kill the whole app.

1 Reply

  • Closing a window and ending an application are connected by that application’s own lifetime rules. There is no single Windows switch that makes every program keep running after its main window closes. For example, Microsoft’s WPF framework lets developers choose shutdown when the main window closes, when the last window closes, or only when the application explicitly requests it.

     

    For an installed program, first distinguish closing one document from closing the main application window. Look for a document Close command or an application setting such as continuing in the notification area; availability depends on the program. Minimizing the window is the safer option when you want to keep its session running.

     

    If closing a secondary window unexpectedly closes other windows containing work, save first, reproduce it with a new empty document, and report the application name, version and exact sequence. That distinguishes intended application behavior from a reproducible fault.