event dispatcher does not work correctly in high-dpi |
||||||||
Issue descriptionWhen running in mash mode with force-device-scale-factor=2, events are being dispatched to the wrong position.
,
Nov 17 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/075c4290cdfc0cfca43c2114bce282ea9389e6fc commit 075c4290cdfc0cfca43c2114bce282ea9389e6fc Author: riajiang <riajiang@chromium.org> Date: Thu Nov 17 23:13:59 2016 Scale client area, hit test mask and bounds by device_scale_factor. Fixes the second TODO of CL https://codereview.chromium.org/2341483004/. TODO: 1. Chrome browser doesn't show up with window bounds scaling. 2. Also scale window bounds in aura::mus::WindowTreeClient once window bounds work correctly. BUG= 646926 TEST=manual (with --force-device-scale-factor=2) Review-Url: https://codereview.chromium.org/2447303002 Cr-Commit-Position: refs/heads/master@{#433009} [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/demo/mus_demo.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/demo/mus_demo.h [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/public/cpp/tests/BUILD.gn [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/public/cpp/tests/window_server_test_base.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/public/cpp/tests/window_server_test_base.h [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/public/cpp/tests/window_tree_client_unittest.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/public/cpp/window_tree_client.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/test_wm/BUILD.gn [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/services/ui/test_wm/test_wm.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/ui/aura/mus/window_tree_client.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/ui/gfx/geometry/dip_util.cc [modify] https://crrev.com/075c4290cdfc0cfca43c2114bce282ea9389e6fc/ui/gfx/geometry/dip_util.h
,
Nov 22 2016
Tested in chrome dev #56.0.2924.3 on Windows 10 & Mac 10.12 and observed that 1.Mouse hover effects for backwards, forwards, refresh and app menu button - Working fine. Could anyone please check and let us know the expected behavior of the issue and please provide any other test cases required to proceed with. A screen cast is attached which was when performed on Mac OS. Thank you!
,
Nov 22 2016
Event dispatching is working fine in non-mash mode (without --mash flag). All these changes are not being used in branch 56.
,
Nov 22 2016
Great , thanks for the update. Please request a merge to M56 branch when needed.
,
Nov 22 2016
-label M-56 as it's not going to be on M56.
,
Dec 9 2016
,
Dec 9 2016
,
Jan 30 2017
,
Feb 26 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by bugdroid1@chromium.org
, Oct 11 2016