https://bugs.documentfoundation.org/show_bug.cgi?id=121253

--- Comment #13 from Neil Roberts <bpee...@yahoo.co.uk> ---
It looks like this is happening because the default menu has a shortcut for
creating a new database assigned to Cmd+A. The shortcut is being assigned in
shutdowniconaqua.mm on line 604. These lines were added in 6efdd1444810 which
is a patch from January 2025. Before that, the same shortcut was assigned on
the default menu based on the name of the menu item. This ends up being “A”
because “D” is already used for a new Draw document and the algorithm just
picked the next available letter. It was also affected by the current language
pack, so for example in French this problem didn’t occur because the menu item
is called “Base de données” and the shortcut key ended up being Cmd+B.

I think Cmd+A is an unfortunate choice for a shortcut key because it’s used to
select all the text in any text box. So with the extensions dialog you might
run into it if you type something into the search box, change your mind and
then press Cmd+A to highlight the old text in order to get rid of it. 

The extensions dialog gets the default menu because it doesn’t have a parent. I
tried to find another dialog that also doesn’t have a parent but the only one I
could find is the one to check for updates. That doesn’t have any text boxes so
it probably doesn’t really matter.

I think a simple fix would be to just remove all these shortcuts from the
default menu. I don’t think it makes sense to have these shortcuts on a few
random dialog boxes. It’s worth noting that the welcome window when you first
open LibreOffice doesn’t have them and if they made sense anywhere I think it
would be there. Furthermore the shortcuts don’t work on any other platform,
only MacOS.

Failing that, if there is a good reason to keep the other shortcuts I think it
would be good to at least remove the Cmd+A one because it conflicts with the
common action of selecting all the text in a text box.

I can try making a patch for it if people agree that it’s a good idea.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to