https://bugs.freedesktop.org/show_bug.cgi?id=67579

Lionel Elie Mamane <lio...@mamane.lu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|assertion failure on "print |assertion failure on "print
                   |option"                     |option": too much trust in
                   |                            |printer settings/data saved
                   |                            |in the .odt file

--- Comment #3 from Lionel Elie Mamane <lio...@mamane.lu> ---
In a run where the assert happens:

In PspSalInfoPrinter::Setup, before the call to SetData:

gdb) print (char*)pJobSetup->mpDriverData
$95 = 
    0x299e9b0 "JobData
1\nprinter=C353\norientation=Portrait\ncopies=1\nmargindajustment=0,0,0,0\ncolordepth=24\npslevel=0\npdfdevice=0\ncolordevice=0\nPPDContexData\nInputSlot:Tray1"


So, the pdfdevice=0 from settings.xml somehow gets there. Not sure why / how;
that setting seems like it is printer-dependent to me. Why would it be trusted
from an .odt (and why it is saved there in the first place), I'm not completely
sure, since the printer environment may have changed since the file was saved.
It may even be a different printer.

>From there, it trickles down to RTSDialog's m_aJobData and triggers the assert.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to