Bug 131167

Summary: FILEOPEN DOCX: orientation/rotation of page number in footer is off (as is its value)
Product: LibreOffice Reporter: Gerald Pfeifer <gerald>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail, libreoffice
Priority: medium    
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=128770
https://bugs.documentfoundation.org/show_bug.cgi?id=82627
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104442    
Attachments: Sample DOCX document
This is how the footer on the last page looks.

Description Gerald Pfeifer 2020-03-05 18:58:15 UTC
Created attachment 158421 [details]
Sample DOCX document

Opening this DOCX in Writer, the page number in the footer on the last page
is off in two ways: it is rotated by 180° and shows a value of 1 instead of 2,
that is, it looks the same on the last and second to last pages.
Comment 1 Gerald Pfeifer 2020-03-05 18:59:39 UTC
Created attachment 158422 [details]
This is how the footer on the last page looks.

The number should be 2 and rotated by 180°.
Comment 2 Dieter 2020-03-06 11:51:14 UTC
I confirm it with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

Gerald, is it a shape, where the number is located, or what?
Comment 3 Gerald Pfeifer 2020-03-07 21:59:41 UTC
(In reply to Dieter from comment #2)
> Gerald, is it a shape, where the number is located, or what?

I guess so (but just received this document, i.e., did not create it).
Comment 4 NISZ LibreOffice Team 2020-05-21 15:34:56 UTC
This object is one of the page numbering presets of Word - it offers a lot of those for the header/footer/vertical margin, and they usually fall apart in Writer.

Grouped shape with page number field in it not updating - bug #128770 is the same.
It also has vertical alignment problem - bug #133071

Rotation of the page number - I have no clear duplicate in mind, let's keep this open about that.
Comment 5 QA Administrators 2022-05-22 03:42:39 UTC Comment hidden (obsolete)
Comment 6 Gerald Pfeifer 2022-05-22 20:14:59 UTC
Still there:

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: b2467d6c7af988f8ed4e090ebf9472be6c84fb06
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Comment 7 Gerald Pfeifer 2022-07-07 20:53:46 UTC
(In reply to NISZ LibreOffice Team from comment #4)
> Grouped shape with page number field in it not updating - bug #128770
> is the same.
> 
> Rotation of the page number - I have no clear duplicate in mind, let's
> keep this open about that.

Adjusting the summary accordingly.