Bug 144006 - Shortcut for Formula object insertion
Summary: Shortcut for Formula object insertion
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 15:07 UTC by jr.om
Modified: 2021-08-23 11:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot with InsertObjectStarMath in Customize dialog (6.53 KB, image/png)
2021-08-22 19:58 UTC, Roman Kuznetsov
Details
Screenshot with "Formula" function tooltip in customize shortcuts (30.34 KB, image/png)
2021-08-23 11:21 UTC, jr.om
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jr.om 2021-08-22 15:07:09 UTC
Description:
I want to be able to create/insert Formula objects via shortcut (, since I mostly deal with Math documents (homework). The current formula shortcut (F2) is for use inside tables, and not Math formulas.

Steps to Reproduce:
1. Go to "Insert > Object > Formula..." or click on the "sqrt(4)" icon to open the Formula editor in LO Writer
2. Go to "Tools > Customize... > Keyboard" and search for Formula, none of the options available are the Formula editor

Actual Results:
The "Formula" shortcut (F2) opens a LO Calc like Formula top panel, which is for tables, and not the Formula editor.

Expected Results:
There should be a "Insert Formula" option available in shortcuts.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.1.5.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Ubuntu package version: 1:7.1.5-0ubuntu0.21.04.1
Calc: threaded
Comment 1 Roman Kuznetsov 2021-08-22 19:58:46 UTC
Created attachment 174479 [details]
Screenshot with InsertObjectStarMath in Customize dialog

in 7.3 I see Ctrl+Alt+= shortcut inserts a Math object into Writer document and I see the UNO in Customize dialog
Comment 2 Roman Kuznetsov 2021-08-22 20:02:38 UTC
There is the same shortcut in 7.2

But there is no predefined shortcut for it in 7.1. But I see the Formula item in Command list in the Customize dialog anyway. Just move the mouse cursor on Formula item and look at tooltip. You should see the same UNO as on my attach.

Close as WFM
Comment 3 jr.om 2021-08-23 11:21:02 UTC
Created attachment 174488 [details]
Screenshot with "Formula" function tooltip in customize shortcuts

I don't know what an UNO is, but I used the option "Record macro" and it appeared as "dispatcher.executeDispatch(document, ".uno:InsertObjectStarMath", "", 0, Array())", so it is the same thing, right?

The tooltip has advice on how to set a shortcut instead of what is done by the function, and there are two "Formula" functions (I'm fairly certain that there was only one item in my first searches, but since I can't reproduce it this must mean that I overlooked it)