Issue 104664

Summary: [CWS printerpullpages] Resize dialog when printer details is collapsed
Product: General Reporter: christoph
Component: uiAssignee: christoph
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues, joerg.skottke
Version: current   
Target Milestone: OOo 3.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description christoph 2009-08-31 20:18:14 UTC
The printer details are usually hidden and can be expanded. Then, the whole
dialog is resized (increased height) to provide sufficient space. But...

Current behavior: Collapsing the printer details results in the height staying
constant.

Proposed behavior: Collapsing the printer details should resize the dialog again
(reducing the height originally required by the additional printer details).

Reason/Comments:
* On computers with low resolutions screens (e.g. Netbooks), the size of the
dialog might be too large when printer details are shown. The reduced height
might be necessary to show the buttons for Print, Cancel and Help again.
* On computers with sufficient screen space, it is assumed that users only
expand the printer details once - so they won't be bothered by a "jumping"
dialog window. Even if they collapse it - this is a manual action. There is no
potential issue of accidentally clicking on other controls, because being moved.
Comment 1 philipp.lohmann 2009-09-08 16:45:07 UTC
confirm.

problem: if the user resized the dialog manually we that should override any
collapsing action, however there is at the moment no method to recognize if a
resize came from the user or not.
Comment 2 philipp.lohmann 2009-09-08 17:11:00 UTC
solution: resize back only if the size has not changed since the expansion.

fixed in CWS printerpullpages
Comment 3 philipp.lohmann 2009-09-08 17:42:52 UTC
target
Comment 4 philipp.lohmann 2009-10-26 13:25:32 UTC
please verify in CWS printerpullpages
Comment 5 christoph 2009-10-27 21:18:23 UTC
Verified in OOo_3.2.0_091026_unxlngi6_install (DEV300m21).

@pl: Nice solution, thanks!