Bug 121484 - Notebookbar: Tabbed variant for Math
Summary: Notebookbar: Tabbed variant for Math
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 127100 (view as bug list)
Depends on:
Blocks: Formula-Editor Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2018-11-17 19:47 UTC by Roman Kuznetsov
Modified: 2023-06-20 16:23 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Tab bar Math mockup (59.06 KB, image/png)
2018-11-17 19:47 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2018-11-17 19:47:24 UTC
Description:
I want offer Tabbed variant of NB for Math

Steps to Reproduce:
1. See mockup from attach
2.
3.

Actual Results:
We don't have Tabbed NB for Math

Expected Results:
We have Tabbed NB for Math


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Roman Kuznetsov 2018-11-17 19:47:50 UTC
Created attachment 146713 [details]
Tab bar Math mockup
Comment 2 V Stuart Foote 2018-11-18 17:22:46 UTC
With MUFFIN "Tabbed" mode Notebook Bar being allowed out of experimental at 6.2, it probably is appropriate to create a non-menu based UI for the sm module. 

But the sm GUI is still in need of considerable rework, e.g. bug 114395, and not clear source for the current Elements frame can be adopted without major refactoring to render correctly as .UI outside its existing UI frame.

So, while I support the requirement--I think the effort should not be rushed and should be part of a more intentional redesign of the Math formula editor. One could argue that before a MUFFIN Notebook Bar implementation--a Sidebar Deck implementation for the Formula editor is a higher UI priority.
Comment 3 Heiko Tietze 2018-11-19 11:55:20 UTC
The idea of splitting the features dropdown into single widgets sounds tempting but likely fails. Guess the left bar is one monolithic piece of code, and actually something has to happen on click at expand (missing in the mockup).
Furthermore, Math is a kind of expert tool and those experienced users prefer direct input which is done on the bottom of the UI. My take is WFM without NB.
Comment 4 andreas_k 2018-11-19 12:52:35 UTC
This is more an design decision than something else. From my point of view Math is an specific application with not that much functions so there is no need of mide functionality in an tabbed notebookbar and move all the sidebar items into an notebookbar didn't improve the user experience that much.

So I see the only benefit in have an unified UI. (I would go with WFM)
Comment 5 Heiko Tietze 2018-11-22 14:14:16 UTC
There seems to be agreement to not have a dedicated NB for Math. So let's resolve this issue.
Comment 6 Heiko Tietze 2020-01-24 10:43:05 UTC
*** Bug 127100 has been marked as a duplicate of this bug. ***
Comment 7 Heiko Tietze 2020-01-24 10:44:05 UTC
Reopened. We need the Notebookbar for OLE operations, see bug 121484.
Comment 8 V Stuart Foote 2020-01-24 14:20:41 UTC
(In reply to Heiko Tietze from comment #7)
> Reopened. We need the Notebookbar for OLE operations, see bug 121484.

Assume that should be see bug 127100

But do we really need Formula Editor recast in NB mode?

Just checked on Windows 10 with 6.4.0.2, issue of bug 127100 that the Math module's main menu does not reactivate on OLE object edit does not occur. OLE launch of the sm Formula editor in each module correctly opens the main menu for the Math module along with its other GUI components--and then closes when the OLE edit is complete.

Would agree it is visually jarring to leave the NB for the calling module active while in OLE edit. But then it would be just as bad to close NB fully.

So, yes it would be nice to completely refactor the Math module (it is needed to better handle MathML and latex syntax, and full use of Unicode mathematical symbols). But doing it just to force it into Notebook bar mode is not justification. 

For that matter can still argue that refactoring to be a Deck on the Sidebar would be a more appropriate UX than shoehorning into NB.

IMHO this remains => WF
Comment 9 Benedikt Bieringer 2020-01-24 23:32:47 UTC
V Stuart Foote: Actually, the issue of bug 121484 is not that the item bar is missing, but that the NB bar above still remains visible and clickable and buttons in that bar are behaving in ways a user would not expect. A result from this is that the active NB bar suggests there would be an intuitive way to change font size, which there is not.
Comment 10 Benedikt Bieringer 2020-01-24 23:33:54 UTC
I fell for the same mistake and meant to reference bug 127100.
Comment 11 V Stuart Foote 2020-01-25 03:19:26 UTC
(In reply to Benedikt Bieringer from comment #9)
> V Stuart Foote: Actually, the issue of bug 121484 is not that the item bar
> is missing, but that the NB bar above still remains visible and clickable
> and buttons in that bar are behaving in ways a user would not expect. A
> result from this is that the active NB bar suggests there would be an
> intuitive way to change font size, which there is not.

Edits to these formula OLE objects, or formula layout changes, can only be made from the Math formula edit module which remains non-UI and incompatible with MUFFIN

Absent the needed refactoring to implement Formula editor in UNO controls (for NB and/or Sidebar deck)...

1. it would help to hold the NB bar on the 'Object' tab on launch of the OLE editor, rather than shifting the NB bar to the 'Home' tab--holding the NB static.

2. approach might be to  disable all controls on the NB and visually grey them out--just while the sm Math OLE formula edit is active, its main menu and GUI panels--to leave the NB bar visible but suppressed. 

3. on return from the OLE edit, restore function of the NB bar controls, and allow the NB tab focus to return to 'Home'

It does most of this now, just that the controls are not disabled, and we get the visual shift from the 'Object' tab to the 'Home' NB tab which is useless as none of the controls function.

Not sure it can be done efficiently.