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

Issue 2174033002: [md] Fixes tooltips on Linux that should not have changed (Closed)

Created:
4 years, 5 months ago by varkha
Modified:
4 years, 5 months ago
Reviewers:
sadrul
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

[md] Fixes tooltips regression on Linux that should not have changed I have tried making rounded corners work on Linux but so far haven't succeeded. I can make the non-opaque background work using Widget::SetOpacity and ui::Layer::SetFillsBoundsOpaquely but the native widget on Linux still paints around the rounded corners. Widget::SetShape doesn't use antialiasing so using that to achieve rounded corners appears crude. There is some work to make transparency work better on Linux https://codereview.chromium.org/2124633002 so I haven't pursued this further. BUG=630556 Committed: https://crrev.com/6ea8ec306bee7352409e5c0d76547fc9f802d640 Cr-Commit-Position: refs/heads/master@{#407350}

Patch Set 1 : [md] Fixes tooltips on Linux that should not have changed #

Total comments: 2

Patch Set 2 : [md] Fixes tooltips on Linux that should not have changed (comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M ui/views/corewm/tooltip_aura.cc View 1 3 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
varkha
sadrul@, can you please take a look? Is there something better to get rounded corners ...
4 years, 5 months ago (2016-07-22 21:31:29 UTC) #6
sadrul
https://codereview.chromium.org/2174033002/diff/20001/ui/views/corewm/tooltip_aura.cc File ui/views/corewm/tooltip_aura.cc (right): https://codereview.chromium.org/2174033002/diff/20001/ui/views/corewm/tooltip_aura.cc#newcode50 ui/views/corewm/tooltip_aura.cc:50: } I think we shouldn't set the opacity to ...
4 years, 5 months ago (2016-07-23 01:08:05 UTC) #7
varkha
Thanks, indeed looks simpler. https://codereview.chromium.org/2174033002/diff/20001/ui/views/corewm/tooltip_aura.cc File ui/views/corewm/tooltip_aura.cc (right): https://codereview.chromium.org/2174033002/diff/20001/ui/views/corewm/tooltip_aura.cc#newcode50 ui/views/corewm/tooltip_aura.cc:50: } On 2016/07/23 01:08:05, sadrul ...
4 years, 5 months ago (2016-07-23 01:22:18 UTC) #10
sadrul
lgtm
4 years, 5 months ago (2016-07-23 01:24:24 UTC) #11
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/2174033002/40001
4 years, 5 months ago (2016-07-23 01:30:19 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/267956)
4 years, 5 months ago (2016-07-23 02:00:50 UTC) #17
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/2174033002/40001
4 years, 5 months ago (2016-07-23 03:57:25 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-23 04:31:45 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 04:32:54 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6ea8ec306bee7352409e5c0d76547fc9f802d640
Cr-Commit-Position: refs/heads/master@{#407350}

Powered by Google App Engine
This is Rietveld 408576698