Issue 104664 - [CWS printerpullpages] Resize dialog when printer details is collapsed
Summary: [CWS printerpullpages] Resize dialog when printer details is collapsed
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: christoph
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 20:18 UTC by christoph
Modified: 2017-05-20 10:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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!