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

Issue 213833018: Aura tooltips do not move on mouse move in case of many neighboring views with the same label (Closed)

Created:
6 years, 8 months ago by Mikus
Modified:
6 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, ben+views_chromium.org, ben+corewm_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Aura tooltips do not move on mouse move in case of many neighboring views with the same tooltip label BUG=Aura tooltips do not move on mouse move in case of many neighboring views with the same tooltip label. This can be really uncomfortable when working with lots of tabs with the same address on the tab strip. Try creating ~30 startpage tabs and hover over one of them, then move the cursor to others. The tooltip will just sit in the place where it was first shown. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277010

Patch Set 1 #

Patch Set 2 : Fixed a problem with blinking tooltips on e.g. links. #

Patch Set 3 : Remove view pointer from tooltip manager and replace it with bounds used for last displayed tooltip #

Patch Set 4 : Fixed errors derived from manual patch transfer from Opera #

Patch Set 5 : Write unit test for the case when a tooltip moves from one view to another with the same tooltip bu… #

Total comments: 2

Patch Set 6 : The test now uses TestTooltip as it should + formatting #

Patch Set 7 : Remove redundant method from TooltipControllerTestHelper #

Patch Set 8 : Update the tooltip according to void* uniqueness indicator, source view in case of views #

Patch Set 9 : Sanity fixups #

Total comments: 19

Patch Set 10 : Review fixes & test adaptations #

Patch Set 11 : Missed tooltip client property type fix #

Patch Set 12 : Change the unique id of tooltip text from void** to void* #

Total comments: 4

Patch Set 13 : Code review fixes #

Patch Set 14 : Do not set unique id along with tooltip text #

Total comments: 1

Patch Set 15 : UpdateTooltipId->SetTooltipId #

