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 2015/10/07 17:44:19 UTC

[Issue 126575] New: Changing font info in outline causes entire section to change

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

          Issue ID: 126575
        Issue Type: DEFECT
           Summary: Changing font info in outline causes entire section to
                    change
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: Windows, all
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: formatting
          Assignee: issues@openoffice.apache.org
          Reporter: markem@sim1.us

I was making a document in outline format.  The body of the outline is in Times
Roman.  I wanted to include a line of code in the section I was working on. 
When I selected the code and applied Courier New as the font - the entire
paragraph changed to Courier New.  When I then selected the rest of the
paragraph to set it back to Times Roman - everything turned to Times Roman. 
Example of the section:

1.    __construct()
This function is called when the class is instantiated (which is just a big
word for created). When you do the following:

$ebiz = new class_ebiz();

I could not get just the $ebiz... part to change to Courier New without
everything from the 1. __construct() also changing.  Went back to using Word
2003 to do this.  I really wanted it in Open Office format.  Trying to get away
from using Word.  :-)

A bit more information.  The above paragraph is three levels deep in the
outline.  I.E.: It would really be 1.1.1. __construct().  Don't know if this is
a mitigating factor or not but thought I'd supply it just in case this doesn't
happen at the first or second level.

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #5 from Mark Manning <ma...@sim1.us> ---
Sure.  But it will have to wait until Tuesday.  I work from home on M-W-F.

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #4 from Gennady Melnik <ge...@unity3d.com> ---
Mark, could you please attach your file (that contains the described issue)?
Thank you!

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #12 from Kevin <kh...@progressive.com> ---
System: Windows 7

Open Office Version:4.1.1

Steps To Recreate:

1) Open Open Office Writer
2) Start outline with three rows.
3) Indent the third row.
4) Turn off numbering
5) Hit the enter button 5 times.
6) Turn numbering back on and past in text from the document.
7) Issue appears

See attachment

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

[Issue 126575] Changing font info in outline causes entire section to change

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

Antti-Pekka Tuovinen <ap...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85745|Shows the unexpected change |Screenshot showing
        description|of outline number font from |unexpected change of
                   |Times to Courier            |outline number font from
                   |                            |Times to Courier

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #6 from Mark Manning <ma...@sim1.us> ---
Created attachment 85078
  --> https://bz.apache.org/ooo/attachment.cgi?id=85078&action=edit
ebiz document originally worked on in OpenOffice.

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #8 from Antti-Pekka Tuovinen <ap...@gmail.com> ---
Created attachment 85745
  --> https://bz.apache.org/ooo/attachment.cgi?id=85745&action=edit
Shows the unexpected change of outline number font from Times to Courier

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #2 from Gennady Melnik <ge...@unity3d.com> ---
Created attachment 85066
  --> https://bz.apache.org/ooo/attachment.cgi?id=85066&action=edit
