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

Issue 340783004: visibility bug fix for https://crbug.com/246844 (Closed)

Created:
6 years, 6 months ago by Zhen Wang
Modified:
6 years, 6 months ago
CC:
ben+views_chromium.org, chromium-reviews, tdanderson+views_chromium.org, tfarina
Project:
chromium
Visibility:
Public.

Description

visibility bug fix for 246844 on Linux machines BUG=246844 It fixes the the bug on Linux machines by propagating the window minimization information to the content window after receiving X event from the platform, so the render side can update its visibility properly. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278754

Patch Set 1 #

Patch Set 2 : Fix a bug in the unit test and combine the two tests into one. #

Patch Set 3 : Use PropertyNotify to minimize and show. This is more realistic. #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : Update comments with the solution for windows. #

Total comments: 3

Patch Set 6 : Better code structure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -0 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc View 1 2 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Zhen Wang
Hi Elliot, Peter and Tony, I made some changes to fix the visibility bug (246844)) ...
6 years, 6 months ago (2014-06-19 15:53:02 UTC) #1
Elliot Glaysher
So, I don't see desktop_window_tree_host_win.cc doing anything analogous to this. How does this work on ...
6 years, 6 months ago (2014-06-19 18:11:39 UTC) #2
Elliot Glaysher
https://codereview.chromium.org/340783004/diff/60001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/340783004/diff/60001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1193 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1193: // minimized or shown from minimized state. If you ...
6 years, 6 months ago (2014-06-19 20:09:57 UTC) #3
Zhen Wang
Hi Elliot, I have updated the patch with your suggestions. I will also reply to ...
6 years, 6 months ago (2014-06-19 22:40:48 UTC) #4
Zhen Wang
I just put in the notes. I should have combined this email with the previous ...
6 years, 6 months ago (2014-06-19 22:45:02 UTC) #5
Elliot Glaysher
lgtm++ https://codereview.chromium.org/340783004/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc (right): https://codereview.chromium.org/340783004/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc#newcode391 ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc:391: ui::X11AtomCache atom_cache(display, kAtomsToCache); I believe you can safely ...
6 years, 6 months ago (2014-06-19 22:47:10 UTC) #6
pkotwicz
https://codereview.chromium.org/340783004/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/340783004/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1202 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1202: } I think a structure like this would be ...
6 years, 6 months ago (2014-06-19 22:50:36 UTC) #7
Zhen Wang
https://codereview.chromium.org/340783004/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/340783004/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1202 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1202: } Indeed. Updated. On 2014/06/19 22:50:36, pkotwicz wrote: > ...
6 years, 6 months ago (2014-06-19 23:02:24 UTC) #8
pkotwicz
LGTM
6 years, 6 months ago (2014-06-20 15:27:38 UTC) #9
Zhen Wang
The CQ bit was checked by zhenw@chromium.org
6 years, 6 months ago (2014-06-20 15:48:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenw@chromium.org/340783004/100001
6 years, 6 months ago (2014-06-20 15:49:42 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 17:39:45 UTC) #12
Message was sent while issue was closed.
Change committed as 278754

Powered by Google App Engine
This is Rietveld 408576698