Opened 22 months ago

Last modified 22 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:
Platform: All


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 22 months ago.

Download all attachments as: .zip

Change History (3)

by jalopeura, 22 months ago

Attachment: window_zoom.diff added


comment:1 by waddlesplash, 22 months ago

Please see the new SubmittingPatches and submit to Gerrit.

comment:2 by waddlesplash, 22 months ago

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