[Upstream] bug in displaying scalable square brackets in math object

Bug #827695 reported by rfvuhbtg
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Medium
OpenOffice
Confirmed
Low
libreoffice (Ubuntu)
Confirmed
Medium
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.3-1ubuntu2
  Candidate: 1:3.3.3-1ubuntu2
  Version table:
 *** 1:3.3.3-1ubuntu2 0
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) When is expected to happen in LibreOffice Writer via a terminal:
cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/827695/+attachment/2284273/+files/bracket_example.odt && lowriter --nologo bracket_example.odt

is the scalable square brackets look as they would in Word. Latex also shows the desired bracket shape as per https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/827695/+attachment/2287347/+files/latex_brackets.pdf .

4) What happens instead is the top and bottom part of the bracket look like a square instead of a line pointing inwards towards the equation.

Revision history for this message
In , Rgb-mldc (rgb-mldc) wrote :

Created attachment 41094
Example of bad behavior for scalable brackets

As shown on attached document (which includes a Math object and a screenshot with the problem highlighted), if you use scalable brackets for a big object like a matrix, they became more and more "bold", something should not happen.

Revision history for this message
In , Rgbl (rgbl) wrote :

Created attachment 41094
Example of bad behavior for scalable brackets

As shown on attached document (which includes a Math object and a screenshot with the problem highlighted), if you use scalable brackets for a big object like a matrix, they became more and more "bold", something should not happen.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

[Reproducible] with "brackets.odt" and "LibreOffice 3.3.0 RC1 - WIN XP German UI [OOO330m17 (build 3.3.0.1"

Also visible with sample document and OOo 3.1.1, OOo 3.4.-dev

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

[Reproducible] with "brackets.odt" and "LibreOffice 3.3.0 RC1 - WIN XP German UI [OOO330m17 (build 3.3.0.1"

Also visible with sample document and OOo 3.1.1, OOo 3.4.-dev

Revision history for this message
In , JBF (jbf-faure) wrote :

Old known bug in OOo : http://www.openoffice.org/issues/show_bug.cgi?id=66848

Best regards. JBF

Revision history for this message
In , Jbf-faure-9 (jbf-faure-9) wrote :

Old known bug in OOo : http://www.openoffice.org/issues/show_bug.cgi?id=66848

Best regards. JBF

Revision history for this message
In , rfvuhbtg (rfvuhbtg) wrote :

A workaround is to make the scalable brackets as usual, then make two more brackets (left and right) by themselves--two additional math objects, then use the Position and Size window to scale these up to the proper size, then position them on top of the bad brackets and use the align tool to make sure the good brackets and the math formula are properly aligned vertically.

But it seems like LibreOffice should be smart enough to properly scale the brackets by itself. How does LaTeX do things like that? Would its techniques in any way be transferable to LibreOffice?

Revision history for this message
In , rfvuhbtg (rfvuhbtg) wrote :

A workaround is to make the scalable brackets as usual, then make two more brackets (left and right) by themselves--two additional math objects, then use the Position and Size window to scale these up to the proper size, then position them on top of the bad brackets and use the align tool to make sure the good brackets and the math formula are properly aligned vertically.

But it seems like LibreOffice should be smart enough to properly scale the brackets by itself. How does LaTeX do things like that? Would its techniques in any way be transferable to LibreOffice?

Revision history for this message
In , rfvuhbtg (rfvuhbtg) wrote :

Turns out the workaround I proposed is only possible in Impress. In Writer, it is impossible to have two math objects overlap.

So, can anyone do something about this? Kinda makes LibreOffice a non-starter when it comes to putting math formulas in documents.

Revision history for this message
In , rfvuhbtg (rfvuhbtg) wrote :

Turns out the workaround I proposed is only possible in Impress. In Writer, it is impossible to have two math objects overlap.

So, can anyone do something about this? Kinda makes LibreOffice a non-starter when it comes to putting math formulas in documents.

Revision history for this message
rfvuhbtg (rfvuhbtg) wrote :
Revision history for this message
penalvch (penalvch) wrote :

rfvuhbtg, thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at http://wiki.documentfoundation.org/BugReport . If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

