Page 1 of 1
[Issue] Frame in page margin changes when file reloaded
Posted: Sat Dec 01, 2007 1:19 pm
by MSoegtrop
Hi,
I have a straneg effect with frames in the page margin. I changed my page format such that I have 3cm page margin on the right side. Then I changed the marginalia frame style such that the frame is 2cm wide and horizontally centered in the right page margin. When I apply this style to a new frame, this works fine. But when I save the file and reload it, the frame is horiyzontally centered on the page. When I reapply the marginalia style by selecting the frame and double clicking on the style in the style list, the frame jumps into the page margin again. If I save and reload it is back again. Very strange.
This problem does not happen when I first derive a new style from marginalia (say marginalia2).
Onother question I have is why one cannot change the anchor type (page, paragraph, character, ...) of a frame style. The only way to get a non page anchored frame style seems to be to derive from e.g. a paragraph anchored frame style. This is not very inuitive.
I am using OO2.3
Best regards,
Michael
Re: Frame in page margin changes position when file is reloaded
Posted: Sat Dec 01, 2007 1:33 pm
by Hagar Delest
Hmm, works fine on my OOo 2.3. Do you use the native ODF format (.odt) ?
MSoegtrop wrote:Onother question I have is why one cannot change the anchor type (page, paragraph, character, ...) of a frame style. The only way to get a non page anchored frame style seems to be to derive from e.g. a paragraph anchored frame style. This is not very inuitive.
In the context toolbar, there is a button to change the anchoring, it works fine.
Please read the
Survival Guide for the forum for next threads. We need some information about your configuration.
Re: Frame in page margin changes position when file is reloaded
Posted: Mon Dec 03, 2007 12:20 pm
by MSoegtrop
Hi,
yes, I am using the native format (odt) for storing the file.
I am using Windows XP SP 2 ( all updates suggested by automatic update installed ) and Open Office 2.3.0. The language version for Windows and OO is German.
Actually I found that with 2.3.0 the effect is only reproducible, if the frame is not centered (as I wrote below) in the right margin, but if a relative position from the left border of the right page margin is given such that it appears centered. I think I had the same effect with OO 2.2.1 for frames actually centered in the right margin as well, but then I updated to 2.3.0 to see if this was fixed and just opened one of my test files and saw that the effect was still there. But looking at all test files with 2.3.0 I found that only one still has this effect. To reproduce this with 2.3.0 I do the following (I translated terms from German to English, so there might be slight variations in the naming of menues ... )
- Open writer via start menu. This creates a new file 'unnamed'.
- Click menu Format/page settings
- Change right page margin to 3cm (all others remain to be 2cm); close dialog with OK.
- In the styles window (the thing opened with F11), select at the bottom show all
- In the styles window, right click 'marginalia' and select 'modify'
- In the type tab (2nd) at 'size/width' change the value to 2cm
- In the type tab (2nd) at 'position/horizontal' select 'from left' by '0.5cm' from 'page margin right' (in German Horizontal 'Von Links' um '0,5cm' zu 'Seitenrand rechts').
- close the style dialog.
- Click menu insert/frame ... ; don't change anything in dialog box and close with OK.
- In the styles window, double click 'marginalia' The frame created does now appear centered in the right page margin (0.5cm from the right physical page border and 0.5cm from the right text area limit).
- save the file as Test.odt and close it
- open the file again
- The frame is now centered on teh page. selecting teh frame and double clicking on marginalia brings it back to the right page margin.
I hope you can reproduce it this way.
Thanks for your help
Best regards
Michael
Re: Frame in page margin changes position when file is reloaded
Posted: Mon Dec 03, 2007 12:25 pm
by MSoegtrop
P.S.:
regarding the anchoring: I can change the anchoring with the properties dialog or the context toolbar for an individual frame, but not for a frame style. For frame styles the only way I have found is deriving teh style from a frame style with the intended anchoring. This is not really a problem, but it is not very intuiitive.
Best regards,
Michael
Re: Frame in page margin changes position when file is reloaded
Posted: Mon Dec 03, 2007 11:18 pm
by Hagar Delest
MSoegtrop wrote:I hope you can reproduce it this way.
Well, that's rather strange. It works fine on my system. When I open the file again, the frame is still in the middle of the right margin and its style is Marginalia.
But, if I open it after having closed OOo completely (not only the document itself), I get the frame in the middle of the page, but only once. If I set again the frame style to Marginalia, it definitively stays.
MSoegtrop wrote:I can change the anchoring with the properties dialog or the context toolbar for an individual frame, but not for a frame style.
No, you can : once the modifications have been done, in the
Styles and Formatting panel, click on the icon on the far right of its toolbar and select
Upload style.
Re: Frame in page margin changes position when file is reloaded
Posted: Wed Dec 05, 2007 6:40 pm
by MSoegtrop
Hagar,
thanks for the hint with the frame styles. It works this way. Still I don't see why the selection is disabled in the styles property window.
Also thanks for reproducing the margin problem. I try to find out how to do a bug report. It would be interestign to know if the .odt file is different when you safe it first and after you chanded the frame style a second time to marginalia, and if so, what the difference is.
Best regards,
Michael
Re: Frame in page margin changes position when file is reloaded
Posted: Wed Dec 05, 2007 10:33 pm
by Hagar Delest
MSoegtrop wrote:I try to find out how to do a bug report.
See here :
QA, How to start...
Re: Frame in page margin changes position when file is reloaded
Posted: Thu Dec 06, 2007 4:34 pm
by MSoegtrop
Hi Hagar,
the problem seems to be known since 2005 (issue 56308). It is said to be a problem specifc to the German language version. I guess, you are using the French version and could also reproduce it, Hagar?
Best regards,
Michael
Re: [Known Prob.] Frame in page margin changes when file is rel.
Posted: Thu Dec 06, 2007 10:10 pm
by Hagar Delest
I'm using the en-US version with the French language pack. I do confirm that it may be linked to a language pack because reopening it with the en-US locale was fine but with the French one, the first time I opened it with that latter version, I got the same result as yours. It may be linked to the styles names that are different depending on the language pack. The localized name may be wrongly applied to the original en-US one.