Opened 15 months ago

Last modified 15 months ago

#14458 new bug

BWindow::Zoom gives inconsistent results

Reported by: jalopeura Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: BWindow SetZoomLimits Zoom Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

When the bounds defined by (SetZoomLimits) is smaller than the rectangle described by "(screen size - deskbar area) UNION size limits", then the window is centered within that rectangle. This centering involves dividing the difference by two and rounding the result, which can cause the resulting zoom rectangle to be one pixel short in one or both dimensions.

Attachments (1)

window_zoom.diff (1.2 KB ) - added by jalopeura 15 months ago.
patch

Download all attachments as: .zip

Change History (3)

by jalopeura, 15 months ago

Attachment: window_zoom.diff added

patch

comment:1 by waddlesplash, 15 months ago

Please see the new SubmittingPatches and submit to Gerrit.

comment:2 by waddlesplash, 15 months ago

Milestone: R1/beta1Unscheduled
Note: See TracTickets for help on using tickets.