description: updated
tags: added: lo33
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
rfvuhbtg (rfvuhbtg) wrote :

There's already a bug report about this, I think, here:

https://bugs.freedesktop.org/show_bug.cgi?id=32362

which also points back to an older bug from OpenOffice.org here:

http://openoffice.org/bugzilla/show_bug.cgi?id=66848

But it doesn't look like there's been any activity on it for long time. I only recently stumbled on this bug while putting together a document/presentation in LibreOffice. You can kind of work around it in Impress in a roundabout way by making a big font non-scalable bracket and putting it on top of the bad one, but there's no working around it in Writer. For any kind of stuff where you might use big brackets in math formulas, it makes Impress more difficult to use and Writer impossible to use compared to MS Office.

penalvch (penalvch)
summary: - bug in displaying scalable brackets in math object
+ [Upstream] bug in displaying scalable square brackets in math object
Changed in openoffice:
importance: Unknown → Low
status: Unknown → Confirmed
Revision history for this message
rfvuhbtg (rfvuhbtg) wrote :

I guess I should also add, here is an example of a large math formula with scalable brackets rendered in LaTeX, to give an example of how it should look.

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :
Changed in openoffice.org (Ubuntu):
status: New → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

*** Bug 40998 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

*** Bug 40998 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

Hi there - I need this bug fixed or I'll have export my thesis to word. Is there any system at libreoffice whereby I can put a bounty on this bug (say $100) and have someone else (like an admin or something) determine when its fixed, who fixed it and award the money accordingly?

Thanks,
peter.

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

Hi there - I need this bug fixed or I'll have export my thesis to word. Is there any system at libreoffice whereby I can put a bounty on this bug (say $100) and have someone else (like an admin or something) determine when its fixed, who fixed it and award the money accordingly?

Thanks,
peter.

Revision history for this message
In , rfvuhbtg (rfvuhbtg) wrote :

I'd just like to add that the problem shows up for parentheses and braces as well as brackets.

I hope the developers get this bug fixed soon. I've had to switch away from LibreOffice until this is fixed.

This bug truly makes LibreOffice a non-starter for any kind of technical/scientific document or presentation--and those are the types of users who would tend to be most inclined to use LibreOffice over proprietary competitors as long as the quality is comparable.

Revision history for this message
In , rfvuhbtg (rfvuhbtg) wrote :

I'd just like to add that the problem shows up for parentheses and braces as well as brackets.

I hope the developers get this bug fixed soon. I've had to switch away from LibreOffice until this is fixed.

This bug truly makes LibreOffice a non-starter for any kind of technical/scientific document or presentation--and those are the types of users who would tend to be most inclined to use LibreOffice over proprietary competitors as long as the quality is comparable.

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

Sorry, I have to retract the offer above as I am now slowly converting my thesis to word. I agree with rfvuhbtg above - the most likely professional users of libreoffice are people who are likely to use this functionality. Because of this bug, we can't use libreoffice to produce professional looking work.

Revision history for this message
In , JBF (jbf-faure) wrote :

*** Bug 42812 has been marked as a duplicate of this bug. ***

Revision history for this message
In , JBF (jbf-faure) wrote :

