New issue
Advanced search Search tips

Issue 723986 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Widget::Restore after Widget::Minimize does not restore X11 window.

Reported by alshaba...@yandex-team.ru, May 18 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 YaBrowser/17.3.1.873 (beta) Yowser/2.5 Safari/537.36

Steps to reproduce the problem:
A test in widget_interactive_uitest.cc:
```
TEST_F(WidgetTestInteractive, RestoreAfterMinimize) {
  Widget* widget = CreateWidget();
  ShowSync(widget);
  ASSERT_FALSE(widget->IsMinimized());

  widget->Minimize();
  base::RunLoop().RunUntilIdle();
  EXPECT_TRUE(widget->IsMinimized());

  widget->Restore();
  base::RunLoop().RunUntilIdle();
  EXPECT_FALSE(widget->IsMinimized());

  widget->CloseNow();
}
```

What is the expected behavior?

What went wrong?
The last EXPECT_FALSE fails on X11.

Did this work before? N/A 

Chrome version: 56.0.2924.87  Channel: n/a
OS Version: 
Flash Version: 

It seems that this started to fail after https://codereview.chromium.org/2630773002/
 
Cc: thomasanderson@chromium.org
Can you try using WidgetActivationWaiter?
Project Member

Comment 3 by bugdroid1@chromium.org, May 24 2017

Labels: TE-NeedsTriageHelp
Status: Fixed (was: Unconfirmed)
fixed?

Sign in to add a comment