Apache OpenOffice (AOO) Bugzilla – Issue 104664
[CWS printerpullpages] Resize dialog when printer details is collapsed
Last modified: 2017-05-20 10:29:25 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.
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.
solution: resize back only if the size has not changed since the expansion. fixed in CWS printerpullpages
target
please verify in CWS printerpullpages
Verified in OOo_3.2.0_091026_unxlngi6_install (DEV300m21). @pl: Nice solution, thanks!