@Peter: please have a look at TexMathts extension (http://extensions.libreoffice.org/extension-center/texmaths-1)

Best regards. JBF

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

@Jean-Baptiste Faure - thanks very much for this. I'll have to redo my diagrams, but at least I get to keep using libreoffice :)

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

Sorry, I have to retract the offer above as I am now slowly converting my thesis to word. I agree with rfvuhbtg above - the most likely professional users of libreoffice are people who are likely to use this functionality. Because of this bug, we can't use libreoffice to produce professional looking work.

Revision history for this message
In , Jbf-faure-9 (jbf-faure-9) wrote :

*** Bug 42812 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jbf-faure-9 (jbf-faure-9) wrote :

@Peter: please have a look at TexMathts extension (http://extensions.libreoffice.org/extension-center/texmaths-1)

Best regards. JBF

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

@Jean-Baptiste Faure - thanks very much for this. I'll have to redo my diagrams, but at least I get to keep using libreoffice :)

Revision history for this message
In , Johnsonf (johnsonf) wrote :

Created attachment 53928
updated example of bad bracket behaviour

I made a new example document that shows more problems with the brackets.

Right now there are two kinds of brackets. Normal and Scalable.

Normal Brackets just draw the Unicode character normally. It scales in the same way all the other characters scale and lines up just like a normal characer.

Scalable Brackets do something else. I am not sure what. They scale linearly to be the same hight as the object they inclose. They are not just normal brackets that get stretched up and down. they look different from the normal brackets even when the object they enclose is one character tall.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  Fixing this _The Right Way_ is NOT an easy hack
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

It would require actual mutations of the vector (bezier) curves inside the bracket characters that are drawn. Or a custom implementation of the bracket characters.

If this was done properly there would be only one kind of bracket, which would make them easier to use and fit the sort of "just works" standard that we all aspire to have in our software.

There isn't a solution that looks good and ONLY involves scaling.

Assuming that the bracket characters don't have a lot of unnessecary bezier curve endpoints along thier curves, the solution is to:

1. design a system so that arbitrary offsets can be applied to the positions of arbitrary curve endpoints. A demo of this system would be a character that fits inline and looks just like other characters, but can have a sine wave distortion applied to the positions of its curve endpoints so that it wobbles like a skrillex song.

2. design a new scaling system based on the previous step. The character is placed in front of the object to inclose, and looks just like how the Normal brackets look now. Then, the curve endpoints that lie in the top third of the character are moved until thier top edge lines up with the top edge of the object to be enclosed, and the bottom third moved down in a similar fasion.

It is possible that this would produce bad curves on something like the curly brace, but in theory the curve tangents could be adjusted algorithmically based on the distance that the endpoints were moved, to compensate.

Revision history for this message
In , Johnsonf (johnsonf) wrote :

Created attachment 53929
Image showing how bracket characters need to be mutated

Revision history for this message
In , Johnsonf (johnsonf) wrote :

Created attachment 53928
updated example of bad bracket behaviour

I made a new example document that shows more problems with the brackets.

Right now there are two kinds of brackets. Normal and Scalable.

Normal Brackets just draw the Unicode character normally. It scales in the same way all the other characters scale and lines up just like a normal characer.

Scalable Brackets do something else. I am not sure what. They scale linearly to be the same hight as the object they inclose. They are not just normal brackets that get stretched up and down. they look different from the normal brackets even when the object they enclose is one character tall.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  Fixing this _The Right Way_ is NOT an easy hack
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

It would require actual mutations of the vector (bezier) curves inside the bracket characters that are drawn. Or a custom implementation of the bracket characters.

If this was done properly there would be only one kind of bracket, which would make them easier to use and fit the sort of "just works" standard that we all aspire to have in our software.

There isn't a solution that looks good and ONLY involves scaling.

Assuming that the bracket characters don't have a lot of unnessecary bezier curve endpoints along thier curves, the solution is to:

1. design a system so that arbitrary offsets can be applied to the positions of arbitrary curve endpoints. A demo of this system would be a character that fits inline and looks just like other characters, but can have a sine wave distortion applied to the positions of its curve endpoints so that it wobbles like a skrillex song.

2. design a new scaling system based on the previous step. The character is placed in front of the object to inclose, and looks just like how the Normal brackets look now. Then, the curve endpoints that lie in the top third of the character are moved until thier top edge lines up with the top edge of the object to be enclosed, and the bottom third moved down in a similar fasion.

It is possible that this would produce bad curves on something like the curly brace, but in theory the curve tangents could be adjusted algorithmically based on the distance that the endpoints were moved, to compensate.

Revision history for this message
In , Johnsonf (johnsonf) wrote :

Created attachment 53929
Image showing how bracket characters need to be mutated

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Revision history for this message
In , Rgb-mldc (rgb-mldc) wrote :

The problem is present on 3.5 beta2.

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Changed in df-libreoffice:
status: Confirmed → Incomplete
Revision history for this message
In , Rgbl (rgbl) wrote :

The problem is present on 3.5 beta2.

Changed in df-libreoffice:
status: Incomplete → Confirmed
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

@András:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

@András:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.

Revision history for this message
In , Fred-wang (fred-wang) wrote :

The right way to fix this bug is to use several glyphs to draw the brace e.g. one glyph for the top, one for the middle and one for the bottom. The rest of the brace are two vertical lines that can easily be extended to arbitrary size (e.g. by repeating a glyph for vertical bar or drawing a line). In general, you need to use some specific mathematical fonts that contain the glyphs for the most important stretchy operators e.g. the STIX fonts.

There have been discussion on the LibreOffice mailing list about using STIX fonts as well as supporting the Open Type Math table (here, at least the stretchy variants/constructions would help).

CC'ing Khaled Hosny.

Revision history for this message
In , Fred-wang (fred-wang) wrote :

The right way to fix this bug is to use several glyphs to draw the brace e.g. one glyph for the top, one for the middle and one for the bottom. The rest of the brace are two vertical lines that can easily be extended to arbitrary size (e.g. by repeating a glyph for vertical bar or drawing a line). In general, you need to use some specific mathematical fonts that contain the glyphs for the most important stretchy operators e.g. the STIX fonts.

There have been discussion on the LibreOffice mailing list about using STIX fonts as well as supporting the Open Type Math table (here, at least the stretchy variants/constructions would help).

CC'ing Khaled Hosny.

Revision history for this message
In , Khaled Hosny (khaledhosny) wrote :

I had a cursory look at Math while ago, and my impression is that it is a hopeless case, it has to be rewritten from scratch (at least the math renderer) if any sane math rendering is to be achieved.

Revision history for this message
In , Khaled Hosny (khaledhosny) wrote :

I had a cursory look at Math while ago, and my impression is that it is a hopeless case, it has to be rewritten from scratch (at least the math renderer) if any sane math rendering is to be achieved.

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

A year or two ago I asked about this bug because I needed it fixed for my thesis. Someone suggested using the TexMaths Equations editor instead (it embeds LaTeX into LibreOffice). This worked perfectly and saved me from having to convert my work to word. Is there any way we could just use this instead? It properly scales brackets with large objects. I'd recommend it, because I think this bug is about a decade old.

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

A year or two ago I asked about this bug because I needed it fixed for my thesis. Someone suggested using the TexMaths Equations editor instead (it embeds LaTeX into LibreOffice). This worked perfectly and saved me from having to convert my work to word. Is there any way we could just use this instead? It properly scales brackets with large objects. I'd recommend it, because I think this bug is about a decade old.

Revision history for this message
In , Fred-wang (fred-wang) wrote :

Thanks for the replies. I have to say that I studied LibreOffice Math after some reports from MathJax users about issues with mathematical formulas. So I'm mainly concerned about getting a good MathML export at the moment so that LibreOffice users can publish their content on the Web. (Of course, I also realize it is important to have an open-source office productivity software suite with good math rendering but that's not my personal priority).

I've just posted some thoughts on what could be done in the future:
http://lists.freedesktop.org/archives/libreoffice/2013-June/053727.html

Revision history for this message
In , Fred-wang (fred-wang) wrote :

Thanks for the replies. I have to say that I studied LibreOffice Math after some reports from MathJax users about issues with mathematical formulas. So I'm mainly concerned about getting a good MathML export at the moment so that LibreOffice users can publish their content on the Web. (Of course, I also realize it is important to have an open-source office productivity software suite with good math rendering but that's not my personal priority).

