Bug 139504 - Dialog box doesnt respond to default macOS keyboard shortcut command
Summary: Dialog box doesnt respond to default macOS keyboard shortcut command
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: All macOS (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: macOS-UI-polish
  Show dependency treegraph
 
Reported: 2021-01-08 20:35 UTC by Sjobeck
Modified: 2023-12-29 16:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sjobeck 2021-01-08 20:35:31 UTC
Description:
Dialog box does not respond to default OSX keyboard shortcut when attempting to select the first button in the dialog box when closing a file.  This applies to all file types. 

Steps to Reproduce:
1. Create new file
2. hit Apple+W (Cntrl+W) to close file
3. hit Apple+D to choose the "D" in the word "Dont" 


Actual Results:
program ignores the customer 

Expected Results:
program should click the button for "Dont" 


Reproducible: Always


User Profile Reset: No



Additional Info:
The first letter of the text string on a button is the letter that the keyboard shortcut refers to in all native OSX applications.  It is expected to work here also. It does not. It is obviously quite minor. The customer can move off the keyboard to the pointing device and click the button for "Dont Save".  However it would be nice if it honored the keyboard request.
Comment 1 eisa01 2022-02-05 14:52:51 UTC
I can confirm this

Version: 7.2.5.2 / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 10; OS: Mac OS X 12.2; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 steve 2023-08-19 21:56:53 UTC
@Sjobeck: Can you give an example of an macOS application where this works? In Pages when pressing cmd + w to close document and then pressing cmd + d in the save dialog, nothing happens.
Comment 3 bintoro 2023-12-21 14:58:14 UTC
(In reply to steve from comment #2)
> @Sjobeck: Can you give an example of an macOS application where this works?
> In Pages when pressing cmd + w to close document and then pressing cmd + d
> in the save dialog, nothing happens.

Cmd + first letter of button label is indeed the convention on macOS in dialogs where you only have a set of buttons to choose a course of action.

The dialog you mention is of a different kind. The shortcut for the “Delete“ button in such Save dialogs is Cmd + Backspace.

But this is truly a minor issue because the user can just hit Tab to move focus to the “Don't Save“ button.
Comment 4 eisa01 2023-12-29 16:20:13 UTC
This also works in MSO

Setting back to New