Patch Set 16 : Fix Linux test TooltipControllerTest3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -3 lines) Patch
M ui/views/corewm/tooltip_controller.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/corewm/tooltip_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -1 line 0 comments Download
M ui/views/corewm/tooltip_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +171 lines, -0 lines 0 comments Download
M ui/views/widget/tooltip_manager_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M ui/wm/public/tooltip_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -1 line 0 comments Download
M ui/wm/public/tooltip_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
Mikus
6 years, 8 months ago (2014-04-01 14:20:07 UTC) #1
jam
can you tell us which reviewers are for which code? for example, I'm an owner ...
6 years, 8 months ago (2014-04-01 16:19:46 UTC) #2
oshima
On 2014/04/01 16:19:46, jam wrote: > can you tell us which reviewers are for which ...
6 years, 8 months ago (2014-04-01 18:45:35 UTC) #3
Mikus
On 2014/04/01 18:45:35, oshima wrote: > On 2014/04/01 16:19:46, jam wrote: > > can you ...
6 years, 8 months ago (2014-04-02 10:06:15 UTC) #4
Mikus
On 2014/04/02 10:06:15, Mikus wrote: > On 2014/04/01 18:45:35, oshima wrote: > > On 2014/04/01 ...
6 years, 8 months ago (2014-04-02 10:12:33 UTC) #5
sky
Can you write a test here?
6 years, 8 months ago (2014-04-02 15:05:06 UTC) #6
Mikus
On 2014/04/02 15:05:06, sky wrote: > Can you write a test here? I think so. ...
6 years, 8 months ago (2014-04-09 13:07:33 UTC) #7
Mikus
On 2014/04/09 13:07:33, Mikus wrote: > On 2014/04/02 15:05:06, sky wrote: > > Can you ...
6 years, 8 months ago (2014-04-10 14:35:23 UTC) #8
sky
https://codereview.chromium.org/213833018/diff/80001/ui/views/corewm/tooltip.h File ui/views/corewm/tooltip.h (right): https://codereview.chromium.org/213833018/diff/80001/ui/views/corewm/tooltip.h#newcode49 ui/views/corewm/tooltip.h:49: virtual gfx::Point GetTooltipPosition() = 0; You shouldn't have to ...
6 years, 8 months ago (2014-04-10 16:12:08 UTC) #9
sky
I'm also trimming the review list to just me. In the future pick one reviewer ...
6 years, 8 months ago (2014-04-10 16:13:16 UTC) #10
Mikus
On 2014/04/10 16:12:08, sky wrote: > https://codereview.chromium.org/213833018/diff/80001/ui/views/corewm/tooltip.h > File ui/views/corewm/tooltip.h (right): > > https://codereview.chromium.org/213833018/diff/80001/ui/views/corewm/tooltip.h#newcode49 > ...
6 years, 8 months ago (2014-04-11 10:06:22 UTC) #11
sky
On Fri, Apr 11, 2014 at 3:06 AM, <mboc@opera.com> wrote: > On 2014/04/10 16:12:08, sky ...
6 years, 8 months ago (2014-04-14 14:03:10 UTC) #12
Mikus
On 2014/04/14 14:03:10, sky wrote: > On Fri, Apr 11, 2014 at 3:06 AM, <mailto:mboc@opera.com> ...
6 years, 8 months ago (2014-04-14 14:24:11 UTC) #13
sky
On Mon, Apr 14, 2014 at 7:24 AM, <mboc@opera.com> wrote: > On 2014/04/14 14:03:10, sky ...
6 years, 8 months ago (2014-04-14 15:37:23 UTC) #14
Mikus
On 2014/04/14 15:37:23, sky wrote: > On Mon, Apr 14, 2014 at 7:24 AM, <mailto:mboc@opera.com> ...
6 years, 8 months ago (2014-04-22 07:10:23 UTC) #15
Mikus
Done!
6 years, 8 months ago (2014-04-23 11:37:28 UTC) #16
sky
https://codereview.chromium.org/213833018/diff/180001/ui/views/corewm/tooltip_controller.cc File ui/views/corewm/tooltip_controller.cc (right): https://codereview.chromium.org/213833018/diff/180001/ui/views/corewm/tooltip_controller.cc#newcode282 ui/views/corewm/tooltip_controller.cc:282: bool force = false; force->ids_differ https://codereview.chromium.org/213833018/diff/180001/ui/views/corewm/tooltip_controller.h File ui/views/corewm/tooltip_controller.h (right): ...
6 years, 8 months ago (2014-04-23 20:08:45 UTC) #17
Mikus
https://codereview.chromium.org/213833018/diff/180001/ui/views/corewm/tooltip_controller.cc File ui/views/corewm/tooltip_controller.cc (right): https://codereview.chromium.org/213833018/diff/180001/ui/views/corewm/tooltip_controller.cc#newcode282 ui/views/corewm/tooltip_controller.cc:282: bool force = false; On 2014/04/23 20:08:46, sky wrote: ...
6 years, 8 months ago (2014-04-24 08:39:55 UTC) #18
sky
https://codereview.chromium.org/213833018/diff/180001/ui/wm/public/tooltip_client.h File ui/wm/public/tooltip_client.h (right): https://codereview.chromium.org/213833018/diff/180001/ui/wm/public/tooltip_client.h#newcode41 ui/wm/public/tooltip_client.h:41: void** tooltip_unique); On 2014/04/24 08:39:56, Mikus wrote: > On ...
6 years, 8 months ago (2014-04-24 16:19:43 UTC) #19
Mikus
On 2014/04/24 16:19:43, sky wrote: > https://codereview.chromium.org/213833018/diff/180001/ui/wm/public/tooltip_client.h > File ui/wm/public/tooltip_client.h (right): > > https://codereview.chromium.org/213833018/diff/180001/ui/wm/public/tooltip_client.h#newcode41 > ...
6 years, 7 months ago (2014-04-29 11:23:05 UTC) #20
Mikus
On 2014/04/29 11:23:05, Mikus wrote: > On 2014/04/24 16:19:43, sky wrote: > > > https://codereview.chromium.org/213833018/diff/180001/ui/wm/public/tooltip_client.h ...
6 years, 7 months ago (2014-04-29 11:24:15 UTC) #21
sky
On 2014/04/29 11:24:15, Mikus wrote: > On 2014/04/29 11:23:05, Mikus wrote: > > On 2014/04/24 ...
6 years, 7 months ago (2014-04-29 16:05:10 UTC) #22
sky
6 years, 7 months ago (2014-04-29 16:05:16 UTC) #23
Mikus
On 2014/04/29 16:05:16, sky wrote: Sorry, I had a rather long holiday. @sky I've just ...
6 years, 6 months ago (2014-06-02 14:37:53 UTC) #24
sky
https://codereview.chromium.org/213833018/diff/240001/ui/views/corewm/tooltip_controller.cc File ui/views/corewm/tooltip_controller.cc (right): https://codereview.chromium.org/213833018/diff/240001/ui/views/corewm/tooltip_controller.cc#newcode290 ui/views/corewm/tooltip_controller.cc:290: if (tooltip_id) { Why the if here? Can't you ...
6 years, 6 months ago (2014-06-02 15:39:46 UTC) #25
Mikus
On 2014/06/02 15:39:46, sky wrote: > https://codereview.chromium.org/213833018/diff/240001/ui/views/corewm/tooltip_controller.cc > File ui/views/corewm/tooltip_controller.cc (right): > > https://codereview.chromium.org/213833018/diff/240001/ui/views/corewm/tooltip_controller.cc#newcode290 > ...
6 years, 6 months ago (2014-06-03 05:48:27 UTC) #26
sky
On Mon, Jun 2, 2014 at 10:48 PM, <mboc@opera.com> wrote: > On 2014/06/02 15:39:46, sky ...
6 years, 6 months ago (2014-06-03 16:01:29 UTC) #27
Mikus
You're right, done.
6 years, 6 months ago (2014-06-04 07:42:32 UTC) #28
sky
LGTM with the following change https://codereview.chromium.org/213833018/diff/280001/ui/wm/public/tooltip_client.h File ui/wm/public/tooltip_client.h (right): https://codereview.chromium.org/213833018/diff/280001/ui/wm/public/tooltip_client.h#newcode44 ui/wm/public/tooltip_client.h:44: AURA_EXPORT void UpdateTooltipId(Window* window, ...
6 years, 6 months ago (2014-06-04 15:32:52 UTC) #29
Mikus
The CQ bit was checked by mboc@opera.com
6 years, 6 months ago (2014-06-05 07:20:10 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mboc@opera.com/213833018/300001
6 years, 6 months ago (2014-06-05 07:21:19 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 10:28:39 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 11:26:18 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/34665)
6 years, 6 months ago (2014-06-05 11:26:19 UTC) #34
Mikus
On 2014/06/05 11:26:19, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 6 months ago (2014-06-13 07:40:32 UTC) #35
Mikus
The CQ bit was checked by mboc@opera.com
6 years, 6 months ago (2014-06-13 07:53:58 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mboc@opera.com/213833018/320001
6 years, 6 months ago (2014-06-13 07:55:17 UTC) #37
Mikus
On 2014/06/13 07:55:17, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 6 months ago (2014-06-13 09:04:37 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-13 11:35:44 UTC) #39
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 13:28:35 UTC) #40
Message was sent while issue was closed.
Change committed as 277010

Powered by Google App Engine
This is Rietveld 408576698