I've just posted some thoughts on what could be done in the future:
http://lists.freedesktop.org/archives/libreoffice/2013-June/053727.html

Revision history for this message
In , Jmadero-dev (jmadero-dev) wrote :

In order to limit the confusion between ProposedEasyHack and EasyHack and to make queries much easier we are changing ProposedEasyHack to NeedsDevEval.

Thank you and apologies for the noise

Revision history for this message
In , Jmadero-dev (jmadero-dev) wrote :

In order to limit the confusion between ProposedEasyHack and EasyHack and to make queries much easier we are changing ProposedEasyHack to NeedsDevEval.

Thank you and apologies for the noise

Revision history for this message
In , Z-jbf-faure (z-jbf-faure) wrote :

Changed version to Inherited from OOo due to comment #2.

Best regards. JBF

Revision history for this message
In , JBF (jbf-faure) wrote :

Changed version to Inherited from OOo due to comment #2.

Best regards. JBF

Revision history for this message
Peter K Nicol (pknicol) wrote :

Maybe this is a new bug - see attached. First seen In Libreoffice version 4.2.6.3. Scalable brackets now appear as bold. It makes maths look ugly. Peter

Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

Please read this message in its entirety before responding.

Your bug was confirmed at least 1 year ago and has not had any activity on it for over a year. Your bug is still set to NEW which means that it is open and confirmed. It would be nice to have the bug confirmed on a newer version than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never closed.

