Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


@Cley, *,

Cley Faye wrote
The "close document" behavior you're noticing on windows is not linked to
LibreOffice, but is a feature of the system. It just mean "close the
window, not the app" and work everywhere. You can try it in most tabbed
browser too :)

Sorry but that is not quite correct.  The Key mappings are actually
hard-coded in the vcl modules of LibreOffice core--see the source
http://opengrok.libreoffice.org/xref/core/vcl/source/window/keycod.cxx

On Windows the KEY_MOD1 is the <Ctrl> key, KEY_MOD2 is the <Alt> key, and I
beleive the Windows key is mapped to KEY_MOD3-- on OSX  I believe the
KEY_MOD1 is mapped to the <Command> key and KEY_MOD2 is mapped to <Alt> but
I'd have to check that.

So, the reason it is not available to customize in the  Writer  Tools -->
Customize --> Keyboard is because the key combo is defined for the entire
LibreOffice application--they are reserved.   As can be seen in the source,
a <CTRL>+F4 or <CTRL>+W  will */Close/* the document.   While a <ALT>+F4 or
<CTRL>+Q will */Quit/* LibreOffice.

All that being said, the operating system may have other key-mappings in
place that can conflict or take precedence over LibreOffice mappings.  That
does happen on some of the Linux Desktop Environments and is likely what is
affecting Thomas.

Stuart







--
View this message in context: 
http://nabble.documentfoundation.org/Ctrl-F4-Close-document-tp4123767p4123773.html
Sent from the Users mailing list archive at Nabble.com.

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.