[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-design] Ctrl+Enter to trigger the default button in dialogs

Hi Cor,

your examples are not completely correct: In the cases of Alt+F12 (tools -> options -> user data) and Ctrl+1 (cell formatting) Enter triggers the button that _has the focus_ - as it should do! Only Alt+Enter and Ctrl+Enter do close the dialog (also for Alt+F12, in contrast to your statement!), rgardless of which button has the focus. And the effect of using these is in fact the same as using OK.
But in the case of the Basic Macro Organiser, tab Libraries, we do not know if Alt+Enter triggers the function of the default button, or if it triggers Close or Cancel, because we cannot see any effect like with OK.
This too sparse evidence to see a pattern. And then you say yourself in one of your mails "Maybe it is not the default button, but the Close/OK button." , so even you seemed not to be sure when you answered Heiko, although the two examples you provided later seem to point to the default button.
So your examples do not provide evidence for your feeling of "ultimate utter confusion".
If you know of a dialog where Enter does not trigger the button that has the focus, then it will probably be an error and worth a filing a bug. But for a key shortcut to work like the default button I do not know: if the button has the focus, you don't need it, you have Enter then; and if it hasn't, you do not see what the default button is, you only may remember. And in most cases the default button is still active, because you changed only the data in the fields, this is at least the case for the examples you provided, even if I use the keyboard and not the mouse to arrive at the fields I want to change, so Enter is sufficient then.
As a result, I for myself see no reason for introducing a general notion of a key shortcut for the default button



Am 14.05.2019 um 14:16 schrieb Cor Nouws:
Hi Gerhard,

Gerhard Weydt wrote on 5/13/19 5:20 PM:

I explained the situations where it's different.
And as written, it sometimes is Alt+Enter closes. E.g. Macro> Organize

But Enter works well for Macros -> Organise Macros and Macros ->
Organise Dialogs! So why do you say it's different?
I stumbled over it, with the dlg Basic Macro Organiser, tab Libraries,
having the focus on Import. Of course hitting Alt+Enter was not what
intended to do, but since I did, I was suprised. Now it looks, as if is
in more situations. But for sure not always.

- Alt+F12: Enter, Ctr+Enter, Alt+Enter all close (OK)
- Calc, Format Cells (Ctrl+1): Enter closes (OK), but Ctr+Enter,
Alt+Enter do nothing.

Ultimate utter confusion..
Heiko: help :)

To unsubscribe e-mail to: design+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/design/
Privacy Policy: https://www.documentfoundation.org/privacy

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.