Opened 6 years ago

Last modified 6 years 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:
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 6 years ago.
patch

Download all attachments as: .zip

Change History (3)

by jalopeura, 6 years ago

Attachment: window_zoom.diff added

patch

comment:1 by waddlesplash, 6 years ago

Please see the new SubmittingPatches and submit to Gerrit.

comment:2 by waddlesplash, 6 years ago

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