Bug 62700 - The selectable UI item are obscured by UIConstraints(of PPD) without any notice
Summary: The selectable UI item are obscured by UIConstraints(of PPD) without any notice
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.0.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-24 15:09 UTC by Naruhiko Ogasawara
Modified: 2015-07-18 17:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Bug description DRAW file (some screenshots and comments) (345.96 KB, application/vnd.oasis.opendocument.graphics)
2013-03-24 15:09 UTC, Naruhiko Ogasawara
Details
Ricoh Aificio C831DN PostScript PPD (200.67 KB, application/vnd.cups-ppd)
2013-03-24 15:12 UTC, Naruhiko Ogasawara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naruhiko Ogasawara 2013-03-24 15:09:22 UTC
Created attachment 76965 [details]
Bug description DRAW file (some screenshots and comments)

Background:
===========
In Linux printing system, PPD (a text file with the target printer description) have some "UIConstraints" information.
This information helps the application such as LibreOffice to inhibit incapable UI selection regarding the printers' specifications.

For example, some printer don't allow any duplex features if user choose "thick" media type.  See fig.1 on attached .odg file.


Problem:
========
Current LibreOffice specification supports UIConstraints feature, but implementation is not good and sometimes it might let users confuse.  See fig.2 on attached .odg file; here is an example.


How to Reproduce:
=================
With following step you can reproduce the problem; however it's not a only case.  It seems a specification problem.


Step 1.
-------
Get PPD file of the printer "Ricoh Aficio SP C831DN" from:
http://www.openprinting.org/printer/Ricoh/Ricoh-Aficio_SP_C831DN
(The ppd is attached here, so you can use this)

Step 2.
-------
Create printer queue with the PPD with your Linux distro way named "TEST" and set it as a default.
No "installed option" is needed.

Step 3.
-------
Launch LibreOffice (any application), then open print dialog "File" > "Print".

Step 4.
-------
Select "TEST" from "Printers" list (because of TEST is set as default in Step 2 so it already selected), and press "Property" button to bring the printer property dialog up.

Step 5.
-------
Now you're in "Paper" tab, so check "Duplex" to "Off". If not, select "Off" and press "OK." The dialog might be closed so try from Step 4 again.

Step 6.
-------
Move to "Device" tab and check "Paper Type" selector.  There are four types of
"Thick" papers.
- Thick 1 (106 - 169 g/m2)
- Thick 2 (170 - 220 g/m2)
- Thick 3 (221 - 256 g/m2)
- Thick 4 (257 - 300 g/m2)

Step 7.
-------
Back to "Paper" tab and select "Duplex" to "Long Edge", then push "OK" to close the dialog.

Step 8.
-------
Same as Step 3 and 4 to come print dialog come up. Move to "Device" and check "Paper Type" selector.


Excepted Result:
================
We still have for Thick paper types:

- Thick 1 (106 - 169 g/m2)
- Thick 2 (170 - 220 g/m2)
- Thick 3 (221 - 256 g/m2)
- Thick 4 (257 - 300 g/m2)

But if we choose "Thick 2" to "Thick 4", some error occurs (because of UIConstraints).


Current Result:
================
We have only one Thick paper 

- Thick 1 (106 - 169 g/m2)

Because this paper type is enable to use duplex, another are not.
This might be a specification of LibreOffice how let users know which items are restricted by UIConstraints, but I consider it should be correct because:

- User can't understand why another thick papers are gone.
- In this case, if duplex was set "Long Edge" or "Short Edge," most of users only see "Thick1".  PPD provides four thick papers, but LibreOffice hidden a part of these.


Suggestion:
===========
In gedit, GNOME text editor using GTK-Print, GTK+ standard print dialog, works good.  They show all of items, but message will come up when user will a select item inhibited by UIConstraints.  See fig.3 in attached .odg file.

It's not perfect (for example, we want to know which selections or items caused such kind of error but GTK-Print don't show that), but it is better than current LibreOffice specification.
Comment 1 Naruhiko Ogasawara 2013-03-24 15:12:28 UTC
Created attachment 76966 [details]
Ricoh Aificio C831DN PostScript PPD

The PPD is one of example to reproduce the bug, but any other (not so special) PPD s might have same problem.
Comment 2 QA Administrators 2015-04-19 03:19:45 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   *Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later)
   https://www.libreoffice.org/download/

   *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
   *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   *Update the version field
   *Reply via email (please reply directly on the bug tracker)
   *Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results. 
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
Comment 3 Buovjaga 2015-06-15 06:28:04 UTC
Never confirmed by QA.

Naruhiko: is this still a problem with LibreOffice 4.4?
Comment 4 QA Administrators 2015-07-18 17:27:04 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. 
Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top section of FDO

Message generated on: 2015-07-18