Apache OpenOffice (AOO) Bugzilla – Issue 85461
Pasting text between different OOo instances might change font settings
Last modified: 2017-05-20 10:48:18 UTC
1. Type text in OOo 2.3.1 (OOG680_m9, build1) with style default (that has font Verdana, 12 pt.) 2. Now start OOo 2.4-Dev (680m2(build 9250) ) and type something there. (it has the style default, which has the font TNR 12) 3. copy and paste it to the first document (in 2.3.1) 4. Now the style in the first document, changes to the properties of the style in 2.4.0_dev (5. Undo does not change the style back.) Never seen that before. When I copy from one doc to another in 2.4.0_dev, the style, that is already used in the document I past to, remains unchanged. When I copy from 2.3.1 to 2.4.0_dev, the style, that is already used in the document I past to, remains unchanged. When I change the style in 2.4.0_Dev and past to 2.3.1, the style in 2.3.1 changes to TNR as well. When I type in Heading 1 in in 2.4.0_Dev and past to 2.3.1, the whole text in 2.3.1 changes to default/TNR as well.
Hi Herbert, could this be a side effect by the change with the FontConfig?
@thorstenziehm: No, the style settings are on the application level. Reassigning the issue to AMA. The fontconfig integration might cause some visual changes between 2.3.1 and 2.4.0_Dev though if the problem happened on X11 platforms. cornouws: I read the bug report a couple of times but couldn't figure out the platform where the problem happens. Could you provide this detail?
Hi Herbert, Thorsten, Sorry I forgot to mention: this one is on Windows XP.
Tried with OOH680_m4 In between, had a different default template in that installation. - Started a document in 2.4-dev - Changed Default to TNR 11. - Copied and pasted to 2.3.1 with Default Verdana 12. -> All in the 2.3.1 document changed to TNR 12.
even choosing Paste special>Unformatted text causes the change
I tried with OOH680m4 and OOo231 de on WinXP. Pasting as "unformatted text" and as "rtf" do work correct. Pasting as "OOo-dev 2.4 Text Dokument" changes the font in Tools-Options-Writer-Base Fonts-Default as cornouws described.
I tried with OOH680_m4 and 2.3.1 FR on Kubuntu 6.06. Only pasting as Formatted text (RTF) do work correct. Other pasting modes restore default font in 2.3.1.
I reproduced this behavior with StarOffice 7 and StarOffice 8.0, so I assume it happens with OOo1.0 and OOo1.1 as well. So I wonder why this is a potential show stopper? The following happens: if you change the default font via tools/options/.. for a document and paste text from this document into a document opened by another office version then this font value (tools/options...) is overwritten. This is not nice and should be changed but it happens since the beginning of Writer. I'm not sure if we are able to change this behavior when we copy into older versions but surely we will find a fix for future versions. Work-around: because Undo does not repair the font setting, you have to change the font back to the old value (tools/option...) or via stylist.
Hi ama, I do have the idea that there is something special. See this part from my first comment: "When I copy from 2.3.1 to 2.4.0_dev, the style, that is already used in the document I paste to, remains unchanged." So, copying from SO7/8 to 2.4-dev, works different than copying from 2.4-dev to SO7/8. If what I noticed is the same for you, of course ...
ama->cor: I tried the following: 1. Start OOo2.4-dev, 2. Type some text => it is displayed with font "Thorndale" (which is my 2.4 default) 3 .Start OOo1.0 4. Change via tools/options/text document/Basic fonts Western to e.g. "Verdana" 5. Type some text => displayed in "Verdana" 6. Select this text and copy into clipboard 7. Paste it into OOo2.4-dev document 8. => All text (not only the freshly inserted) changed into "Verdana" (Bug!) 9. A look into tools/options shows "Verdana" instead of "Thorndale" If I copy from OOo2.4 into OOo1.x, the same bug occurs. BTW: the bugs does _not_ occur if I change the default font in the destination office within the stylist! What's your scenario, when do OOo2.4 and OOo2.3.1 show different behavior?
cor@andreas: My steps: 1- Open Writer 2.3.1 2- Type some text on one line 3- Change the style to Text body, and the props of that to - lets say - Arial Black 8 pt. 4- Open Writer 2.4-dev (680_m4) 5- Type some text on one line 6- Change the style to Text body, and the props of that to - lets say - in Comic Sans 14pt 7- Select and copy this text 8- Go to 2.3.1, to the end of the text 9- Ctrl-V - > text changes to style Default, TimesNewRoman, 12 pt When I do the same with 2.4-dev and 2.3.1 dev exchanged (so in step 1 and 8 2.4-dev and in step 4 2.3.1) then after step 9, the text changes to style Default, Verdana 10,5 In 2.4-dev verdana 10.5 is the default In 2.3.1 TNR 12 *isn't* the default (it's Verdana 12 there). Other example 1. type some text in style Text body (Verdana 12 pt in this case) in 2.3.1 2. then some empty paragraphs 3. Type some text in Heading 1 (Arial 16.1 pt) in 2.4-dev 4. Copy 5. Go to 2.3.1, to one of the empty paragraphs and paste -> paragraph changes to Default, TNR 12 and also the first paragraph becomes TNR So basically: every time I paste from 2.4-dev to 2.3.1, the style changes to TNR 12.
ama->sba: I set you to cc. Please have a look if you find a new bug (regression). I found some bugs but not really new ones?! So I doubt this one is really a show stopper for OOo2.4.
Pasting works like loading. That's why default attributes like those in ..Writer/Default fonts are changed once a Writer document is pasted into another one. The same should apply for all other defaults (like document locales). It definitely makes sense to prevent that but it is by no means a regression. As this is definitely an old problem I change the target to OOo 3.x and remove it from the 2.4 show stopper issue.
Hi Oliver, Still cannot understand how I can have party different behavior, but accept that the bulk of the issue is old.
->cornouws: Sorry, I don't know why.
IMO 89639 is the same issue
*** Issue 89639 has been marked as a duplicate of this issue. ***
Please change the summary because it is related to all versions (see dupe issue 89639).
Changed summary.
I think this is a related post: http://www.openoffice.org/servlets/ReadMsg?list=users&msgNo=189531
Reset assigne to the default "issues@openoffice.apache.org".