Win 7x64 Ultimate LODev Version 4.0.0.0.beta1 (Build ID: 87906242e87d3ddb2ba9827818f2d1416d80cc7) Create a new writer file. Menu/Format/Page/Page Layout - Only right -> Crash LibreOffice. Editing the page style also leads to crash.
Thanks for submitting this bug! I can reproduce under Mac OSX 10.8.2 with LO 4.0.0.0.beta1 (Build-id: 87906242e87d3ddb2ba9827818f2d1416d80cc7) TinderBox: MacOSX TDF Release, Branch:libreoffice-4-0, Time: 2012-12-05_22:13:37 I CAN'T reproduce with LO 3.6.4.3 (Build-id: 2ef5aff), so regression.
Created attachment 71618 [details] Crash report Mac OSX 10.8.2; LO4.0B1
Created attachment 71631 [details] Bibisect output
Created attachment 71634 [details] backtrace Sounds like related to my SwPageDesc rework, I'll try to look into this.
these are the suspicious commits: git log d18455e24644a90cbf9f146ea8b4eed74180592b..e9960f36675a025c0536dec30ae56c50f4adecb1 --author vmiklos@suse.cz --pretty=oneline aa7705ef2a359d62201206ce4961547fe9a00422 DocxAttributeOutput: drop unused includes 3ec5db65a7b1dfde8246ed9855716916d6cc468e SwHeaderFooterWin: check if we are on the first page 02a934d03b101ce463a232f9cbb7b43e684de37e SwFrm::OnFirstPage: if there are no previous pages, we are on the first page 751dacec8e0947c2d85187342995822e6dc62912 SvxHFPage: add UI for style::PageProperties::FirstIsShared f3905ac09a6f37615d1335c7d2d50bd00c07b920 ItemSetToPageDesc: don't call SwPageDesc::ChgFirstShare twice 5c19b8701c58fbb49188ce2210879ce6f4431471 ItemSetToPageDesc / PageDescToItemSet: handle first page footers
Yes, it's caused by 02a934d03b101ce463a232f9cbb7b43e684de37e, assigning to me.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1b67d91b0065c46ca7b36db0836c9159ca8b50cf fdo#58376 SwFrm::CheckPageDescs: fix crash on fallback The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thanks Miklos, I'll try to verify.
Created attachment 71721 [details] alternative patch The problem is that for the first page the page format remains undefined if no seperate format for the first page is defined. It may be better to move this check to the front in order to include the other checks following (see attached patch).
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1c717cbc41174c2e86f649f1045c1d023e9d19a7&g=libreoffice-4-0 fdo#58376 SwFrm::CheckPageDescs: fix crash on fallback It will be available in LibreOffice 4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=159fc90e1692f3cc17261c0db9fec48eb6bef28b fdo#58376 testcase The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed in master and -4-0: marking as resolved.
(In reply to comment #9) > The problem is that for the first page the page format remains undefined if > no seperate format for the first page is defined. It may be better to move > this check to the front in order to include the other checks following (see > attached patch). Feel free to send a git patch to the mailing list and/or to gerrit (preferably mentioning a use-case where the original fix is not enough) and we'll try to review / push it. Thanks!
Uhm, no, I take it back. Try the following: 1) open a new doc 2) enable header + add "right" to the header 3) add new page 4) enable separate left/right headers 5) add "left" to the second header 6) add third page 7) enable different first header 8) edit first header With your patch, the header on the third page gets edited as well, which is wrong.
Confirmed solved in Beta 2. Version 4.0.0.0.beta2 (Build ID: 4104d660979c57e1160b5135634f732918460a0) Thanks Miklos. Hi @Miklos "With your patch, the header on the third page gets edited as well, which is wrong." I do not understand, why is wrong if you have set: 7) enable different first header What I understand is disable "Same content on first page"
*** Bug 57550 has been marked as a duplicate of this bug. ***
mariosv, The point of not sharing headers between first and not-first pages is being able to have different headers on these pages. If I edit the first page header and its gets updated on the 3rd page as well (while the checkbox is not checked), the feature is not working. Miklos
Created attachment 71950 [details] Screenshot Hi Miklos take look to attached screenshot. Is it how must work?
Created attachment 71951 [details] Screenshot Sorry attached as plain text. Reattached as png.
Created attachment 71952 [details] Screenshot with 3 different headers with same page style. Sorry again, wrong image attached. Attached again, I hope the right image.
Hi mariosv, Yes, that looks correct to me. :-) Miklos