Bug 135230 - Save Document Dialog Doesn't Allow Keyboard Shortcut
Summary: Save Document Dialog Doesn't Allow Keyboard Shortcut
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Mac
  Show dependency treegraph
 
Reported: 2020-07-28 13:19 UTC by landi
Modified: 2020-11-16 14:20 UTC (History)
3 users (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 landi 2020-07-28 13:19:51 UTC
(Note, this is different from Bug ID 130016)

When closing a changed document without saving the changes, LO doesn't allow user to enter standard MacOS keyboard shortcut Command-D to close without saving.

COMPONENTS:
All LO components

STEPS TO PRODUCE:
1. Open new or existing document and make some changes
2. Close document using mouse or Command-W
3. Save Document? Dialog box appears
4. Standard MacOS keyboard shortcut of Command-D should activate the Don't Save button to close without saving, but nothing happens.

ACTUAL RESULTS:
Nothing happens

EXPECTED RESULTS:
The Don't Save button should activate, thus closing the document without saving.

REPRODUCIBLE:
Always, on all components. I believe this has been occurring for all 6.4.x releases, and possibly also 6.3.x
Comment 1 landi 2020-08-12 16:52:10 UTC
I downloaded and installed 7.0.0.3 and can confirm that the problem still exists there.

I also installed 6.4.5.2 and 7.0.0.3 on a separate system and the problem exists on that system as well, so it's not likely a configuration problem on my own system.

By default (at least in Writer) Command-D is assigned to keyboard shortcut Double Underline. I deleted that shortcut and left Command-D with no assigned shortcut, and the problem still exists.
Comment 2 mrei 2020-09-30 04:55:51 UTC
Tested on 6.3.6, Command-D worked as expected, closed the dialogue without saving.
Worked properly in both Calc and Writer
Comment 3 landi 2020-09-30 15:16:32 UTC
Tested on 7.0.1 Calc and Writer and confirmed the bug is still there. Command-D still does not work in the dialog box.
Comment 4 mrei 2020-10-11 22:01:08 UTC
This bug is still present in
7.0.3.0.0+
Build d2cf0df6696e42c36b2de4ca5548da6e656f08c5
MacOs High Sierra 10.13.6
Comment 5 landi 2020-10-23 13:23:15 UTC
Confirmed bug still exists on:

Version: 7.0.2.2
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 8; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 mrei 2020-10-25 03:26:30 UTC
Bibisected on the 6.4 Bundle
 53e84474cd04725795c397937596b68da2e3fa66 is the first bad commit
commit 53e84474cd04725795c397937596b68da2e3fa66
Author: gerrit <gerrit@gerrits-Mac-mini.local>
Date:   Sun Oct 13 09:50:55 2019 +0200

    source 4c9cf046be055affee94a533f9db67f6fb0702cb

MacOs High Sierra 10.13.6
Comment 7 Buovjaga 2020-11-16 07:53:47 UTC
(In reply to mrei from comment #6)
> Bibisected on the 6.4 Bundle
> 
> 53e84474cd04725795c397937596b68da2e3fa66 is the first bad commit
> commit 53e84474cd04725795c397937596b68da2e3fa66
> Author: gerrit <gerrit@gerrits-Mac-mini.local>
> Date:   Sun Oct 13 09:50:55 2019 +0200
> 
>     source 4c9cf046be055affee94a533f9db67f6fb0702cb
> 
> MacOs High Sierra 10.13.6

This commit https://git.libreoffice.org/core/commit/4c9cf046be055affee94a533f9db67f6fb0702cb is about changing the default shortcut of the "Don't Save" button from "D" to "n"
The original proposal was bug 127525

Closing as notabug.
Comment 8 landi 2020-11-16 14:20:48 UTC
I can confirm that "n" DOES work as the shortcut in close window dialogs on 7.0.3.1. Thanks for this clarification.