If you have time please do the following:
1) Test to see if the bug is still present on a currently supported version of LibreOffice (preferably 4.2 or newer).
2) If it is present please leave a comment telling us what version of LibreOffice and your operating system.
3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a short comment telling us your version and Operating System

Please DO NOT
1) Update the version field
2) Reply via email (please reply directly on the bug tracker)
3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing - http://www.libreoffice.org/get-help/mailing-lists/.

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material

Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

Please read this message in its entirety before responding.

Your bug was confirmed at least 1 year ago and has not had any activity on it for over a year. Your bug is still set to NEW which means that it is open and confirmed. It would be nice to have the bug confirmed on a newer version than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never closed.

If you have time please do the following:
1) Test to see if the bug is still present on a currently supported version of LibreOffice (preferably 4.2 or newer).
2) If it is present please leave a comment telling us what version of LibreOffice and your operating system.
3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a short comment telling us your version and Operating System

Please DO NOT
1) Update the version field
2) Reply via email (please reply directly on the bug tracker)
3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing - http://www.libreoffice.org/get-help/mailing-lists/.

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material

Revision history for this message
penalvch (penalvch) wrote :

Peter K Nicol, this bug report is scoped only to the problem and the document the original reporter attached, not yours. Hence, please follow https://wiki.ubuntu.com/LibreOfficeBugWrangling when filing a new bug report to have your issue addressed via a terminal:
ubuntu-bug libreoffice-writer

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: added: amd64 trusty
penalvch (penalvch)
description: updated
Revision history for this message
In , penalvch (penalvch) wrote :

Reproducibe in MASTER:
Version: 4.4.0.0.alpha1+
Build ID: a6b01d01f77f84517d267bdfe31de91b9050a70c
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-23_07:22:13

Revision history for this message
In , penalvch (penalvch) wrote :

Reproducibe in MASTER:
Version: 4.4.0.0.alpha1+
Build ID: a6b01d01f77f84517d267bdfe31de91b9050a70c
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-23_07:22:13

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

Reproducible on Version: 4.2.3.3, OS X (I tested it using the sample document above).
Reading the comments above, it is clear this bug is not going to magically go away without a substantial rewrite.

Revision history for this message
In , Kzqdnsw4-peter-x8oxkp4u (kzqdnsw4-peter-x8oxkp4u) wrote :

Reproducible on Version: 4.2.3.3, OS X (I tested it using the sample document above).
Reading the comments above, it is clear this bug is not going to magically go away without a substantial rewrite.

Revision history for this message
In , Peter K Nicol (pknicol) wrote :

Created attachment 116818
Example of scalable brackets

Bug still present in 4.3.7.2 (but not in previous version)
Input: left(5 over x right)

Revision history for this message
In , W-jag (w-jag) wrote :

The bug is still present in Version 5.0.2.
There is a recent thread in ask.libreoffice concerning the issue: https://ask.libreoffice.org/en/question/60133/how-to-get-better-scalable-bracket/

It is containing a new offer of inducement.

Revision history for this message
In , Qubit (qubit) wrote :

Migrating Whiteboard tags to Keywords: (needsDevEval difficultyInteresting skillCpp)
[NinjaEdit]

Revision history for this message
In , Rb-henschel (rb-henschel) wrote :

Created attachment 121908
Comparision between version 2015_08_04 and 2015_08_12

It is not the old bug, but a newly introduced regression

The rendering is OK till
Version: 5.1.0.0.alpha1+
Build ID: a933e01a54f08132c2d8699f7c6851a8b493d5dc
TinderBox: Win-x86@39, Branch:master, Time: 2015-08-04_06:10:12
Locale: de-DE (de_DE)

