Bug 72694 - cannot start page counter above 256 [when saving as doc]
Summary: cannot start page counter above 256 [when saving as doc]
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks:
 
Reported: 2013-12-13 21:06 UTC by lancellotti
Modified: 2017-09-29 21:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test file (11.20 KB, application/vnd.oasis.opendocument.text)
2013-12-16 10:17 UTC, Cor Nouws
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lancellotti 2013-12-13 21:06:26 UTC
When I set the first page of my document at any value above 256 (from Format - Paraghraph - Text Flow - Breaks ... Page Number) when I re-open the file I only get the value I entered "modulo 256." For instance, if I enter 329, after I save the file and re-open it, the first page value will be set at 73 ( that is, 329-256) and so on...
Comment 1 Cor Nouws 2013-12-16 10:16:37 UTC
Hi Lancellotti,

thanks for reporting the issue.
I cannot however reproduce it in 4.2.0beta2.

- Which version did you test in?
- Can you pls attach a test document? (I'll attach mine)

regards,
Cor
Comment 2 Cor Nouws 2013-12-16 10:17:03 UTC
Created attachment 90829 [details]
test file
Comment 3 retired 2013-12-16 10:36:14 UTC
CorNouws: thanks a lot for the test file. Cannot reproduce this on 4.1.3.2, 4.2.b2 or 4.3a0+. In all cases test document shows with pagenumber 300 on first page.

Setting to WORKSFORME.

If this is still reproducible for you with LO 4.1.3.2 or newer, please re-open.
Comment 4 lancellotti 2013-12-16 11:57:56 UTC
Ah, my apologies, I forgot to include a crucial piece of information: I encountered this problem while trying to save the file in .doc format for a publisher. I do not have access to my files right now, but if you could, please try and save your file as.doc.
Comment 5 retired 2013-12-16 12:45:00 UTC
Interesting. Saving testfile as doc then re-opening doc with LO shows "44" count in the header. Which is obviously not the 300 it showed while it still was a odt.

So setting to NEW since we now have a reproducible case.
Comment 6 lancellotti 2013-12-16 13:16:31 UTC
Precisely: 300-44=256.
Comment 7 QA Administrators 2015-04-19 03:21:04 UTC Comment hidden (obsolete)
Comment 8 Gordo 2015-04-19 17:33:59 UTC
Still reproducible.

Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Comment 9 QA Administrators 2016-09-20 09:33:31 UTC Comment hidden (obsolete)
Comment 10 lancellotti 2016-09-20 11:07:07 UTC
As requested by the LibreOffice QA I re-tested this bug today (LO 5 on Ubuntu 16.04). Nothing has changed, the problem is still occurring.
Comment 11 Cor Nouws 2016-09-20 11:26:21 UTC
I would say this is a 8 bits limitation.. @jani, maybe easyhackable?
Comment 12 Xisco Faulí 2017-09-29 08:50:00 UTC Comment hidden (obsolete)
Comment 13 Cor Nouws 2017-09-29 21:19:12 UTC
ah nice, works in Version: 6.0.0.0.alpha0+
Build ID: 892c719fffa06de4c7aeab497326cad7bae9e5c6
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-27_03:02:09
Locale: nl-NL (nl_NL.UTF-8); Calc: group