Bug 99169 - Integrate Formula Editor with sidebar
Summary: Integrate Formula Editor with sidebar
Status: RESOLVED DUPLICATE of bug 150489
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Formula-Editor Sidebar-New-Decks Elements-Pane
  Show dependency treegraph
Reported: 2016-04-08 17:05 UTC by blendergeek
Modified: 2022-12-08 15:01 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:

Sidebar with integrated formula editor, mock-up (77.55 KB, image/png)
2016-04-08 17:05 UTC, blendergeek

Note You need to log in before you can comment on or make changes to this bug.
Description blendergeek 2016-04-08 17:05:14 UTC
Created attachment 124192 [details]
Sidebar with integrated formula editor, mock-up

Right now the formula editor is separate from the main part of LibreOffice. For example, when I open Writer and insert a formula the editor appears and the sidebar disappears. I propose that the formula editor be integrated into the sidebar.

When a person inserts a formula, a new tab would appear on the sidebar which would allow the user to edit the formula.

Attached is a mock-up of what the user-interface could look like.
Comment 1 V Stuart Foote 2016-04-08 19:10:05 UTC
Not a fan of the idea. The OLE embedded frame of the formula in a document (Writer, Draw, Impress, or Calc) is awkward to work with once placed.

The canvas in Math allows very complex formula to be composed and structured, and then linked into the document as needed, while opening of Math session to edit an OLE formula is exposes all design any layout elements that would not necessarily be re-implemented in .ui to provide a Sidebar content panel.

We need to finish the experimental Visual mode editing of formula.

Also, would prefer to continue improvements to the Math module to include better interactive control over the placement of the OLE frame in the document, provide better font/symbol styling, and improve direct input support for MathML (possibly replacing StarMath ML), and ideally implement filters for direct LaTex based formula input.
Comment 2 Yousuf Philips (jay) (retired) 2016-04-10 15:14:22 UTC
Similar to editing a chart, users would prefer to not have to jump into another application in order to modify a formula, as the experience is quite strange. If it is possible to do some basic changes to the OLE (e.g. change the formula text) from within the sidebar without having to jump into Math, i think it would be a good UX, but a dev would have to give their opinion on how feasible it is, as the calc devs mentioned that it would be a major overhaul to do the same for charts.
Comment 3 V Stuart Foote 2016-04-10 17:10:43 UTC
Yes, the issue is how we interact with OLE objects, not just the Formula editor of the Math module.  

For starters doing a sidebar content panel to control some facets of the frame holding an OLE element would be helpful addition to all the modules.  But those controls would only be for layout, positioning and margins of the frame holding the OLE. IMHO that control of an OLE frame is overdue across the GUI.

Seems actually linking to OLE controls from a Sidebar content panel would only be possible for sources where we build the interface: so that would be for Spreadsheet, Drawing, Formula, Chart, and Text.  To control from the Sidebar the OLE would have to run in the background, yet manipulate GUI commands--is that even feasible.

Even if it is, imagine implementing control to pass to OLE for use in the Sidebar would require substantial refactoring and would best be done with a common framework across the modules.

And, it should be obvious that implementing .uno controls for other OLE content exposed via the OS (e.g. Insert -> Object -> OLE Object Create New -> Further Objects) would be a loosing code maintenance proposition. Way out of scope.
Comment 4 Robinson Tryon (qubit) 2016-08-25 05:49:16 UTC Comment hidden (obsolete)
Comment 5 Heiko Tietze 2018-02-21 18:56:12 UTC
Similar solution has been done with charts. Math left toolbar would need to go into a new sidebar deck plus the editor from bottom. Sounds not like a big deal.
Comment 6 Regina Henschel 2018-02-21 20:20:02 UTC
(In reply to Heiko Tietze from comment #5)
> ... plus the editor from bottom.

The sidebar is not large enough as ersatz for the command window, at least not as long as there is no tree view of the commands.
Comment 7 Stéphane Guillou (stragu) 2022-12-08 13:21:00 UTC
It has now been consolidated into the sidebar, and I think this can be closed as a duplicate.
As Regina said, the "Edit" pane needs more space and remains in a separate panel at the bottom.

*** This bug has been marked as a duplicate of bug 150489 ***
Comment 8 V Stuart Foote 2022-12-08 15:01:03 UTC
(In reply to Stéphane Guillou (stragu) from comment #7)
> It has now been consolidated into the sidebar, and I think this can be
> closed as a duplicate.
> As Regina said, the "Edit" pane needs more space and remains in a separate
> panel at the bottom.
> *** This bug has been marked as a duplicate of bug 150489 ***

Hmmm, not exactly the ask. But the dev work to fully bring StarMath OLE Formula editing into the Sidebar as a new deck was likely never going to happen. The work thus far for only affects the sm module's use of the Sidebar framework--providing its elements pane and the formatting controls from the SB.