Bug 147350 - Horizontal alignment of a frame is not honored
Summary: Horizontal alignment of a frame is not honored
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Frame
  Show dependency treegraph
 
Reported: 2022-02-10 15:14 UTC by Jambunathan K
Modified: 2024-02-27 03:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
FrameDoesntAlignAsDictated.odt: Problematic ODT file. Problem with horizontal alignment of formula numbers (18.73 KB, application/vnd.oasis.opendocument.text)
2022-02-10 15:14 UTC, Jambunathan K
Details
AttributesOfFormulaNumberFrame1.png: Attributes of frame surrounding the number of first formula. It is aligned as configured (87.38 KB, image/png)
2022-02-10 15:17 UTC, Jambunathan K
Details
AttributesOfFormulaNumberFrame2.png: Attributes of frame surrounding the number of the second formula. It is NOT aligned as configured (86.95 KB, image/png)
2022-02-10 15:18 UTC, Jambunathan K
Details
Removing the padding on OrgFormulanumberFrame "fixes" the issue.png (82.92 KB, image/png)
2022-02-12 11:20 UTC, Jambunathan K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jambunathan K 2022-02-10 15:14:54 UTC
Created attachment 178191 [details]
FrameDoesntAlignAsDictated.odt:  Problematic ODT file.  Problem with horizontal alignment of formula numbers

Version: 7.2.5.2.0+ / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-IN (en_IN.UTF-8); UI: en-US
Debian package version: 1:7.2.4-1
Calc: threaded

I the attached document the frame surrounding the formula numbers are configured to be aligned to right paragraph border. The frame surrounding the first formula number is aligned correctly.  But the frame surrounding the second formula number is NOT aligned correctly.

See the attached screenshots for what I mean.
Comment 1 Jambunathan K 2022-02-10 15:17:03 UTC
Created attachment 178192 [details]
AttributesOfFormulaNumberFrame1.png:  Attributes of frame surrounding the number of first formula.  It is aligned as configured
Comment 2 Jambunathan K 2022-02-10 15:18:25 UTC
Created attachment 178193 [details]
AttributesOfFormulaNumberFrame2.png:  Attributes of frame surrounding the number of the second formula.  It is NOT aligned as configured
Comment 3 Jambunathan K 2022-02-10 15:28:41 UTC
~$ uname -a
Linux debian 5.15.0-2-amd64 #1 SMP Debian 5.15.5-2 (2021-12-18) x86_64 GNU/Linux

~$ dpkg -l | grep libreoffice-writer
ii  libreoffice-writer                                 1:7.2.4-1                          amd64        office productivity suite -- word processor


This is the backlink for my own reference https://github.com/kjambunathan/org-mode-ox-odt/issues/158
Comment 4 Jambunathan K 2022-02-12 11:20:55 UTC
Created attachment 178238 [details]
Removing the padding on OrgFormulanumberFrame "fixes" the issue.png
Comment 5 Jambunathan K 2022-02-12 11:24:37 UTC
(In reply to Jambunathan K from comment #0)
> Created attachment 178191 [details]
> FrameDoesntAlignAsDictated.odt:  Problematic ODT file.  Problem with
> horizontal alignment of formula numbers
> 
> Version: 7.2.5.2.0+ / LibreOffice Community
> Build ID: 20(Build:2)
> CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
> Locale: en-IN (en_IN.UTF-8); UI: en-US
> Debian package version: 1:7.2.4-1
> Calc: threaded
> 
> I the attached document the frame surrounding the formula numbers are
> configured to be aligned to right paragraph border. The frame surrounding
> the first formula number is aligned correctly.  But the frame surrounding
> the second formula number is NOT aligned correctly.
> 
> See the attached screenshots for what I mean.

I was trying to narrow the issue further.  And I noticed  that reducing the padding of `OrgFormulaNumberFrame` "fixes" the alignment.

See the attached screenshot for what I mean.

I hope this "tip" helps the developers narrow down the issue faster.  (Despite my "workaround")  I consider the observed behaviour a bug.  I will be happy if you could provide an explanation (and a proper fix) for the problematic behaviour.
Comment 6 Dieter 2022-02-26 07:17:31 UTC
I confirm the problem with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Addtional informations:
Reducing the padding doesn't work for me.
Workaround, that works for me: Change position to "right to text area". Fra also umps to the right, if you add additional paragrpah between the two formulas.
Comment 7 QA Administrators 2024-02-27 03:13:29 UTC
Dear Jambunathan K,

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