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

Issue 2353783002: Fix missing shadows for modal window (Closed)

Created:
4 years, 3 months ago by Julien Isorce Samsung
Modified:
4 years, 2 months ago
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix missing shadows for modal window When using a transparent visual the window manager does not draw any shadow by default (ex: 'Compiz' WM). Note that this default behavior is WM dependent. So the solution is to not use a transparent visual for ui::MODAL_TYPE_NONE (Window is not modal) Keep trying to use a transparent visual for type TYPE_DRAG or non-modal TYPE_WINDOW because of crbug.com/593256 and crbug.com/369209. BUG=640170 R=sadrul@chromium.org TEST=Go to chrome://help and hits 'report-issue.openFeedbackDialog' button

Patch Set 1 #

Patch Set 2 : oups wrong patch set #

Patch Set 3 : Really fix missing shadow for the feedback window #

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

Messages

Total messages: 17 (10 generated)
Julien Isorce Samsung
Hello Sadrul, please have a look. Thx.
4 years, 3 months ago (2016-09-19 22:33:37 UTC) #3
sadrul
This feels a bit weird. I have left a comment in the bug.
4 years, 3 months ago (2016-09-20 02:28:40 UTC) #6
Tom (Use chromium acct)
Maybe you've already tried this, but I think you should first look in Widget::InitParmas::opacity and ...
4 years, 3 months ago (2016-09-20 05:32:34 UTC) #8
Julien Isorce Samsung
On 2016/09/20 02:28:40, sadrul wrote: > This feels a bit weird. I have left a ...
4 years, 3 months ago (2016-09-20 17:10:05 UTC) #9
Julien Isorce Samsung
On 2016/09/20 05:32:34, Tom Anderson wrote: > Maybe you've already tried this, but I think ...
4 years, 3 months ago (2016-09-20 17:13:14 UTC) #10
Julien Isorce Samsung
I uploaded Patch Set 2. Please have a look. Thx. Note that I am on ...
4 years, 3 months ago (2016-09-20 17:26:51 UTC) #13
Julien Isorce Samsung
4 years, 2 months ago (2016-09-29 15:55:55 UTC) #16
On 2016/09/20 17:26:51, Julien Isorce wrote:
> I uploaded Patch Set 2. Please have a look. Thx.
> Note that I am on holidays, returning on 29th September.

The fix is in https://codereview.chromium.org/2347383002/ (especially see
https://codereview.chromium.org/2347383002/patch/280001/290047)

Powered by Google App Engine
This is Rietveld 408576698