gpuBenchmarking.pointerActionSequence() should generate click_count > 1 |
|
Issue descriptionpointerActionSequence() always send MouseDown event with click_count=1 for "pointerDown". pointerActionSequence() should send click_count=2 for double click and click_count=3 for triple-click and more. I could not find click count handling in "ui/events" in "cotnent/" - int MouseEvent::GetRepeatCount(const MouseEvent& event) in "ui/events/event.cc" - WebMouseEventBuilder::Build() in "ui/events/blink/web_input_event_builders_win.cc" It seems SyntheticMouseDriver::Press() set click_count to 1 and no code in content/ increases it. Sample from http://crrev.com/2955543003 chrome.gpuBenchmarking.pointerActionSequence( [{ source: 'mouse', actions: [ { name: 'pointerDown', button: 'left', x: clickX, y: clickY, }, {name: 'pointerUp'}, {name: 'pause'}, { name: 'pointerDown', button: 'left', x: clickX, y: clickY, }, {name: 'pointerUp'}, ], }], resolve);
,
Jun 26 2017
Because the timing issue that the double click or triple click requires happening in a certain time, we now do not support them, that is why, the click count is always 1. We will implement them in the near future. Do you have some testings which requires double click action?
,
Aug 1 2017
|
|
►
Sign in to add a comment |
|
Comment 1 by yosin@chromium.org
, Jun 23 2017