Issue 81014 - handout prints only 1st 2 pages
Summary: handout prints only 1st 2 pages
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: printing (show other issues)
Version: OOG680_m1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: christian.guenther
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks: 80294
  Show dependency tree
 
Reported: 2007-08-24 22:52 UTC by jdbonatout
Modified: 2007-10-16 16:14 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jdbonatout 2007-08-24 22:52:29 UTC
Trying to print an .odp file approx 21 dias in handout format, portrait, 2 /
page. Correctly prints with OO2.0FR ; only first page (with 2 dias) prints
correctly with OOG680_m1. Other pages show only dias borders. 
(config: OO2.0FR on Win2000-FR SP4; OOG680_m1 on WinXP-FR SP2). Same problem
when changing the template.
Comment 1 christian.guenther 2007-08-27 14:59:48 UTC
Set to new and change the target.
Comment 2 christian.guenther 2007-08-27 15:02:18 UTC
was ok in OOo 2.2.1
I can reproduce the bug.
all hadouts on the first page are printed.
Please have a look.
Comment 3 groucho266 2007-08-28 10:55:57 UTC
Working on it.
Comment 4 groucho266 2007-08-28 12:03:58 UTC
I have located the problem in class sdr::contact::ObjectContact
(svx/source/sdr/contact/objectcontact.cxx).  The mbDrawHierarchyValid flag is
not reset to sal_False when the hierarchy of contact objects is released in
ClearDrawHierarchy().
As a result the hierarchy is released but not rebuild because
mbDrawHierarchyValid still pretends that it is valid.

Adding a call to MarkDrawHierarchyInvalid() to ClearDrawHierarchy() fixes this bug.

I still have to find out if that fix breaks something else.
Comment 5 groucho266 2007-08-28 12:41:11 UTC
Fixed like described above.

Modified file is 
svx/source/sdr/contact/objectcontact.cxx    rev. 1.12.98.1
Comment 6 groucho266 2007-08-28 16:56:19 UTC
Please verify.
Comment 7 jdbonatout 2007-08-29 10:25:25 UTC
ok to verify. is this possible applying a patch to OOG680_m1 ? is it better to
try with m2 ?
Comment 8 christian.guenther 2007-08-30 09:01:48 UTC
CGU: Verified in cws impress129
Comment 9 christian.guenther 2007-10-16 16:14:32 UTC
Integrated in oog680m5 and src680m233