You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/06/17 13:18:27 UTC

[Issue 127000] New: Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

https://bz.apache.org/ooo/show_bug.cgi?id=127000

          Issue ID: 127000
        Issue Type: DEFECT
           Summary: Changing of Measurement units sometimes updates units,
                    but not recalculate amount of Spacing in the field
           Product: Writer
           Version: 4.1.2
          Hardware: PC
                OS: Windows 8, 8.1
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: formatting
          Assignee: issues@openoffice.apache.org
          Reporter: julia@unity3d.com

Created attachment 85578
  --> https://bz.apache.org/ooo/attachment.cgi?id=85578&action=edit
actual result of Step 4

1. Set measurement units to cm
("Tools" => "Options" and then "OpenOffice.org Writer" => "General" =>
"Settings")
2. Set focus on some txt Paragraph in the document
3. Open Properties slider 
4. Set ‘Above paragraph spacing’ variable for this paragraph to 10 cm
5. Change measurement units to inches
Actual result: correct, amount is recalculated to 3.94; units are changed from
cm to "
6. Change measurement units back to cm


Actual result:
Units are changed back to cm, but amount is still 3.94

Expected result:
Amount should be set back to 10.00

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #3 from Julia Balashova <ju...@unity3d.com> ---
Created attachment 85580
  --> https://bz.apache.org/ooo/attachment.cgi?id=85580&action=edit
actual result for Step 6

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #1 from Julia Balashova <ju...@unity3d.com> ---
If you try to change Amount by arrow buttons, not-recalculated amount will be
decreased/increased, so the paragraph will shifted dramatically and value
entered in Step 4 will be lost

To see the value recalculated you need to set focus on some other paragraph and
come back to this one again

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #13 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86019
  --> https://bz.apache.org/ooo/attachment.cgi?id=86019&action=edit
scenario3_result3

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #7 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86013
  --> https://bz.apache.org/ooo/attachment.cgi?id=86013&action=edit
scenario2_result2

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #17 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86023
  --> https://bz.apache.org/ooo/attachment.cgi?id=86023&action=edit
scenario4_result2

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #8 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86014
  --> https://bz.apache.org/ooo/attachment.cgi?id=86014&action=edit
scenario2_result3

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #19 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86025
  --> https://bz.apache.org/ooo/attachment.cgi?id=86025&action=edit
scenario6_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #6 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86012
  --> https://bz.apache.org/ooo/attachment.cgi?id=86012&action=edit
scenario2_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #18 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86024
  --> https://bz.apache.org/ooo/attachment.cgi?id=86024&action=edit
scenario5_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #15 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86021
  --> https://bz.apache.org/ooo/attachment.cgi?id=86021&action=edit
scenario3_result5

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #20 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86026
  --> https://bz.apache.org/ooo/attachment.cgi?id=86026&action=edit
scenario3_result6

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #5 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86011
  --> https://bz.apache.org/ooo/attachment.cgi?id=86011&action=edit
scenario1_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #16 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86022
  --> https://bz.apache.org/ooo/attachment.cgi?id=86022&action=edit
scenario4_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #10 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86016
  --> https://bz.apache.org/ooo/attachment.cgi?id=86016&action=edit
scenario2_result5

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #14 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86020
  --> https://bz.apache.org/ooo/attachment.cgi?id=86020&action=edit
scenario3_result4

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

Irena Macelova <ir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |irena.macelova1@gmail.com

--- Comment #4 from Irena Macelova <ir...@gmail.com> ---
The original bug was replicated using:

Hardware/Software:
Windows 8 / Apache Open Office 4.1.4 - Windows snapshot build 
Windows 10 /  Apache Open Office 4.1.4 - Windows snapshot build
OS X El Capitan version 10.11.6 / Apache Open Office 4.1.3

The follow-up tests were done using
Windows 10 /  Apache Open Office 4.1.4 - Windows snapshot build

