I suspect that there is another bug that fails to release the printed view, but I could not find it, and it was easier to work around it in my code.
System details: Suse Linux 10.0 running on Parallels Virtual Machine on MacOSX 10.4.8(intel). Gcc 4.0.2, libc 2.3.5, gnustep-make-1.13.0, gnustep-base-1.13.0, gnustep-gui-0.11.0, gnustep-back-0.11.0, with the default art backend.
Valgrind was very helpful for finding item #2.
Cheers,
Mark Tracy
ChangeLog
Sat. 07-Oct-2006 Mark Tracy <tracy454 at concentric dot net>
1. NSView.m -beginDocument
was misplacing subviews when generating PostScript for printing
fix: force regeneration of coordinates
2. GSStreamContext -GSSendBezierPath
was giving invalid arguments to setdash
cause: getLineDash was being called without initializing
count with the size of the pattern buffer
fix: count=10
3. GSStreamContext did not implement GSRectFillList
fix: copied code from GSGState.m
4. NSPrintOperation would loop randomly if a custom view replies
YES to -knowsPageRange
cause: -_printPaginateWithInfo did not initialize info-
>pageScale, info->xpages, info->ypages
fix: in -_printPaginateWithInfo set default pageScale=1.0
outside conditional
fix: in -_print set xpages and ypages from viewPageRange as
reported by custom view
5. NSPageLayout was setting a default page scale of 100
cause: pageScale factor is displayed as percentage
fix: pageScale*100 sent to textfield and textfield/100
stored in pageScale
6. NSPageLayout had different limits on scaling than NSPrintPanel
fix: adjust formatter max
gnustep-back-0.11.0.patch
Description: Binary data
gnustep-gui-0.11.0.patch
Description: Binary data
_______________________________________________ Bug-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnustep
