Pressing CTRL+W with a single document open closes LibreOffice
Steps to Reproduce:
!. Lauch LibreOffice Start Center
2. Open a new document
3. Press CTRL+W
1. Same behaviour as the grey cross.. back to start center
2. And if it was up to me; don't close start center with CTRL+W, if being the last window. We have CTRL+Q for quiting. Makes the behaviour more consistent across Windows/Mac/Linux
User Profile Reset: No
That is the intended behavior for Ctrl+W. Ctrl+W is bound to command .uno:CloseWin with label "Close Window". It is located in menu Window in the menu bar.
You are looking for command .uno:CloseDoc. That is located in menu File and has label "Close". The command .uno:CloseDoc is bound to Ctrl+F4.
So for me a "Worksforme".
(In reply to Regina Henschel from comment #1)
> That is the intended behavior for Ctrl+W. Ctrl+W is bound to command
> .uno:CloseWin with label "Close Window". It is located in menu Window in the
> menu bar.
> You are looking for command .uno:CloseDoc. That is located in menu File and
> has label "Close". The command .uno:CloseDoc is bound to Ctrl+F4.
> So for me a "Worksforme".
Thanks for the clarification. Explains a lot
However no knowledge of the 'UX guidelines around CTRL+W. In Firefox/Vivaldi it always closes a tab never the application. Similar for Word. Closes the doc not the application
And on MacOS Cmd+W closes the application Window but LibreOffice keeps running in the Dock.
ALT+F4 quite program. Never used CTRL+F4
So still interested on the UX view on this :-)
Fwiw, also Firefox closes the window (or even the application) if it was the last tab to be closed (or last tab on last window).
+ browsers close (FF & Chromium), editors don't (Kate)
+ see also https://wiki.mozilla.org/Ctrl_W_not_close_app
+ about:config -> browser.tabs.closeWindowWithLastTab
+ ctrl+w actually goes back to start center, which closes then per ctrl+w
=> putting all together it's a WFM