Aura: Transient child window can be made visible when its parent isn't |
|||
Issue descriptiontransient_window_manager.h says "// . If a transient parent is hidden, it hides all transient children." but this rule isn't applied when attempting to show a transient child widget (i.e. a hidden parent doesn't prevent it being shown)." Version: 51.0.2664.0 OS: Linux - Ubuntu 14.04 What steps will reproduce the problem? 1. Run views_unittests BubbleDelegateTest.CloseReasons. The test passes, which is actually incorrect. Instead, it is expected that a bubble can't be shown when its anchor widget is not visible (note the test never actually shows the anchor, just the bubble). This is caused as during widget creation for bubbles, Widget::InitParams child = false, which allows bubbles to be managed by TransientWindowManager rather than ui::Layers.
,
Apr 21 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bfe263607137b4c4af5cb42fcf9a2d6cb7cc4183 commit bfe263607137b4c4af5cb42fcf9a2d6cb7cc4183 Author: patricialor <patricialor@chromium.org> Date: Thu Apr 21 08:22:42 2016 MacViews: Fix BubbleDialogDelegateTest.CloseMethods BubbleDialogDelegateTest.CloseMethods, added in http://crrev.com/1809933003 (r382045) fails on MacViews because bubbles cannot be shown unless their parents are already visible. This is expected behaviour, so fix it by showing the parent anchor widget immediately after creation (which affects all tests calling CreateTestWidget()). Note this test passes on Aura because of http://crbug.com/590957 . BUG= 590957 , 600921 Review URL: https://codereview.chromium.org/1891823004 Cr-Commit-Position: refs/heads/master@{#388720} [modify] https://crrev.com/bfe263607137b4c4af5cb42fcf9a2d6cb7cc4183/ui/views/bubble/bubble_dialog_delegate_unittest.cc
,
Jul 15 2016
,
Aug 22
Archiving old bugs that haven't been modified in over two years. If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Mar 6 2016