Bug 154323 - Math editor view should move to show formula inserted in Writer
Summary: Math editor view should move to show formula inserted in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: x86-64 (AMD64) All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula
  Show dependency treegraph
 
Reported: 2023-03-22 12:21 UTC by garethic
Modified: 2023-04-26 17:03 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing Form Ed window, with formula nowhere in sight (109.67 KB, image/png)
2023-03-22 12:33 UTC, garethic
Details
Pic 1 of 4 (195.15 KB, image/png)
2023-03-22 12:33 UTC, garethic
Details
Pic 3 of 4 (126.63 KB, image/png)
2023-03-22 12:34 UTC, garethic
Details
Pic 4 of 4 (193.27 KB, image/png)
2023-03-22 12:34 UTC, garethic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description garethic 2023-03-22 12:21:40 UTC
Description:
The issue relates to page display when entering a math formula while editing a Writer document.  
I press the 'Insert Formula' button to enter the Math window. 
When I do, the window changes to display panels to the left and bottom, providing functionality. The editing page is displayed in the main panel, where you can see the formula being displayed as you enter markup text.

The problem is that the Writer panel is narrower than the main display, and the part of the doc now being displayed is no where near the place where the formula is being inserted. you need to scroll quite a bit to see how the formula is rendering, vs your markup. For a few formulae, that's not so bad. For many formulae it becomes a real pain. Regardless, when you close the Math window & return to the main view, your view returns to where you were editing.

I realise it's a small issue, but fixing it would make Writer much more friendly and slick in this area.      

Steps to Reproduce:
1.Open Writer document of several pages of text
2.Invoke 'Insert Formula'
3.Formula Editor window opens, displaying the Writer page at some point significantly above where you are inserting the formula. You may scroll the window down to see the results of your formula 

Actual Results:
See 'Steps'

Expected Results:
The part of the doc where you are editing the formula should display in the Writer panel, so you can see what you are doing.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 6.4.7.2
Build ID: 1:6.4.7-0ubuntu0.20.04.6
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 garethic 2023-03-22 12:33:04 UTC
Created attachment 186134 [details]
Screenshot showing Form Ed window, with formula nowhere in sight

I have 4 screenshots showing the exact situation. Apparently I can submit just one. This one shows most of the story
Comment 2 garethic 2023-03-22 12:33:48 UTC
Created attachment 186135 [details]
Pic 1 of 4
Comment 3 garethic 2023-03-22 12:34:20 UTC
Created attachment 186136 [details]
Pic 3 of 4
Comment 4 garethic 2023-03-22 12:34:46 UTC
Created attachment 186137 [details]
Pic 4 of 4
Comment 5 Rafael Lima 2023-03-22 12:39:24 UTC
In my case, when I click "Insert Formula", the writer view remains the same. But the addition of new toolbars, sidebar and formula editor may end up covering the place where the formula is. So occasionally I have to scroll down to see actually see the formula.

Maybe we could make it so that the cursor is always visible when entering the formula editing mode, automatically scrolling Writer's view and placing the formula at a place where it's visible to the user.
Comment 6 V Stuart Foote 2023-03-22 14:41:28 UTC
seems a dupe of bug 150368
Comment 7 Stéphane Guillou (stragu) 2023-04-26 17:03:38 UTC
I can reproduce the issue, but don't think it is a duplicate of bug 150368:

1. In a document with enough text to fill the page, place cursor at bottom of viewport
2. Insert > OLE object > Formula object: the formula editor cover the location
3. Start typing a formula: location still not focused, user writes a formula without seeing it rendered.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same with gen VCL.