Bug 105276 - New line issue in long equations (no wrap option)
Summary: New line issue in long equations (no wrap option)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula
  Show dependency treegraph
 
Reported: 2017-01-12 08:44 UTC by Daniel Grigoras
Modified: 2023-08-04 04:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Grigoras 2017-01-12 08:44:18 UTC
Description:
I have a long formula, see bellow, and the {}newline expression does not work in parts of the formula (e.g., after "SAPPHIRE_rings1 *"), an upside-down question mark being displayed instead of a new line break being applied.
Also, if I insert the {}newline expression after "N_DMA +" for instance, the equation part before it is moved/displayed on a line above the rest of the equation.
I also tried editing the contour of the shape, but this seemed not to work at all.
Maybe a wrapping option should be provided.

###################### FORMULA BEGINNING ######################

 "Exec_time" =
	left ( 
		left ( 
			left ( 
				X_data + Y_data + Z_data
			right ) / F_DC + Z_data/F_CD
		right ) / N_DMA +
		left (
			SAPPHIRE_rings0 * Cycles_out0 + SAPPHIRE_rings1 * Calls_in1 + SAPPHIRE_k 	* Cycles_loop/5 + SAP_ringssMIN * Cycles_in + GEMM_k * Cycles_line/5
		right ) / F_SHAVE 
	right ) / N_SHAVE / ScalingFactor + m^4 * Z_2 + m^2 * Z_8 + m * Z_7 + Z_6

######################### FORMULA END #########################

Steps to Reproduce:
1. Insert {}newline expression after "N_DMA +"
2. Insert {}newline expression after "SAPPHIRE_rings1 *"
3. Tried editing the contour of the shape


Actual Results:  
1. The equation part before it is moved/displayed on a line above the rest of the equation
2. Upside down question mark displayed
3. Does not work

Expected Results:
1. Should have been kept on the same line
2. Move the part of the equation after {}newline on a new line
3. The contour of the equation shape/box should be changeable as purported by the option offered to so


Reproducible: Always

User Profile Reset: Yes

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 Buovjaga 2017-01-13 20:00:01 UTC
Repro.

You are lucky, because it works in 3.6.7

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha0+
Build ID: 57779b5f3a49fedd952aed70ddcce22f48b98ea5
CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on January 13th 2016

Arch Linux 64-bit
Version 3.6.7.2 (Build ID: e183d5b)
Comment 2 raal 2017-01-15 20:36:31 UTC
repro Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 3 Aron Budea 2017-02-05 06:36:47 UTC
Buovjaga, can you check it again? For me steps 1-2 don't work even in 3.3.0. Or rather, have the same result as described in the report.

Step 3 should go in a separate report and be set to enhancement, right?
Comment 4 Buovjaga 2017-02-05 08:57:26 UTC
(In reply to Aron Budea from comment #3)
> Buovjaga, can you check it again? For me steps 1-2 don't work even in 3.3.0.
> Or rather, have the same result as described in the report.

Hmh, you are right, tested with 3.6.7.2. Not sure, what was going on in my previous test.

> Step 3 should go in a separate report and be set to enhancement, right?

Yes. Darius: can you please split "Tried editing the contour of the shape" to its own report?
Comment 5 QA Administrators 2018-02-06 03:27:51 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-02-07 03:08:02 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2022-02-07 03:36:35 UTC
Dear Daniel Grigoras,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug