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

Issue 1998653002: Make DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() relies on argb visual flag (Closed)

Created:
4 years, 7 months ago by Julien Isorce Samsung
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() relies on argb visual flag If depth is 32 and if there is a compositing manager then transparency is supported. Do not force transparency if Widget::InitParams::TRANSLUCENT_WINDOW is set whereas transparency is not supported. Which is the same behavior as on OS_WIN. Also add a new test WidgetTest.Transparency_DesktopWidget to widget_unittest.cc which ensures that transparency state of the native window matches what returns ShouldWindowContentsBeTransparent(). BUG=589509 R=erg@chromium.org, mgiuca@chromium.org, sadrul@chromium.org TEST=views_unittests --gtest_filter=*WidgetTest.Transparency* CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/29d8c51452a83dcbc359679e8ce36af41af64e36 Committed: https://crrev.com/bd03f87c1657e4b15b0fed1627fdceb6c3519ae1 Cr-Original-Commit-Position: refs/heads/master@{#401826} Cr-Commit-Position: refs/heads/master@{#401862}

Patch Set 1 #

Patch Set 2 : Fix undefined on OSX. Also on OS_WIN do not assume that Aero Glass is enabled. #

Patch Set 3 : Rebase and add nogncheck to fix chromecast and chromeos builds #

Patch Set 4 : Just rebase #

Patch Set 5 : When using X11 check if there is a transparent visual #

Patch Set 6 : Just rebase #

Patch Set 7 : Relax depth check since Xvfb only run as 24 color depth #

Patch Set 8 : Actually no need to relax since Xvfb supports 32 depth, it just does not set _NET_WM_CM_S0 bit. #

Total comments: 1

Patch Set 9 : Add the fix in DesktopWindowTreeHostX11 that I mentioned in earlier comments #

Patch Set 10 : Rebase #

Patch Set 11 : Remove the fix to make the new test fails on the linux try bot #

Patch Set 12 : Add assert to check that depth is 32 when kEnableTransparentVisuals is on #

Patch Set 13 : Rebase #

Patch Set 14 : Add more contraints in the test #

Patch Set 15 : increment counter #

Patch Set 16 : Rebase #

Patch Set 17 : Rebase #

Patch Set 18 : Re-add the fix #

Patch Set 19 : Rebase and use USE_X11 instead of OS_LINUX #

Total comments: 2

Patch Set 20 : Rebase and use ShouldWindowContentsBeTransparent #

Total comments: 6

Patch Set 21 : Rebase and simplify the unit test #

Total comments: 2

Patch Set 22 : Add init_param.opacity = TRANSLUCENT_WINDOW #

Patch Set 23 : Also test INFER_OPACITY and OPAQUE_WINDOW #

Patch Set 24 : Add assert to check if compositing is enabled on OS_WIN #

Patch Set 25 : Rebase and build fix on OS_WIN #

Patch Set 26 : Rebase and build fix on OS_WIN #

Patch Set 27 : Rebase and add TODO since AeroGlass is not enabled on OS_WIN #

Patch Set 28 : Rebase and check for compositing manager #

Total comments: 2

Patch Set 29 : Use atom_cache_ #

Patch Set 30 : Rebase #

Patch Set 31 : Remove TODO/CHECK since Win10 bots can run tests with AeroGlass enabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -3 lines) Patch
M ui/views/test/widget_test.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/test/widget_test_aura.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/test/widget_test_mac.mm View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +6 lines, -3 lines 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +69 lines, -0 lines 0 comments Download

Messages

