https://bugs.documentfoundation.org/show_bug.cgi?id=106963
Bug ID: 106963
Summary: Print Dialog ignores PPD options with empty strings
Product: LibreOffice
Version: 5.3.1.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
Description:
I am using a PostScript printer in CUPS with PPD options like the following:
*OpenUI *StapleType/Staple/Eco (Staple-Free): PickOne
*OrderDependency: 50.0 AnySetup *StapleType
*DefaultStapleType: StapleOff
*StapleType StapleOff/Off: "<</Staple 0 >> systemdict /setpagedevice get exec"
*StapleType StapleON/Staple: ""
*StapleType StapleFree/Eco (Staple-Free): ""
*CloseUI: *StapleType
The last two choices in this option (StapleON and StapleFree) are not presented
in the printing dialog, under the device properties tab. I believe they are
likely being skipped because they do not emit code.
However this is incorrect behavior as these choices should still be available
to the user, as in this case the absence of code triggers the features (as
weird as it may seem).
Steps to Reproduce:
1. Choose to print any document in LibreOffice
2. Select a printer device using a PPD with an option that includes choices
with empty strings.
3. Hit "Properties..." then the Device tab.
Actual Results:
The corresponding options do not show in the device properties dialog and are
therefore out of reach to the user.
Expected Results:
All choices as defined in the PPD, even those including empty strings, should
be shown in the user interface for device properties.
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4)
AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs