commit | 01b2a515f74e6f987ee06e530a9e06f548a585fa | [log] [tgz] |
---|---|---|
author | Keren Zhu <kerenzhu@chromium.org> | Thu Sep 28 15:34:22 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 28 15:34:22 2023 |
tree | 613fff5e755355b6a54d0817298649cad4cb4f69 | |
parent | a4fa59f59c5b2554c158c5642760b9d26d7e95ce [diff] |
immersive fs mac: fix invisible save dialog issue In the immersive fullscreen mode on Mac, the save dialog is hidden behind the print preview dialog. This issue is likely due to the save dialog being a descendant of `NSToolbarFullscreenWindow`. This AppKit internal window typically does not host client-provided children, which may confuse AppKit. To fix this, this CL attaches the save dialog to its `sheetParent` using `addChildWindow` and subsequently detaches it using `removeChildWindow`. This seems to bring the save dialog above its parent. Bug: 1484058 Change-Id: I05079ce5620b006d8618cf49e100dbcfede6158b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4897167 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Leonard Grey <lgrey@chromium.org> Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1202648}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.