Total messages: 184 (84 generated)
Julien Isorce Samsung
Currently this CL does not contain the fix because I want to demonstrate that this ...
4 years, 7 months ago (2016-05-19 15:03:07 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/1
4 years, 7 months ago (2016-05-19 15:03:35 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/163356)
4 years, 7 months ago (2016-05-19 15:11:01 UTC) #6
Julien Isorce Samsung
On 2016/05/19 15:11:01, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 7 months ago (2016-05-19 16:30:02 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/20001
4 years, 7 months ago (2016-05-19 16:30:39 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/190623)
4 years, 7 months ago (2016-05-19 16:38:21 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/40001
4 years, 7 months ago (2016-05-19 21:31:00 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/69734) android_chromium_gn_compile_rel on ...
4 years, 7 months ago (2016-05-19 21:37:31 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/60001
4 years, 7 months ago (2016-05-19 21:51:00 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 23:19:40 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/60001
4 years, 7 months ago (2016-05-20 05:24:46 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 05:41:22 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/60001
4 years, 7 months ago (2016-05-20 05:48:19 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 05:52:30 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/80001
4 years, 7 months ago (2016-05-20 08:33:29 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/232824)
4 years, 7 months ago (2016-05-20 09:46:09 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/100001
4 years, 7 months ago (2016-05-20 13:15:16 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/232900)
4 years, 7 months ago (2016-05-20 14:34:39 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/120001
4 years, 7 months ago (2016-05-20 15:07:15 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/232956)
4 years, 7 months ago (2016-05-20 16:09:16 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/140001
4 years, 7 months ago (2016-05-20 16:59:01 UTC) #42
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/233031)
4 years, 7 months ago (2016-05-20 18:17:04 UTC) #44
Julien Isorce Samsung
On 2016/05/20 18:17:04, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 7 months ago (2016-05-20 20:13:24 UTC) #47
piman
https://codereview.chromium.org/1998653002/diff/140001/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://codereview.chromium.org/1998653002/diff/140001/ui/base/x/x11_util.cc#newcode1431 ui/base/x/x11_util.cc:1431: // XAtom NET_WM_CM_S0 = XInternAtom(display, "_NET_WM_CM_S0", False); This is ...
4 years, 7 months ago (2016-05-20 20:40:39 UTC) #48
Julien Isorce Samsung
On 2016/05/20 20:40:39, piman wrote: > https://codereview.chromium.org/1998653002/diff/140001/ui/base/x/x11_util.cc#newcode1431 > ui/base/x/x11_util.cc:1431: // XAtom NET_WM_CM_S0 = XInternAtom(display, > ...
4 years, 7 months ago (2016-05-20 21:12:09 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/160001
4 years, 7 months ago (2016-05-23 09:26:54 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 11:10:07 UTC) #53
Julien Isorce Samsung
On 2016/05/23 11:10:07, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 7 months ago (2016-05-23 11:41:00 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/180001
4 years, 6 months ago (2016-06-01 14:00:35 UTC) #58
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 14:52:09 UTC) #60
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/200001
4 years, 6 months ago (2016-06-01 15:03:14 UTC) #62
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 16:22:13 UTC) #64
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998653002/220001
4 years, 6 months ago (2016-06-01 16:37:55 UTC) #66
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/238725)
4 years, 6 months ago (2016-06-01 18:09:08 UTC) #68
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/240001
4 years, 6 months ago (2016-06-03 21:07:14 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/280001
4 years, 6 months ago (2016-06-03 22:24:11 UTC) #72
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/241190)
4 years, 6 months ago (2016-06-03 23:50:38 UTC) #74
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/300001
4 years, 6 months ago (2016-06-04 06:08:38 UTC) #76
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/241341)
4 years, 6 months ago (2016-06-04 07:22:47 UTC) #78
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/320001
4 years, 6 months ago (2016-06-04 16:26:13 UTC) #80
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/241376)
4 years, 6 months ago (2016-06-04 17:37:55 UTC) #82
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/340001
4 years, 6 months ago (2016-06-06 13:55:40 UTC) #84
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-06 14:57:30 UTC) #86
Julien Isorce Samsung
On 2016/06/06 14:57:30, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-06 15:18:46 UTC) #87
jam
not sure why i was added as a reviewer, i'm not an owner in this ...
4 years, 6 months ago (2016-06-06 21:58:48 UTC) #89
Julien Isorce Samsung
On 2016/06/06 21:58:48, jam wrote: > not sure why i was added as a reviewer, ...
4 years, 6 months ago (2016-06-06 23:15:18 UTC) #92
Elliot Glaysher
I'm not sure I understand what's going on here. So reading through the bug, you ...
4 years, 6 months ago (2016-06-07 22:38:44 UTC) #93
Julien Isorce Samsung
On 2016/06/07 22:38:44, Elliot Glaysher wrote: > I'm not sure I understand what's going on ...
4 years, 6 months ago (2016-06-07 23:39:15 UTC) #95
Matt Giuca
On 2016/06/07 23:39:15, Julien Isorce wrote: > On 2016/06/07 22:38:44, Elliot Glaysher wrote: > > ...
4 years, 6 months ago (2016-06-09 01:29:27 UTC) #96
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/360001
4 years, 6 months ago (2016-06-09 08:47:34 UTC) #98
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 09:59:03 UTC) #100
Julien Isorce Samsung
On 2016/06/09 01:29:27, Matt Giuca wrote: > Hi, hmm... this is not something I've done ...
4 years, 6 months ago (2016-06-09 11:19:16 UTC) #101
Elliot Glaysher
> On 2016/06/09 09:59:03, commit-bot: I haz the power wrote: > > Dry run: This ...
4 years, 6 months ago (2016-06-09 17:30:50 UTC) #103
Matt Giuca
On 2016/06/09 17:30:50, Elliot Glaysher wrote: > > On 2016/06/09 09:59:03, commit-bot: I haz the ...
4 years, 6 months ago (2016-06-10 00:43:36 UTC) #104
sadrul
https://codereview.chromium.org/1998653002/diff/360001/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/1998653002/diff/360001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode785 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:785: return use_argb_visual_; DesktopWindowTreeHostWin::ShouldWindowContentsBeTransparent() returns ShouldUseNativeFrame() here. Any reason to ...
4 years, 6 months ago (2016-06-13 15:13:17 UTC) #105
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/380001
4 years, 6 months ago (2016-06-13 15:44:29 UTC) #108
Julien Isorce Samsung
https://codereview.chromium.org/1998653002/diff/360001/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/1998653002/diff/360001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode785 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:785: return use_argb_visual_; On 2016/06/13 15:13:17, sadrul wrote: > DesktopWindowTreeHostWin::ShouldWindowContentsBeTransparent() ...
4 years, 6 months ago (2016-06-13 15:53:20 UTC) #109
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-13 16:51:45 UTC) #111
Julien Isorce Samsung
On 2016/06/13 15:13:17, sadrul wrote: > https://codereview.chromium.org/1998653002/diff/360001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode785 > ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:785: return > use_argb_visual_; > DesktopWindowTreeHostWin::ShouldWindowContentsBeTransparent() returns ...
4 years, 6 months ago (2016-06-14 14:19:23 UTC) #112
sadrul
https://codereview.chromium.org/1998653002/diff/380001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1998653002/diff/380001/ui/views/widget/widget_unittest.cc#newcode3758 ui/views/widget/widget_unittest.cc:3758: nite: remove the empty line here. https://codereview.chromium.org/1998653002/diff/380001/ui/views/widget/widget_unittest.cc#newcode3777 ui/views/widget/widget_unittest.cc:3777: widget.ShouldWindowContentsBeTransparent()); ...
4 years, 6 months ago (2016-06-14 14:32:13 UTC) #113
Julien Isorce Samsung
https://codereview.chromium.org/1998653002/diff/380001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1998653002/diff/380001/ui/views/widget/widget_unittest.cc#newcode3758 ui/views/widget/widget_unittest.cc:3758: On 2016/06/14 14:32:13, sadrul wrote: > nite: remove the ...
4 years, 6 months ago (2016-06-14 15:22:28 UTC) #114
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/400001
4 years, 6 months ago (2016-06-14 15:35:53 UTC) #116
Julien Isorce Samsung
On 2016/06/14 15:22:28, Julien Isorce wrote: > I'll update the test and remove the observer. ...
4 years, 6 months ago (2016-06-14 15:39:01 UTC) #119
sadrul
https://codereview.chromium.org/1998653002/diff/400001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1998653002/diff/400001/ui/views/widget/widget_unittest.cc#newcode3740 ui/views/widget/widget_unittest.cc:3740: widget.ShouldWindowContentsBeTransparent()); You should need to at least set Widget::InitParams::opacity ...
4 years, 6 months ago (2016-06-14 15:45:31 UTC) #120
Julien Isorce Samsung
https://codereview.chromium.org/1998653002/diff/400001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1998653002/diff/400001/ui/views/widget/widget_unittest.cc#newcode3740 ui/views/widget/widget_unittest.cc:3740: widget.ShouldWindowContentsBeTransparent()); On 2016/06/14 15:45:31, sadrul wrote: > You should ...
4 years, 6 months ago (2016-06-14 16:02:40 UTC) #121
sadrul
On 2016/06/14 16:02:40, Julien Isorce wrote: > https://codereview.chromium.org/1998653002/diff/400001/ui/views/widget/widget_unittest.cc > File ui/views/widget/widget_unittest.cc (right): > > https://codereview.chromium.org/1998653002/diff/400001/ui/views/widget/widget_unittest.cc#newcode3740 ...
4 years, 6 months ago (2016-06-14 16:11:06 UTC) #122
Julien Isorce Samsung
On 2016/06/14 16:11:06, sadrul wrote: > On 2016/06/14 16:02:40, Julien Isorce wrote: > > > ...
4 years, 6 months ago (2016-06-14 20:19:38 UTC) #123
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/440001
4 years, 6 months ago (2016-06-15 09:36:43 UTC) #125
Julien Isorce Samsung
On 2016/06/15 09:36:43, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 6 months ago (2016-06-15 09:38:21 UTC) #126
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/239353)
4 years, 6 months ago (2016-06-15 10:31:54 UTC) #128
Julien Isorce Samsung
On 2016/06/15 10:31:54, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 6 months ago (2016-06-15 11:33:45 UTC) #129
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/460001
4 years, 6 months ago (2016-06-15 12:31:47 UTC) #131
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/229983)
4 years, 6 months ago (2016-06-15 12:59:40 UTC) #133
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/480001
4 years, 6 months ago (2016-06-15 13:53:03 UTC) #135
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/230010)
4 years, 6 months ago (2016-06-15 14:23:08 UTC) #137
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/500001
4 years, 6 months ago (2016-06-15 21:59:51 UTC) #139
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/239771)
4 years, 6 months ago (2016-06-15 23:13:50 UTC) #141
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/520001
4 years, 6 months ago (2016-06-16 21:11:18 UTC) #143
Julien Isorce Samsung
On 2016/06/14 15:45:31, sadrul wrote: > ui/views/widget/widget_unittest.cc:3740: > widget.ShouldWindowContentsBeTransparent()); > You should need to at ...
4 years, 6 months ago (2016-06-16 21:16:01 UTC) #144
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 22:20:18 UTC) #146
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/540001
4 years, 6 months ago (2016-06-22 22:50:02 UTC) #148
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 00:02:46 UTC) #152
sadrul
lgtm https://codereview.chromium.org/1998653002/diff/540001/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/1998653002/diff/540001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1152 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1152: XAtom NET_WM_CM_S0 = XInternAtom(xdisplay_, "_NET_WM_CM_S0", False); Use atom_cache_.GetAtom("_NET_WM_CM_S0") ...
4 years, 6 months ago (2016-06-24 03:55:13 UTC) #153
Julien Isorce Samsung
Thx for the review. https://codereview.chromium.org/1998653002/diff/540001/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/1998653002/diff/540001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1152 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1152: XAtom NET_WM_CM_S0 = XInternAtom(xdisplay_, "_NET_WM_CM_S0", ...
4 years, 6 months ago (2016-06-24 05:25:19 UTC) #154
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/580001
4 years, 6 months ago (2016-06-24 05:27:27 UTC) #156
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 06:19:54 UTC) #158
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/580001
4 years, 6 months ago (2016-06-24 06:43:59 UTC) #162
commit-bot: I haz the power
Committed patchset #30 (id:580001)
4 years, 6 months ago (2016-06-24 06:48:06 UTC) #164
commit-bot: I haz the power
Patchset 30 (id:??) landed as https://crrev.com/29d8c51452a83dcbc359679e8ce36af41af64e36 Cr-Commit-Position: refs/heads/master@{#401826}
4 years, 6 months ago (2016-06-24 06:49:30 UTC) #166
blundell
A revert of this CL (patchset #30 id:580001) has been created in https://codereview.chromium.org/2086363005/ by blundell@chromium.org. ...
4 years, 6 months ago (2016-06-24 08:50:13 UTC) #167
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998653002/600001
4 years, 6 months ago (2016-06-24 12:45:22 UTC) #170
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 14:44:33 UTC) #172
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1998653002/600001
4 years, 6 months ago (2016-06-24 14:52:21 UTC) #175
commit-bot: I haz the power
Committed patchset #31 (id:600001)
4 years, 6 months ago (2016-06-24 14:57:31 UTC) #177
commit-bot: I haz the power
Patchset 31 (id:??) landed as https://crrev.com/bd03f87c1657e4b15b0fed1627fdceb6c3519ae1 Cr-Commit-Position: refs/heads/master@{#401862}
4 years, 6 months ago (2016-06-24 14:58:44 UTC) #179
pcc1
Hi Julien, The tests you added in this CL are failing for me locally under ...
4 years, 5 months ago (2016-06-30 22:39:18 UTC) #180
Julien Isorce Samsung
On 2016/06/30 22:39:18, pcc1 wrote: > Hi Julien, > > The tests you added in ...
4 years, 5 months ago (2016-06-30 22:58:39 UTC) #181
pcc1
On 2016/06/30 22:58:39, Julien Isorce wrote: > On 2016/06/30 22:39:18, pcc1 wrote: > > Hi ...
4 years, 5 months ago (2016-07-01 18:05:43 UTC) #182
Julien Isorce Samsung
On 2016/07/01 18:05:43, pcc1 wrote: > On 2016/06/30 22:58:39, Julien Isorce wrote: > > On ...
4 years, 5 months ago (2016-07-04 16:49:20 UTC) #183
Julien Isorce Samsung
4 years, 5 months ago (2016-07-06 12:46:01 UTC) #184
Message was sent while issue was closed.
On 2016/07/04 16:49:20, Julien Isorce wrote:
> On 2016/07/01 18:05:43, pcc1 wrote:
> > On 2016/06/30 22:58:39, Julien Isorce wrote:
> > > On 2016/06/30 22:39:18, pcc1 wrote:
> > > > Hi Julien,
> > > > 
> > > > The tests you added in this CL are failing for me locally under xvfb and
> on
> > > the
> > > > "CFI Linux" bot. Can you please take a look?
> > > > 
> > > >
> > >
> >
>
https://build.chromium.org/p/chromium.fyi/builders/CFI%20Linux/builds/5924/st...
> > > > 
> > > > $ cat out_gn/rel/args.gn 
> > > > # Build arguments go here. Examples:
> > > > #   is_component_build = true
> > > > is_debug = false
> > > > $ ninja -C out_gn/rel views_unittests
> > > > $ xvfb-run -s "-screen 0 1024x768x24" out_gn/rel/views_unittests
> > > > --single-process-tests
> > > > --gtest_filter=WidgetTest.Transparency_DesktopWidgetInferOpacity
> > > > Note: Google Test filter =
> WidgetTest.Transparency_DesktopWidgetInferOpacity
> > > > [==========] Running 1 test from 1 test case.
> > > > [----------] Global test environment set-up.
> > > > [----------] 1 test from WidgetTest
> > > > [ RUN      ] WidgetTest.Transparency_DesktopWidgetInferOpacity
> > > > Xlib:  extension "RANDR" missing on display ":99".
> > > > ../../ui/views/widget/widget_unittest.cc:3753: Failure
> > > > Value of: 32
> > > > Expected: depth
> > > > Which is: 24
> > > > ../../ui/views/widget/widget_unittest.cc:3765: Failure
> > > > Value of: widget.IsTranslucentWindowOpacitySupported()
> > > >   Actual: false
> > > > Expected: true
> > > > [  FAILED  ] WidgetTest.Transparency_DesktopWidgetInferOpacity (31 ms)
> > > > [----------] 1 test from WidgetTest (32 ms total)
> > > > 
> > > > [----------] Global test environment tear-down
> > > > [==========] 1 test from 1 test case ran. (32 ms total)
> > > > [  PASSED  ] 0 tests.
> > > > [  FAILED  ] 1 test, listed below:
> > > > [  FAILED  ] WidgetTest.Transparency_DesktopWidgetInferOpacity
> > > > 
> > > >  1 FAILED TEST
> > > 
> > > Hi, locally you need to use: python testing/xvfb.py since it requires
> > > a compositing manager xcompmgr.
> > > But I am surprised that it fails on that bot. Have you seen the failure
> > > on other bots ?
> > 
> > Okay, I can get the test to pass locally with the testing/xvfb.py script. I
> > suspect that the bot is similar in that it isn't running a compositing
> manager.
> > 
> > However, it seems strange to me that we would have tests that fail because
of
> a
> > missing compositing manager. Is there some reason why we can't disable these
> > tests if a compositing manager is not active?
> 
> You are right I will improve this. I will add you on CC when it is done.

https://codereview.chromium.org/2124633002/patch/80001/90010

Powered by Google App Engine
This is Rietveld 408576698