Issue 93683 - Impress styles have spurious effects when copy/paste or export
Summary: Impress styles have spurious effects when copy/paste or export
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.4.1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-09 16:18 UTC by tweedledee
Modified: 2017-05-20 10:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tweedledee 2008-09-09 16:18:23 UTC
When creating text in Impress that wraps to a second line, spurious font size
(and sometimes face) changes occur at the wrap point when copy/pasting the text
into Writer.  In addition, those same wrapped lines (and no other, in my
experience) will have an extraneous end-of-line character (a tall, bent left
arrow) after conversion to powerpoint and loading in powerpoint (definitely
2003, also 2007, 2000 may not see this problem).

To reproduce, simply create a slide with a line of text long enough to wrap. 
Copying the text (not the whole slide) into Writer will produce a line of text
that changes the font size (usually larger) and sometimes the face (I see
Arial/Liberation Sans -> Tahoma, not all fonts trigger this) starting with the
first word on the 2nd line in Impress (regardless of where that word falls in
Writer).  Similarly for powerpoint export; I therefore assume the two issues are
linked.

I believe it is connected to the Styles, because if I select text in Impress and
reformat the font and/or size (without using a style), the changes upon
copy/paste do not appear.  (I have not tested the powerpoint export in this case
yet.)

I've seen this issue with multiple operating systems and versions of OOo, but I
primarily use Debian/2.4.1.  I've also seen other people independently encounter
this, so it's not just my system.  In addition, the strange end-of-line
character is commented on several times in the forums.  I have not tested a 3.0
beta with this issue.
Comment 1 caementum 2008-09-11 02:59:32 UTC
(Peter Schwier, 2008-09-10) Reproduced in OOO300m4 on my Eee PC.
comment on  Issue 93683