Summary:
- I was able replicate this bug with the Spacing amount - 10 cm
- I was able replicate this bug with different spacing amounts e.g 5 cm, 8.75
cm
- I was able replicate this bug for the Indent too
- I was able replicate this bug for the different units combination - mm/inch
- I was able replicate this bug in case I fill in the Spacing manually and also
I use the arrow button
- I wasn't able to replicate this bug in Format > Paragraph > Spacing & Indents
- I wasn't able to replicate this bug for the Spacing/Indent amounts 

Please see the detailed test scenarios below:

Scenario 1 - replicate the original bug with the 10 cm spacing amount

1. Open a new document in the Open Office Writer
2. Write the text
3. See the Properties slider – the default setting of the measurement units:
inch
4. Go to Tools > Options > Open Office Writer > General > Settings and change
the measurement units to the cm
5. Go to the first Paragraph
6. Set (fill in manually) the ‘Above paragraph spacing’ to 10 cm in the
Properties slider (the spacing was applied correctly)
7. Change the measurement unit setting to: inch (the spacing was recalculated
to inch – 3.94'')
8. Change the measurement unit setting to: cm
9. Verify if the spacing was recalculated to cm – the measurement unit was
changed but the amount wasn’t recalculated - displayed result is 3.94 cm –
please see the screenshot scenario1_result1
10. Verify if the spacing above paragraph was changed as per incorrectly
calculated amount - spacing doesn't change - screenshot scenario1_result1

----------

Scenario 2 - use the different spacing amount

1. Open a new document in the Open Office Writer
2. Write the text
3. See the Properties slider – the default setting of the measurement units:
inch
4. Go to Tools > Options > Open Office Writer > General > Settings and change
the measurement units to the cm
5. Go to the first Paragraph
6. Set (fill in manually) the ‘Above paragraph spacing’ to 5 cm in the
Properties slider (the spacing was applied correctly)
7. Change the measurement unit setting to: inch (the spacing was recalculated
to inch – 1.97'')
8. Change the measurement unit setting to: cm
9. Verify if the spacing was recalculated to cm – the measurement unit was
changed but the amount wasn’t recalculated - displayed result is 3.94 cm –
please see the screenshot scenario2_result1
10. Verify if the spacing above paragraph was changed as per incorrectly
calculated amount - spacing doesn't change - screenshot scenario2_result1

Repeat the steps above for the different spacing amounts

- 3 cm - the recalculations is correct - screenshot scenario2_result2
- 2.5 cm - the recalculation is correct - but there is the rounding error -
scenario2_result3
- 8.75 cm - the recalculation is incorrect - 3.94 cm instead of 8.75 cm -
screenshot scenario2_result4
- 9.99 cm - the recalculation is incorrect - 3.94 cm instead of 9.99 cm
screenshot scenario2_result5

-------------------------------

Scenario 3 - change another format field - Indent

1. Open the Open Office Writer
2. Create a new document in the Open Office Writer – the default setting of
units is inches
3. Go to Tools > Options > Open Office Writer > General > Settings and change
the unit settings to cm 
4. Go to the first paragraph
5. Set the Before text Indent to 10 cm in the Properties slider (the Indent was
applied correctly)
6. Change the measurement unit to inches (the amount was recalculated to
3.94'')
7. Change the unit to cm
8. Verify if the amount of Before indent was recalculated – the amount is
recalculated incorrectly 6.73 cm instead of 10 cm - scenario3_result1

Repeat the scenario above for the different Indent amounts

- 5 cm - the recalculation is correct - scenario3_result2
- 3 cm - the recalculation is correct - scenario3_result3
- 2.5 cm - the recalculation is correct - but there is the rounding error -
2.49 instead of 2.5 cm - scenario3_result4
- 8.75 cm - the recalculation is incorrect - 6.73 cm instead of 8.75 cm -
scenario3_result5
- 9.99 cm - the recalculation is incorrect - 6.73 cm instead of 8.75 cm -
scenario4_result5

-----------------------------------
Scenario 4 - use Format > Paragraph > Indents & Spacing

