New issue
Advanced search Search tips

Issue 671436 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

OSX: cursor error when starting window capture on a external monitor

Project Member Reported by braveyao@chromium.org, Dec 6 2016

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)

What steps will reproduce the problem?
(1) connect an external monitor to a MBP (mine is OSX 10.12 + Retina)
(2) Open a chrome tab on the external monitor
(3) start window capture to that tab with window-picker also on the external monitor

What is the expected result?
Window capture starts normally with cursor on it

What happens instead?
There is no cursor until you move the cursor to the primary monitor first and then move back to that tab. Then cursor starts to render, but there is only arrow shape for all the cases.

Please use labels and text to provide additional information.


For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.

 
Labels: -Pri-3 Pri-2
The reason is that given a MBP(10.12 + Retina) conneted with a non-Retina external monitor, when the cursor is on the external monitor, OSX will still report a Retina cursor image (2X in physical coordinates) with size of 1X cursor (in window coordinates). Then we think it's wrong and drop the result.
Before OSX10.12, we always get 1X cursor image and size no matter it's on Retina or non-Retina screen. We did a fix in  issue632995  to enlarge it for Retina. 

To handle the above situations generally, we should do scaling according to the current scale factor, 2X image and size for Retina screen, 1X image and size for non-Retina screen, for all the OSX versions. 
The fix has landed in https://codereview.webrtc.org/2908853002/. 
Waiting for rolling into chromium
Status: Fixed (was: Assigned)
Verified with Chromium 61.3119
Labels: M-61

Sign in to add a comment