Outlined text

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #3 from Gennady Melnik <ge...@unity3d.com> ---
(In reply to Gennady Melnik from comment #1)
> I could not reproduce the bug.
> 
> System:
> 1. Windows 7 x64 running on virtual machine
> 2. Mac OS 10.10.3
> 
> Open Office versions:
> 1. Windows – Open Office 4.2.0 AOO420m1(Build:9800)  -  Rev. 1692551
> 2. Mac OS -  Open Office 4.1.1 AOO411m6(Build:9775)   - Rev. 1617669
> 
> 
> Steps I tried for reproducing:
> 1. Create new Text Document
> 2. Add text from the description:
> 
>        __construct()
> This function is called when the class is instantiated (which is just a big
> word for created). When you do the following:
> 
> $ebiz = new class_ebiz();
> 3. Format text (if copied with font styles, skip this step if text is copied
> without formatting) – select all, set “Times New Roman” font, 12 font size
> 4. Go to the beginning of the text
> 5. Select Format|Bullets and Numbering...|Outline tab|Numeric
> 6. Select “$ebiz = new class_ebiz();” in the text
> 7. Set “Courier New” font
> 
> Actual behavior:
> Font is changed only for selected text, rest of the text in the outline
> remains “Times New Roman” font style.
> 
> Other scenarios I tried:
> 
> - Different levels of outline (up to 10)
> - Different outline styles (all 8)
> - Different text (including Java code)
> - Different Fonts/Fonts sizes
> 
> Attached is a file with my output (please note - “$ebiz = new class_ebiz();”
> font style is “Courier New”, while all other text's font is “Times New
> Roman” )

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

[Issue 126575] Changing font info in outline causes entire section to change

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

Gennady Melnik <ge...@unity3d.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gennady@unity3d.com

--- Comment #1 from Gennady Melnik <ge...@unity3d.com> ---
I could not reproduce the bug.

System:
1. Windows 7 x64 running on virtual machine
2. Mac OS 10.10.3

Open Office versions:
1. Windows – Open Office 4.2.0 AOO420m1(Build:9800)  -  Rev. 1692551
2. Mac OS -  Open Office 4.1.1 AOO411m6(Build:9775)   - Rev. 1617669


Steps I tried for reproducing:
1. Create new Text Document
2. Add text from the description:

       __construct()
This function is called when the class is instantiated (which is just a big
word for created). When you do the following:

$ebiz = new class_ebiz();
3. Format text (if copied with font styles, skip this step if text is copied
without formatting) – select all, set “Times New Roman” font, 12 font size
4. Go to the beginning of the text
5. Select Format|Bullets and Numbering...|Outline tab|Numeric
6. Select “$ebiz = new class_ebiz();” in the text
7. Set “Courier New” font

Actual behavior:
Font is changed only for selected text, rest of the text in the outline remains
“Times New Roman” font style.

Other scenarios I tried:

- Different levels of outline (up to 10)
- Different outline styles (all 8)
- Different text (including Java code)
- Different Fonts/Fonts sizes

Attached is a file with my output (please note - “$ebiz = new class_ebiz();”
font style is “Courier New”, while all other text's font is “Times New Roman” )

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

[Issue 126575] Changing font info in outline causes entire section to change

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

Antti-Pekka Tuovinen <ap...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aptuovinen@gmail.com

--- Comment #7 from Antti-Pekka Tuovinen <ap...@gmail.com> ---
OO Writer version info: 
Apache OpenOffice 4.1.2 
AOO412m3(Build:9782)  -  Rev. 1709696
2015-10-21 09:53:29 (Mi, 21 Okt 2015)

OS version info:
Windows 10 Home
Version 1607
64 bit 

I have consistently but only partially reproduced the font change behavior
described by Mark but using Gennady's file.

Steps:

1. Open the file in Writer
2. Click the beginning of the outline text "__construct()" on the third line so
that you see the cursor at the beginning of the text 
3. Click the "Numbering On/Off" button in the toolbar and see the text move to
the left margin
4. Click the "Numbering On/Off" button again
5. You will now see that the text is on the first outline level at (2.) and
that the number is in the Courier font which is the same font as in the text on
the sixth line (i.e. "$ebiz = ..."), but the size appears to be a couple of
points smaller.
6. Hit the Tab key two times and you will see the same view as when opening the
document, except that the font of the third level outline number is Courier
(the same as in the text on the sixth line) and smaller in size than the other
outline numbers

If after step 5, I select by double clicking the number 2, Writer shows all the
outline numbers at the same level highlighted on a gray background, and the
"Font Name" shown in the toolbar is "Times New Roman" and the "Font Size" is
12. 

I have included a screenshot of the Writer window after the 6. step. I have the
"Nonprinting characters" and "Hidden paragraphs" selected in the View menu. I
have also tested with "Nonprinting characters" and "Hidden paragraphs" not
selected with the same results

However, if I save the file and then close it and reopen it, the font of the
number "1.1.1" on the third line is back to Times. But if I repeat the steps
described above, the font of the number changes again to Courier.

As an additional test, I exported the document directly to pdf by clicking the
corresponding toolbar button, and I noticed that the number is in Courier in
the pdf.

I attach the screenshot and the pdf here. I attach also a copy of Gennady's
file where I have executed the steps explained above and then saved it. I am
not sure if it matters to have the changed file but just in case.   

As a final remark, I think that this issue is related to (maybe duplicate of)
the confirmed but unfixed (P4 Trivial) Issue 24648 " Numbering: layout can be
fooled into using formatting for numbering which is not used in a paragraph".

Because the issue has come up a again and it is causing a user to switch to use
another product, I propose to reconsider the priority of Issue 24648 and fix
it.

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

[Issue 126575] Changing font info in outline causes entire section to change

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

Kevin <kh...@progressive.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |khawkin1@progressive.com

--- Comment #11 from Kevin <kh...@progressive.com> ---
Created attachment 86056
  --> https://bz.apache.org/ooo/attachment.cgi?id=86056&action=edit
Font Issue

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #9 from Antti-Pekka Tuovinen <ap...@gmail.com> ---
Created attachment 85746
  --> https://bz.apache.org/ooo/attachment.cgi?id=85746&action=edit
Copy Gennady's original file after applying the sequence of steps in Comment #7

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

[Issue 126575] Changing font info in outline causes entire section to change

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

Antti-Pekka Tuovinen <ap...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85746|Copy Gennady's original     |Copy of Gennady's file
        description|file after applying the     |after applying the sequence
                   |sequence of steps in        |of steps in Comment #7
                   |Comment #7                  |

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

[Issue 126575] Changing font info in outline causes entire section to change

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

--- Comment #10 from Antti-Pekka Tuovinen <ap...@gmail.com> ---
Created attachment 85747
  --> https://bz.apache.org/ooo/attachment.cgi?id=85747&action=edit
Pdf export of Gennady's original file after applying the sequence of steps in
Comment #7

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