Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by ttyyzz on Thursday November 17, 2022 @08:27AM
(#33638526)
Alt+F4 kills the process.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by simiones on Thursday November 17, 2022 @08:33AM
(#33638592)
Nope, Alt+F4 is the close window shortcut.
This is even visible in the OS-controller Window Menu - hit Alt+Spacebar in any window of any app, and you'll see the Window menu appear, which will include an option for Close (the current window), showing that the shortcut for it is Alt+F4. This is even true for modal dialogs (if they are real Windows modal dialogs).
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by phepranto on Thursday November 17, 2022 @08:47AM
(#33638783)
Weirdly enough, Alt+Spacebar, then clicking close only closes the window (minimizing to the tray), but just hitting Alt+F4 kills the process.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by simiones on Thursday November 17, 2022 @09:06AM
(#33639024)
You mean for Discord I assume? That is strange indeed - though of course Windows has always allowed apps to modify any kind of behavior they want (for better and for worse).
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by tpxl on Thursday November 17, 2022 @08:34AM
(#33638600)
No it doesn't.
If I open blender and hit 'Render Image', a new Window will open with the rendered image. This does NOT spawn a new process. Hitting Alt+F4 on this window closes the window. This does NOT kill a process.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by CodesInChaos on Thursday November 17, 2022 @08:31AM
(#33638565)
Alt+F4 asks the window to close. If it's the main window, this will by default terminate the message loop, shutting down the application. But the application is free to handle the message whatever way it likes. Asking for confirmation, ignoring it, or closing the window without terminating the process.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by ttyyzz on Thursday November 17, 2022 @02:29PM
(#33644308)
guys i dont know why im getting downvoted - on my windows 10 machine, newest discord version -> alt+f4 kills the process and x-ing the app does not.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by debugnik on Thursday November 17, 2022 @09:01AM
(#33638961)
Except for Discord, which actually closes the entire application on Alt-F4 instead of just the window.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by Semaphor on Thursday November 17, 2022 @09:03AM
(#33638991)
Huh. You are right. Alt+F4 closes the application, clicking the X closes the window. Kinda inconsistent.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by lightedman on Thursday November 17, 2022 @10:44AM
(#33640531)
Alt-F4 invokes different processes than the X button does. The X button is more akin to CTRL-F4.
Re:Discord Inc. fined 800 000 euros by the CNIL, GDPR regula...
by debugnik on Thursday November 17, 2022 @12:48PM
(#33642726)
Nah, they both send WM_CLOSE to the window. The actual problem is that Discord uses its own non-native window frame and reimplements the X button differently than they handle the actual close event.
Alt-F4 closes the _window_, not the application. If the application can 'survive' without a window, not exiting the application is the correct behaviour.