The rendering is bad since
Version: 5.1.0.0.alpha1+
Build ID: c614e711136205252ac2c72f9772c718dafc471e
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-08-12_20:36:06
Locale: de-DE (de_DE)

Revision history for this message
In , Jmadero-dev (jmadero-dev) wrote :

If it's the same issue then we should mark as regression, request a bibisect, and update the version field....else new bug is appropriate

Revision history for this message
In , Rb-henschel (rb-henschel) wrote :

It was correct in-between, so it is not the old bug. I have written a new report bug 97111.

Revision history for this message
In , Krasnaya Ploshchad’ (krasnayaploshchad) wrote :

Since LibreOffice have intergrated HarfBuzz, this can be resolved via using ot-math APIs (bug 103680).

Revision history for this message
In , Krasnaya Ploshchad’ (krasnayaploshchad) wrote :

Also, you can try to combine some Miscellaneous Technical characters together to get expected output.
See: https://graphemica.com/blocks/miscellaneous-technical/page/3

Revision history for this message
In , Fred-wang (fred-wang) wrote :

(In reply to Volga from comment #34)
> Also, you can try to combine some Miscellaneous Technical characters
> together to get expected output.
> See: https://graphemica.com/blocks/miscellaneous-technical/page/3

Note that these constructions should already be integrated into the MathVariant subtable of the OpenType MATH table accessible via the new HarfBuzz API.

Revision history for this message
In , Krasnaya Ploshchad’ (krasnayaploshchad) wrote :

(In reply to Frédéric Wang from comment #35)
> Note that these constructions should already be integrated into the
> MathVariant subtable of the OpenType MATH table accessible via the new
> HarfBuzz API.

Wow, it seems to me we can get sulotion for this bug.

Revision history for this message
In , Krasnaya Ploshchad’ (krasnayaploshchad) wrote :

(In reply to Frédéric Wang from comment #35)
> Note that these constructions should already be integrated into the
> MathVariant subtable of the OpenType MATH table accessible via the new
> HarfBuzz API.

Wow, it seems to me we can get an all-in-one solution for this bug.

Revision history for this message
In , Krasnaya Ploshchad’ (krasnayaploshchad) wrote :

With attachment 53928 the squared brackts [] still bad scaled in LO 5.4.0, they looks the same as embedded screenshot.
Version: 5.4.0.3 (x64)
Build ID:7556cbc6811c9d992f4064ab9287069087d7f62c
CPU 线程:4; 操作系统:Windows 6.19; UI 渲染:默认;
Locale: zh-CN (zh_CN); Calc: CL

Additionaly, LO Math does not allow to set font face for symbols, so we have no way to use several fonts as Asana Math, Cambria Math, XITS etc. to test and judge whether LO can make use of OT MATH extension to present scaled such objects.

Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

** Please read this message in its entirety before responding **

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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug

Revision history for this message
In , Rgb-mldc (rgb-mldc) wrote :

Problem still present in 6.1.0.3

Revision history for this message
In , kompilainenn (79045-79045) wrote :

scalable brackets look fine for me in

Версия: 6.2.0.0.beta1
ID сборки: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; VCL: win;
Локаль: ru-RU (ru_RU); UI-Language: ru-RU
Calc: threaded

people, please retest this in latest dev build 6.2

Revision history for this message
In , Vstuart-foote (vstuart-foote) wrote :

(In reply to Roman Kuznetsov from comment #41)
> scalable brackets look fine for me in
>
> Версия: 6.2.0.0.beta1
> ID сборки: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
> Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; VCL: win;
> Локаль: ru-RU (ru_RU); UI-Language: ru-RU
> Calc: threaded
>
> people, please retest this in latest dev build 6.2

No. Attachment 53928 shows scalable brackets still being "stretched" vertically to fit the node. Although precision of glyph scaling for stamping into node frame has improved in Windows builds at 6.2. A proper resolution requires implementation of multi-glyph 3 element (eg. 0x239b-0x23b3) and 2 element (e.g. 0x2320, 0x2321) composition.

=-testing-=
Windows 10 Home 64-bit en-US (1803) with
Version: 6.2.0.0.alpha1+ (x64)
Build ID: 525ed5d1fcb89412f0b80be0b1e35410b048c337
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-15_23:08:09
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

Revision history for this message
In , Krasnaya Ploshchad’ (krasnayaploshchad) wrote :

Wikipedia has an article documented these characters for bracket extension:
https://en.wikipedia.org/wiki/Bracket#Encoding_in_digital_media

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in libreoffice (Ubuntu):
status: Triaged → Incomplete
Changed in df-libreoffice:
importance: Medium → Unknown
status: Confirmed → Unknown
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Synchronising bug status with upstream.

Changed in libreoffice (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
In , W-jag (w-jag) wrote :

(In reply to Regina Henschel from comment #32 of 2016-01-13)
> It was correct in-between, so it is not the old bug. ...

What version(s) did it correctly? May the quoted statement have been an error?

Will the issue be addressed one day?

Despite the fact that there isn't much mention of the 'Math' component in forums I would assume that afflicted users (teachers e.g.) might be relevant "agents" concerning the standing of free and open software.

Revision history for this message
In , W-jag (w-jag) wrote :

The bug is still present in V6.4.0.0.beta1.

Revision history for this message
In , Vstuart-foote (vstuart-foote) wrote :

(In reply to Wolfgang Jäger from comment #44)
> (In reply to Regina Henschel from comment #32 of 2016-01-13)
> > It was correct in-between, so it is not the old bug. ...
>
> What version(s) did it correctly? May the quoted statement have been an
> error?
>

See comment 30 and bug 97111, after that back to staus quo inherited from OOo-- with some intervening improvements to accuracy of fitting the stretched bracketing glyphs into their node bounds.

> Will the issue be addressed one day?

Possibly, and you get notice of it here.

>
> Despite the fact that there isn't much mention of the 'Math' component in
> forums I would assume that afflicted users (teachers e.g.) might be relevant
> "agents" concerning the standing of free and open software.

And? Teachers also are welcome to contribute source (as Regina does regularly) ;-)

Revision history for this message
In , W-jag (w-jag) wrote :

(In reply to V Stuart Foote from comment #46)
> (In reply to Wolfgang Jäger from comment #44)
> > (In reply to Regina Henschel from comment #32 of 2016-01-13)
> > > It was correct in-between, so it is not the old bug. ...
> > ...

> See comment 30 and bug 97111, after that back to staus quo inherited from
> OOo-- with some intervening improvements to accuracy of fitting the
> stretched bracketing glyphs into their node bounds.
>
Seems you wouldn't call the status quo ante "good rendering" without a blink.
> > Will the issue be addressed one day?
>
> Possibly, and you get notice of it here.
Great.

SORRY. I had forgotten about a former visit to this thread, and had missed the mentioned comment by Regina.
Anyway I couldn't test with the two builds she mentioned, and my test with
V5.0.2.2.release (32 bit PortableApp on Win 10; version before the claimed change) showed the issue in exactly the same way as the "Bad rendering since 2015_08_12" in Regina's comparison did.

> > Despite the fact that there isn't much mention of the 'Math' component in
> > forums I would assume that afflicted users (teachers e.g.) might be relevant
> > "agents" concerning the standing of free and open software.
>
> And? Teachers also are welcome to contribute source (as Regina does
> regularly) ;-)

I appreciate Regina's contributions, of course. I'm also glad that contributions by the teacher I am would be welcome. Unfortunately I completely lack the needed knowledge about fonts and many related topics. Being 75 now I also cannot expect to find my way inside the labyrinth which C-code in general and the code base of a huge project like LibreOffice in specific is to me during the time left.

Revision history for this message
In , Dante19031999 (dante19031999) wrote :

Hello,
This comment is going to be post on the bugs: bug 32362 bug 133081 bug 92373 bug 127483
All those bugs seem to be related.
In my humble opinion as begginer programmer they seem to be related with a disfunction with OpenGL in windows.
Tested on linux (LO 6.4), no problem.
Tested with beta 7 on windows, no problem (does not use OpenGL any more).
So the bug happened to correct by itself.
So I suggest marking as duplicated bug 32362 bug 133081 bug 127483 and close them all.

Revision history for this message
In , W-jag (w-jag) wrote :

Created attachment 162107
Announced attachment

(In reply to dante19031999 from comment #48)
> ...
> In my humble opinion as begginer programmer they seem to be related with a
> disfunction with OpenGL in windows.
> ...

Either misunderstood completely or cannot confirm:
With LibO 7.0.0.0.beta1 under Win 10 I got exactly the behavior previously described independent of whether 'skia' was enabled or not.

See new attachment.

Revision history for this message
In , Rgb-mldc (rgb-mldc) wrote :

@dante19031999 this is NOT an OpenGL or OS related problem. Indeed, this problem predates the whole introduction of OpenGL support into the suite.

Insert a Math object into Writer and type this code

left[ stack{1#2#3#4#5#6#7#8} right]

you'll immediately see how wrong square brackets are, independently of OpenGL, OS or anything: just print or export to PDF to see that's NOT a display problem, but something deeper.

Revision history for this message
In , Dante19031999 (dante19031999) wrote :

(In reply to RGB from comment #50)
> @dante19031999 this is NOT an OpenGL or OS related problem. Indeed, this
> problem predates the whole introduction of OpenGL support into the suite.
>
> Insert a Math object into Writer and type this code
>
> left[ stack{1#2#3#4#5#6#7#8} right]
>
> you'll immediately see how wrong square brackets are, independently of
> OpenGL, OS or anything: just print or export to PDF to see that's NOT a
> display problem, but something deeper.

Sorry. My bad.

Revision history for this message
In , J.R. Messias (jrmessi) wrote : Re: [Bug 827695]

Thank you, Dante.
Em 18/06/2020 01:15, "Dante19031999" <email address hidden> escreveu:

> (In reply to RGB from comment #50)
> > @dante19031999 this is NOT an OpenGL or OS related problem. Indeed, this
> > problem predates the whole introduction of OpenGL support into the
> suite.
> >
> > Insert a Math object into Writer and type this code
> >
> > left[ stack{1#2#3#4#5#6#7#8} right]
> >
> > you'll immediately see how wrong square brackets are, independently of
> > OpenGL, OS or anything: just print or export to PDF to see that's NOT a
> > display problem, but something deeper.
>
> Sorry. My bad.
>
> --
> You received this bug notification because you are subscribed to
> openoffice.org in Ubuntu.
> https://bugs.launchpad.net/bugs/827695
>
> Title:
> [Upstream] bug in displaying scalable square brackets in math object
>
> Status in LibreOffice:
> Confirmed
> Status in OpenOffice:
> Confirmed
> Status in libreoffice package in Ubuntu:
> Confirmed
> Status in openoffice.org package in Ubuntu:
> Won't Fix
>
> Bug description:
> 1) lsb_release -rd
> Description: Ubuntu 11.04
> Release: 11.04
>
> 2) apt-cache policy libreoffice-writer
> libreoffice-writer:
> Installed: 1:3.3.3-1ubuntu2
> Candidate: 1:3.3.3-1ubuntu2
> Version table:
> *** 1:3.3.3-1ubuntu2 0
> 100 /var/lib/dpkg/status
> 1:3.3.2-1ubuntu5 0
> 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main
> i386 Packages
> 1:3.3.2-1ubuntu4 0
> 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386
> Packages
>
> 3) When is expected to happen in LibreOffice Writer via a terminal:
> cd ~/Desktop && wget https://bugs.launchpad.net/
> ubuntu/+source/libreoffice/+bug/827695/+attachment/2284273/+files/bracket_
> example.odt && lowriter --nologo bracket_example.odt
>
> is the scalable square brackets look as they would in Word. Latex also
> shows the desired bracket shape as per
> https://bugs.launchpad.net/ubuntu/+source/libreoffice/+
> bug/827695/+attachment/2287347/+files/latex_brackets.pdf
> .
>
> 4) What happens instead is the top and bottom part of the bracket look
> like a square instead of a line pointing inwards towards the equation.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/df-libreoffice/+bug/827695/+subscriptions
>

Revision history for this message
In , Khaled-n (khaled-n) wrote :

*** Bug 154892 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Khaled-k (khaled-k) wrote :

*** Bug 155534 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rgb-mldc (rgb-mldc) wrote :

*** Bug 40998 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.