Opened 9 months ago

Last modified 8 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


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

Download all attachments as: .zip

Change History (3)

Changed 9 months ago by jalopeura

Attachment: window_zoom.diff added


comment:1 Changed 9 months ago by waddlesplash

Please see the new SubmittingPatches and submit to Gerrit.

comment:2 Changed 8 months ago by waddlesplash

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