Bug 41360

Summary: FORMATTING Problem with fontsize in style when expressed in percentage
Product: LibreOffice Reporter: Paolo Benvenuto <paolobenve>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: major    
Priority: medium CC: bugs, courrier.oou.fr.mjk, jmadero.dev, mst.fdo, reisi007, vmiklos
Version: 3.4.3 release   
Hardware: Other   
OS: All   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=4279
Whiteboard:
i915 platform: i915 features:

Description Paolo Benvenuto 2011-09-30 02:13:51 UTC
See http://openoffice.org/bugzilla/show_bug.cgi?id=4279

Define a new style based on another style, with fontsize 90%: the font size remain 90%.

Define a new style based on another style, with fontsize 100%: next time you open the style you see that the font size isn't expressed in percentage any more: it's converted to the value of the based on style.

This is a problem since if you modify the first style, you new style won't be
modified accordingly.

This bug oblige the user that wants to work with the % feature to use 99% or 101% values if he doesn't want to loose the connection with the based on font size.

Example:

- Define default style as Font=Times Pt 12
- Define Style "MyStyle" based on Default with Font size =101%
- Save and open, the size is still 101% as expected.
- Change MyStyle to font size=100% and save
- Edit the new style and look at the font size. The size is now 12 pt.
Comment 1 bugzillamail6853 2011-12-21 15:49:06 UTC
I can confirm this bug in 3.4.4 release.

To reproduce:
1: Create a character style (*not* a paragraph style) named StCParent.
2: Create a character style StCChild, set "Linked with" to "StCParent".
3: Enter ie. 50% in Font Size of "StCChild".
4: Enter some text and apply "StCChild" character style to it.
5: Change Font Size of "StCParent" to let's say 36pt.
6: Text size will not change, when it should change to 18pt (50% of 36pt).
7: Go to character style properties dialog of "StCChild" and click Apply. Now the
text size changes, as expected earlier in step 6.

Everything works properly with paragraph styles, though.

It really is a shame, that after all these years, with all those new features
and improvements being introduced all the time to the software, such a seemingly
basic and crucial glitch has not been fixed yet.
Comment 2 Björn Michaelsen 2011-12-23 12:39:28 UTC
[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
Comment 3 Florian Reisinger 2012-08-14 13:59:55 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 4 Florian Reisinger 2012-08-14 14:01:04 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 5 Florian Reisinger 2012-08-14 14:05:49 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 6 Florian Reisinger 2012-08-14 14:07:50 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 7 Paolo Benvenuto 2012-08-14 18:33:43 UTC
still present in 3.5.5.3, it's a very annoying long lasting bug: you cannot define a font size style as 100% of another style font size!
Comment 8 Roman Eisele 2012-08-22 08:15:00 UTC
IMHO there are two different (but maybe related) bugs in this issue:

1) The original description (and the linked AOO bug report) talk specifically
   about "defin[ing] a font size style as 100% of another style font size",
   and so does comment #7.

2) Comment #1 mentions a (maybe even more important) general problem about
   relative font sizes in character styles.

I can confirm both issues [REPRODUCIBLE] with LibreOffice 3.6.1.1 (Build ID: 4db6344), German langpack installed, on MacOS X 10.6.8 (Intel).

I have to lower the severity a bit, because "critical" are only bugs which cause crashes, massive data loss, etc. No offence! This does not mean that this bug is not important; it just means that there are even more important bugs ...
Comment 9 Roman Eisele 2012-08-22 09:21:46 UTC
@ our Writer experts:
Hello Cédric, Michael, and Miklos,

this is yet another interesting bug report for Writer. The form of the report
is a bit unlucky (IMHO there are two related bugs involved in this issue,
see my comment #8; if you want I can split the bug into two distinct reports!),
but it is nevertheless important -- inconsistent behaviour is already especially annoying for users.

There is also a link to a related Apache OOO bug report which already contains some hints to the roots of at least one of both issues.

So please take a look at this report. Tell me if I (as a simple bugwrangler)
can do anything to help you with fixing this issue.

Thank you very much in advance!
Comment 10 Cédric Bosdonnat 2014-01-20 08:57:55 UTC
Restricted my LibreOffice hacking area
Comment 11 Joel Madero 2014-11-06 03:13:28 UTC
Should be set to NEW not REOPENED. Changing per comment 8.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.