1. Open a new document in the Open Office Writer
2. Write the text
3. See the Properties slider – the default setting of the measurement units:
inch
4. Go to Tools > Options > Open Office Writer > General > Settings and change
the unit settings to cm
5. Go to the first paragraph
6. Click Format > Paragraph and in the Indents & Spacing tab set the ‘Above
paragraph spacing’ to 10 cm (fill in manually) - the spacing was applied
7. Change the measurement unit setting to inches
8. Go to Format > Paragraph and verify if the spacing amount was recalculated
and the measurement unit was changed - the amount recalculated to 3.94''
9. Change the measurement unit setting to cm
10. Go to Format > Paragraph and verify if the amount was recalculated and the
unit was changed - the amount was recalculated to 10 cm
11  See the Properties slider and verify if the amount of the Above spacing is
recalculated correctly - the Properties slider displays the incorrect amount -
3.94 cm - scenario4_result1

Repeat the scenario above of the Indents
- Before text Indent - Before text Indent is recalculated correctly in the
Format > Paragraph > Indents & Spacing, the incorrect amount is displayed in
the Properties slider - scenario4_result2

-----------------------------
Scenario 5 - use the different measurement unit combination mm/inches

1. Open a new document in the Open Office Writer
2. Write the text
3. See the Properties slider – the default setting of the measurement units:
inch
4. Go to Tools > Options > Open Office Writer > General > Settings and change
the measurement units to the mm
5. Go to the first Paragraph
6. Set (fill in manually) the ‘Above paragraph spacing’ to 100 mm in the
Properties slider (the spacing was applied correctly)
7. Change the measurement unit setting to: inch (the spacing was recalculated
to inch – 3.94'')
8. Change the measurement unit setting to: cm
9. Verify if the spacing was recalculated to cm – the measurement unit was
changed but the amount wasn’t recalculated - displayed result is 3.94 mm –
please see the screenshot scenario5_result1
10. Verify if the spacing above paragraph was changed as per incorrectly
calculated amount - spacing doesn't change - screenshot scenario5_result1

----------

Scenario 6 - use the arrows button for the spacing amount change

1. Open a new document in the Open Office Writer
2. Write the text
3. See the Properties slider – the default setting of the measurement units:
inch
4. Go to Tools > Options > Open Office Writer > General > Settings and change
the measurement units to the cm
5. Go to the first Paragraph
6. Set (using arrow button) the ‘Above paragraph spacing’ to 10 cm in the
Properties slider (the spacing was applied correctly)
7. Change the measurement unit setting to: inch (the spacing was recalculated
to inch – 3.94'')
8. Change the measurement unit setting to: cm
9. Verify if the spacing was recalculated to cm – the measurement unit was
changed but the amount wasn’t recalculated - displayed result is 3.94 cm –
please see the screenshot scenario6_result1
10. Verify if the spacing above paragraph was changed as per incorrectly
calculated amount - spacing doesn't change - screenshot scenario6_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #9 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86015
  --> https://bz.apache.org/ooo/attachment.cgi?id=86015&action=edit
scenario2_result4

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #12 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86018
  --> https://bz.apache.org/ooo/attachment.cgi?id=86018&action=edit
scenario3_result2

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #22 from Irena Macelova <ir...@gmail.com> ---
CORRECTION:

Summary:
I wasn't able to replicate this bug for the Spacing/Indent amounts 

should be changed to

I wasn't able to replicate this bug for all used Spacing/Indent amounts 

I'm sorry for the typo.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #2 from Julia Balashova <ju...@unity3d.com> ---
Created attachment 85579
  --> https://bz.apache.org/ooo/attachment.cgi?id=85579&action=edit
actual result for Step 5

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #21 from Irena Macelova <ir...@gmail.com> ---
CORRECTION:
Scenario 3 - change another format field - Indent

- 9.99 cm - the recalculation is incorrect - 6.73 cm instead of 9.99 cm -
scenario3_result6

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127000] Changing of Measurement units sometimes updates units, but not recalculate amount of Spacing in the field

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127000

--- Comment #11 from Irena Macelova <ir...@gmail.com> ---
Created attachment 86017
  --> https://bz.apache.org/ooo/attachment.cgi?id=86017&action=edit
scenario3_result1

-- 
You are receiving this mail because:
You are the assignee for the issue.