1. Open new document
2. (make 3 or 4 pages with Ctrl-Enter)
3. Make Header, and set focus outside of Header (in document)
4. Insert>Frame>Frame Interactively (and put some text)
5. Move Frame out of document body into Header
6. Click in document body and scroll through pages.
Actual result: Header frame only shown on first page, not on others.
Expected: frame shown on all pages.
7. Use navigator to edit frame (cannot focus on frame with mouse, see bug 130321)
8. Change anchor (in Type tab) “to page”
Actual result: Frame appears only in Header where moved
Expected result: Frame appears on all pages.
9. right-click on frame (now you can use mouse) and change anchor “To paragraph” (or “To Character” or “As Character”)
Actual result: Frame appears in header on all pages.
0. Hard to summarize results in a simple way - but problems/issues should be clear if procedure is followed.
1. Presumably “To Page” anchor “loses” its relation to Header
2. Note that anchor was “To paragraph” in test A. But something has happened in setting anchor “to page” and then “to paragraph” again for the frame to be shown on all pages in test C.
Tested with LO 22.214.171.124
Version: 126.96.36.199.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win;
Locale: da-DK (en_DK); UI-Language: en-US
Maybe a frame with "Anchor to Page" in Header area should not be reproduced on each page (i.e., its current behavior). This allows placing the frame in the header area, without the frame appearing in the header of other pages (i.e., a "feature", not a "bug"). But anchoring the frame to paragraph, to character, or as character in the header should be shown on all pages with the Header.
(In reply to sdc.blanco from comment #0)
> test A
> Actual result: Header frame only shown on first page, not on others.
> Expected: frame shown on all pages.
I confirm the result, but this is, what I expect.
> test B
> Actual result: Frame appears only in Header where moved
> Expected result: Frame appears on all pages.
I confirm the result, but I would only expect, that frame appears on all pages, if focus is in header before editing the frame.
> test C
I confirm the result.
So I agree with the bug summary, but I would only expect this, if focus is in header. Do you agree?
(In reply to Dieter from comment #2)
> (In reply to sdc.blanco from comment #0)
> > test A
> I confirm the result, but this is, what I expect.
If I write text in the header it shows on all pages, so why would you expect the frame to be shown on only one page, and not all of them, when it is moved into the header? (what have I misunderstood here?)
> > test B
> I confirm the result, but I would only expect, that frame appears on all
> pages, if focus is in header before editing the frame.
How do you determine where the focus is? In this example, the frame is located in the header.
But as noted in comment 1, if the frame is anchored to the page, then even though the frame is physically in the Header, it is only shown on the page to which it is anchored.
(I do not know whether to expect it or not, but given that changing the anchoring -- without moving the position of the frame, causes the frame to appear on all pages -- it seems all right to leave this alternative.)
> I would only expect this, if focus is in header. Do you agree?
I do not know how to determine whether the focus is in the header or not, but in all these cases, I tried to move the frame into header. And I agree with the idea that "if the frame is in the header, then it should be shown on all pages" (but again with case B and comment 1 as an ambiguous case -- depending on how focus is defined). In the case of frames, I would assume it depends on the physical position of the frame and not its anchoring.
(In reply to sdc.blanco from comment #3)
> How do you determine where the focus is?
Perhaps my wording is not correct, but if I put cursor into header (this is what I meant with "focus in header") and move frame as a next step, I would expect, that it effects the header (of all pages). If cursor is in a line of the page and I move the frame as a next step, I would expect, that it doesn't effect the header. (I asume, this also answers your first question and perhaps also the other questions).
(In reply to Dieter from comment #4)
Thanks. Now I understand. This is NAB.
My confusion arose because, I could physically place a frame above the "dotted line" which marks the header.
But I understand now that the critical feature is not the physical location of the frame, but whether it is "anchored" in the header.
So, it is possible to anchor a frame to a paragraph in the header, but place the frame physically in the middle of the page, and it will be repeated across all the pages.
Or anchor a frame to a page, but place it in the Header Area (Case B), then then it only shows on the page where anchored.