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

Issue 14582028: Do not coalesce X touch move events in aura. (Closed)

Created:
7 years, 7 months ago by varunjain
Modified:
7 years, 1 month ago
Reviewers:
sadrul, DaveMoore, sky
CC:
chromium-reviews, yusukes+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Do not coalesce X touch move events in aura. BUG=218270 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200636

Patch Set 1 #

Total comments: 2

Patch Set 2 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -41 lines) Patch
M ui/aura/root_window_host_x11.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 5 chunks +9 lines, -37 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
varunjain
7 years, 7 months ago (2013-05-15 21:27:41 UTC) #1
DaveMoore
https://codereview.chromium.org/14582028/diff/1/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://codereview.chromium.org/14582028/diff/1/ui/base/x/x11_util.cc#newcode616 ui/base/x/x11_util.cc:616: UMA_HISTOGRAM_COUNTS_10000("Event.CoalescedCount.Mouse", num_coalesed); Nit: fix spelling
7 years, 7 months ago (2013-05-15 21:59:03 UTC) #2
varunjain
https://codereview.chromium.org/14582028/diff/1/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://codereview.chromium.org/14582028/diff/1/ui/base/x/x11_util.cc#newcode616 ui/base/x/x11_util.cc:616: UMA_HISTOGRAM_COUNTS_10000("Event.CoalescedCount.Mouse", num_coalesed); On 2013/05/15 21:59:03, DaveMoore wrote: > Nit: ...
7 years, 7 months ago (2013-05-15 22:09:37 UTC) #3
sky
LGTM
7 years, 7 months ago (2013-05-16 14:43:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/14582028/6001
7 years, 7 months ago (2013-05-16 14:44:07 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=115017
7 years, 7 months ago (2013-05-16 15:24:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/14582028/6001
7 years, 7 months ago (2013-05-16 17:34:05 UTC) #7
commit-bot: I haz the power
Change committed as 200636
7 years, 7 months ago (2013-05-16 22:04:26 UTC) #8
dshwang
On 2013/05/16 22:04:26, I haz the power (commit-bot) wrote: > Change committed as 200636 Hi, ...
7 years, 1 month ago (2013-11-22 19:51:52 UTC) #9
dshwang
On 2013/11/22 19:51:52, dshwang wrote: > On 2013/05/16 22:04:26, I haz the power (commit-bot) wrote: ...
7 years, 1 month ago (2013-11-22 19:53:45 UTC) #10
sadrul
7 years, 1 month ago (2013-11-22 20:36:10 UTC) #11
Message was sent while issue was closed.
On 2013/11/22 19:53:45, dshwang wrote:
> On 2013/11/22 19:51:52, dshwang wrote:
> > On 2013/05/16 22:04:26, I haz the power (commit-bot) wrote:
> > > Change committed as 200636
> > 
> > Hi, may I ask why do not coalesce X touch move events in aura?
> > Thank you in advance.

I don't remember clearly. I think the coalescing code didn't work correctly for
events coming from floating-slave devices?

> 
> Currently, we still coalesce X mouse events in aura.
> void RootWindowHostX11::DispatchXI2Event(const base::NativeEvent& event) {
>   ...
>       if (type == ui::ET_MOUSE_MOVED || type == ui::ET_MOUSE_DRAGGED) {
>         // If this is a motion event, we want to coalesce all pending motion
>         // events that are at the top of the queue.
>         num_coalesced = ui::CoalescePendingMotionEvents(xev, &last_event);
>         if (num_coalesced > 0)
>           xev = &last_event;

Powered by Google App Engine
This is Rietveld 408576698