Bug 128770 - FILEOPEN DOCX Page number in grouped shape doesn’t show the correct page number
Summary: FILEOPEN DOCX Page number in grouped shape doesn’t show the correct page number
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:docx
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
Reported: 2019-11-13 11:16 UTC by NISZ LibreOffice Team
Modified: 2019-11-19 09:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

The example file in Word and Writer (15.63 KB, image/png)
2019-11-13 11:17 UTC, NISZ LibreOffice Team
Example file from Word (35.42 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-11-13 11:18 UTC, NISZ LibreOffice Team

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-11-13 11:16:55 UTC
Automatic page numbering doesn’t work that case when it is placed into a grouped shape.

Steps to Reproduce:
    1. Create a new file in Word with page numbering using Header & Footer -> Page Number -> At bottom of page -> With shapes and one of Mosaic or Square, Arrow, Paper pile etc.
    2. Insert multiple pages so that there will be different numbers at the bottom of the pages
    3. Save the file and open it in Writer

Actual Results:
The page numbering inside a grouped shape has the same value on all pages

Expected Results:
The page numbering has to change on each pages.

Reproducible: Always

User Profile Reset: No

Additional Info:
LibreOffice details:

Version: (x86)
Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

also happens in:

Verzió: (x64)
Build az.: d2bec56d7865f05a1003dc88449f2b0fdd85309a
CPU szálak: 8; OS: Windows 10.0; Felületmegjelenítés: GL; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Verzió: (x64)
Build az.: 9a0b23dd0ab9652e0965484934309f2d49a7758e
Területi beállítások: hu-HU (hu_HU)

Verzió: (Build az.: 527dba6f6e0cfbbc71bd6e7b88a52699bb48799)
Comment 1 NISZ LibreOffice Team 2019-11-13 11:17:32 UTC
Created attachment 155776 [details]
The example file in Word and Writer
Comment 2 NISZ LibreOffice Team 2019-11-13 11:18:00 UTC
Created attachment 155777 [details]
Example file from Word
Comment 3 Timur 2019-11-19 09:21:00 UTC
Page number in shape wasn't present in OO. Were seen in 3.6 but seems because shape wasn't read. 4.0 also not all is there. 5.0 has the shape but not correct number, so I set version to 5.0 New.

Please see if a duplicate of bug 89389.