New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 805719 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 731255



Sign in to add a comment

mus: Software and hardware cursor overlap in unified mode.

Project Member Reported by msw@chromium.org, Jan 24 2018

Issue description

mus: Software and hardware cursor overlap in unified mode.

(1) Run ToT#530902 chrome os on linux desktop with --mus --ash-host-window-bounds=400x400,450+0-800x800*2 --ash-enable-unified-desktop 
(2) Move the mouse around [quickly], while hovering or while dragging a tab/window.
Expected: A single cursor is shown
Actual: Two overlapping cursors are shown

Moving between the two displays, sometimes the cursor scaling looks wrong:
ie. the 'leading' (hardware?) cursor is large/doubled on the 400x400 window.
The fix is to probably ensure we are disabling the hardware cursor and only using the software cursor in unified mode.
This defect was split out from  Issue 804460 .
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/79121dad5b628d8cdb3856dcda87117823c3d3f7

commit 79121dad5b628d8cdb3856dcda87117823c3d3f7
Author: Elliot Glaysher <erg@chromium.org>
Date: Fri Jan 26 18:26:07 2018

[ash] Use cursor compositing when we are in unified mode.

This resolves the problem where the hardware cursor is shown in one
window when unified mode is turned on. We might not have an active pref
service yet, so move the checks that don't depend on preferences before
checking the pref service.

Bug:  805719 
Change-Id: I92c1ea1a47a0cd63f695fc792e1fe025ee715962
Reviewed-on: https://chromium-review.googlesource.com/887288
Commit-Queue: Elliot Glaysher <erg@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532025}
[modify] https://crrev.com/79121dad5b628d8cdb3856dcda87117823c3d3f7/ash/display/cursor_window_controller.cc

Comment 2 by e...@chromium.org, Jan 26 2018

Status: Fixed (was: Assigned)
Components: -Internals>MUS Internals>Services>WindowService
Components: -MUS

Sign in to add a comment