I was able to reproduce this behavior in OOO300m4 on my Eee PC running an ASUS
modified Xandros (linux) distribution.
1. Open Impress
2. Select 'Empty presentation'
3. Click 'Create'
4. Click the 'Title, Text' layout in the right-hand tasks bar.
5. Click in the text for the first bullet.
6. Enter a line long enough to word wrap. (ex. 'My name is Peter Charles Schwier
and I attend Florida Institute of Technology as an Undergraduate Computer
Science student.')
7. Use the mouse to select all the text you just entered, from end to beginning.
8. Use Ctrl-C to copy that text.
9. Open Writer, leaving Impress open
10. Writer should have created a blank document.
11. Use Ctrl-V to paste the text into the blank document.
12. There is one font for the text that was on the first line in Impress and
another font for the text on the remaining lines.
The fonts I got were: First Line: 'Arial'(31.5pt); Remaining Lines: 'DejaVu
Sans'(31.5pt)
13. Close Writer
14. Close Impress

When I followed the same steps as before but clicked on the 'Bold' toolbar
button before copying (step 8), the bold formatting did show up in writer for
both the first and remaining lines.  The fonts and sizes remained the same as above.
1. Open Impress
2. Select 'Empty presentation'
3. Click 'Create'
4. Click the 'Title, Text' layout in the right-hand tasks bar.
5. Click in the text for the first bullet.
6. Enter a line long enough to word wrap. (ex. 'My name is Peter Charles Schwier
and I attend Florida Institute of Technology as an Undergraduate Computer
Science student.')
7. Use the mouse to select all the text you just entered, from end to beginning.
8. Click on the 'Bold' toolbar button.
9. Use Ctrl-C to copy that text.
10. Open Writer, leaving Impress open
11. Writer should have created a blank document.
12. Use Ctrl-V to paste the text into the blank document.
13. There is one font for the text that was on the first line in Impress and
another font for the text on the remaining lines.
The fonts I got were: First Line: 'Arial'(Bold, 31.5pt); Remaining Lines:
'DejaVu Sans'(Bold, 31.5pt)
14. Close Writer
15. Close Impress

I also tried using a line of text that just reached the end of the line but did
not wrap (step 6) (ex. 'Asdf fdsa asdf fdsaa asdf fdsa asdf fdsa asdf fdsi'). 
In that case the last word ('fdsi') showed up in Writer in a different font from
the rest of the line.
1. Open Impress
2. Select 'Empty presentation'
3. Click 'Create'
4. Click the 'Title, Text' layout in the right-hand tasks bar.
5. Click in the text for the first bullet.
6. Enter a line long enough to word wrap. (ex. 'Asdf fdsa asdf fdsaa asdf fdsa
asdf fdsa asdf fdsi')
7. Use the mouse to select all the text you just entered, from end to beginning.
8. Use Ctrl-C to copy that text.
9. Open Writer, leaving Impress open
10. Writer should have created a blank document.
11. Use Ctrl-V to paste the text into the blank document.
12. There is one font for most of the text and another font for the last word
('fdsi').
The fonts I got were: Most of Text: 'Arial'(31.5pt); Last Word: 'DejaVu
Sans'(31.5pt)
13. Close Writer
14. Close Impress

-Peter Schwier <pschwier@fit.edu>
Testing 1 with Cem Kaner

Testing OO 3.0 (build OOO300_m4)
on an ASUS Eee PC 4G (Not Surf)
900 MHz Intel Celeron-M ULV 353, clocked at 630 MHz (70 MHz x 9)
512 MB DDR2-533/667
4G flash HDRealtek ALC6628 Hi-Definition Audio 5.1 CODEC
Realtek ALC6628 Hi-Definition Audio 5.1 CODEC
Integrated Intel GMA 900 graphics processor (Shared Memory Architecture),
additional VGA port (up to 1600×1280 pixels)
Screen size: 800x480 pixels (less then minimum requirements)
using dwm 5.2 (tiling window manager) http://www.suckless.org/wiki/dwm/
Comment 2 wolframgarten 2008-09-11 09:02:03 UTC
Reproducible. But I am not sure if it is the export of impress or the import in
writer because I can only reproduce this in writer and not in draw or spreadsheet.
Comment 3 generic1337 2008-09-11 13:54:00 UTC
Joshua Lee - 9/10/08 – 1900 hours

I was able to recreate a very mild variation of this bug with the tools I have.
These tools are as follows:

HP Pavilion dv9000 laptop PC-
AMD Turion64 X2 @ 2.2GHz
2GB DDR2 SDRAM
Microsoft Vista Ultimate x64
OOo BEB 300M3 (Beta 2)
Microsoft Office 2007 Ultimate

1.	I started OpenOffice from my Start Menu shortcut and clicked the “Createâ€
button when the slideshow wizard came up, thus creating a blank slideshow,
nothing on it. All my view and program settings are 100% default, as set when
OOo is installed. 

2.	I created a new text box anywhere on the visible slide surface and began
typing. I typed just a short set of lyrics from a song I was listening to at
that moment, making sure that OOo automatically wrapped the words when they
reached the end of the space I had allocated to type in. The resulting passage
was roughly four lines long, with the text box roughly half the horizontal
dimension of the slide and about a fifth or sixth of the vertical dimension. 

3.	I selected the text using the hotkey *CTRL-A* and copied it to memory using
the hotkey *CTRL-C*. I then opened up OOo again using my Start Menu shortcut to
Writer. 

4.	Pasting the selected block of text by using *CTRL-V* into OOo Writer, I read
through the result, but I did NOT find any variations in the text; the typeface
and the font size remained intact and the same as far as I could see. 

5.	Next I opened up PowerPoint 2007 and again used *CTRL-V* to paste the block
of text again. Now while the text itself was preserved, the font size AND the
typeface were, in fact, a mild amount different. Checking the settings in
PowerPoint concerning the font selected and the font size, I saw that the text
had pasted in this manner because of PowerPoint settings. Pasting any text into
the PowerPoint would revert the block of text to Calibri and font size 18, no
matter what program the text came from (I tested again with the OOo and Office
2007 suite, Notepad, and Firefox, all with an identical result). 

6.	I then tested Microsoft Word 2007, here encountering perhaps a variation of
the bug, but I iterate, an essentially negligible bug. Pasting with *CTRL-V*
yielded a pasted selection, but that text block was invisible. The solution to
this was to change the color of the font, in spite of the fact that Word
indicated the color to be black. Subsequent changes in color did not cause any
further problems. I will note that there were the SLIGHTEST variations in the
text, but they were so minor that I will only mention them in passing. The * had
5 spokes as opposed to 6, and the top portion of the ! was not tapered in one
iteration and tapered in another. I repeated the tests several times with
different blocks of text, different fonts, characters, elements of the Office
suites, etc., and this is repeatable with identical results on all involved
programs (OOo 100% compatible, Microsoft Office 2007 suite 99.99% compatible).

I must hereby conclude that this bug was either fixed for the latest version of
OOo, or that Microsoft Office’s latest revision unwittingly eliminated the bug.

Edit: Furthermore, after repeating my classmate's steps with the same programs
as listed above, I still could not reproduce this bug as described.
Comment 4 kite_is_fun 2009-09-09 13:54:51 UTC
Impress style is out of order when you're installing 3.0 and you've got some
Impress made with older version.
Comment 5 Marcus 2017-05-20 10:55:35 UTC
Reset assigne to the default "issues@openoffice.apache.org".