Chromium Code Reviews
DescriptionMac: Fix window ordering for certificate viewer/selector sheets and overlays.
Currently, the macOS-provided native dialogs for the certificate viewer and the
certificate chooser both use an invisible overlay window to make them tab-modal
instead of window modal (which is the default). If two of these dialogs with
invisible overlays are open at the same time, the overlay window order can get
mixed up and the overlay window ends up on top of the native dialog.
For the MacViews certificate viewer especially, the dialog itself and its
corresponding overlay can get incorrect window ordering, where the overlay ends
up in front of the dialog. Both these situations will render the native dialog
unclickable because the overlay is intercepting mouse events.
To fix, adjust the window order manually every time the overlay and dialog are
hidden/shown.
BUG=671150, 650898
Patch Set 1 #
Total comments: 2
Patch Set 2 : Switch to using NSFooWindowLevels. #
Total comments: 2
Patch Set 3 : Switch to reordering the child window array instead of setting the window level manually. #
Depends on Patchset: Messages
Total messages: 19 (14 generated)
|
|||||||||||||||||||||||||||||||||||||