Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Issue 275693002: Fix the bug that minimized panel window might steal focus on Mac (Closed)

Created:
6 years, 7 months ago by jianli
Modified:
6 years, 7 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, jennb, dcheng
Visibility:
Public.

Description

Fix the bug that minimized panel window might steal focus on Mac This is caused by the problem that the minimized panel could still become a key window. We found out a way to deactivate a NSWindow correctly. BUG=365758 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272420

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change the way to deactivate a window #

Patch Set 3 : Fix stacked panels #

Patch Set 4 : Fix trybots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -20 lines) Patch
M chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm View 1 2 3 4 chunks +32 lines, -20 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
jianli
6 years, 7 months ago (2014-05-08 23:06:26 UTC) #1
Dmitry Titov
As I understand, you are removing resizable mask because a window w/o resizable or title ...
6 years, 7 months ago (2014-05-16 16:37:38 UTC) #2
jianli
https://codereview.chromium.org/275693002/diff/1/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm (right): https://codereview.chromium.org/275693002/diff/1/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm#newcode591 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm:591: // Prevent the minimized panel from invoking any activation ...
6 years, 7 months ago (2014-05-20 00:56:00 UTC) #3
Dmitry Titov
reluctant lgtm. Please give it a lot of manual testing, since other behavior may be ...
6 years, 7 months ago (2014-05-20 01:35:32 UTC) #4
jianli
On 2014/05/20 01:35:32, Dmitry Titov wrote: > reluctant lgtm. > > Please give it a ...
6 years, 7 months ago (2014-05-20 02:12:23 UTC) #5
jianli
Did a lot of manual testings to make sure everything works all right. Found only ...
6 years, 7 months ago (2014-05-20 20:15:38 UTC) #6
Dmitry Titov
lgtm, thanks for testing it!
6 years, 7 months ago (2014-05-20 20:58:05 UTC) #7
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-20 20:59:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/275693002/40001
6 years, 7 months ago (2014-05-20 20:59:53 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 00:31:09 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-21 06:32:42 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/155586)
6 years, 7 months ago (2014-05-21 06:32:42 UTC) #12
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-22 21:28:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/275693002/60001
6 years, 7 months ago (2014-05-22 21:31:41 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 00:58:28 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 07:06:13 UTC) #16
Message was sent while issue was closed.
Change committed as 272420

Powered by Google App Engine
This is Rietveld 408576698