Descriptionmac: Fix bug where finder window extends past bottom of screen.
AppKit is responsible for determining the height of the NSSavePanel and
NSOpenPanel. It will never pick a height that causes the panel to be taller
than the screen, but it may pick a height that requires the panel to be
positioned near the top of its presenting window. Chrome's logic for
positioning panels did not take this into consideration, so it was possible to
position a panel that extended past the bottom of the screen.
This CL fixes this oversight.
BUG=423635
Committed: https://crrev.com/b5a19d4ffc9184ec221d46a88b4afa5071eb1527
Cr-Commit-Position: refs/heads/master@{#301533}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Rebase against top of tree. Comments from rsesek. #
Messages
Total messages: 11 (4 generated)
|