mouse shape changes not announced in windows 10 #5595

Closed
JamaicanUser opened this Issue Dec 7, 2015 · 2 comments

3 participants

@JamaicanUser

Using Windows 10, 64 bit, The report mouse shape changes and enable mouse tracking options checked. NVDA is not announcing the shape change as the mouse pointer is moved. I don't know if this applies to any other variant of Windows, though.

@jcsteh jcsteh added this to the 2016.1 milestone Dec 8, 2015
@jcsteh

Confirmed.

It looks like this broke in two phases:

  1. #3801 (NVDA 2014.2): mouseHandler only reports the shape after it is pumped 10 times to avoid flooding. However, we no longer pump constantly, only on demand. This needs to be changed to a timer instead.
  2. #5302 (NVDA 2015.4): We seem to be missing most cursor shape changes. I'm pretty sure this is because these get blocked by eventHandler.shouldAcceptEvent. The fix is probably to allow events from the desktop window.
@jcsteh jcsteh self-assigned this Dec 9, 2015
@jcsteh jcsteh added a commit that referenced this issue Dec 9, 2015
@jcsteh jcsteh Reporting of mouse shape changes again works as expected.
* Cursor events end up firing on the desktop window, so shouldAcceptEvent had to be taught this.
* The previous code relied on counting core ticks, but now that core ticks are on-demand, this needed to be updated to use a timer.

Fixes #5595.
bc7643a
@nvaccessAuto

Incubated in ae3b586.

@jcsteh jcsteh added a commit that closed this issue Jan 6, 2016
@jcsteh jcsteh Reporting of mouse shape changes again works as expected.
* Cursor events end up firing on the desktop window, so shouldAcceptEvent had to be taught this.
* The previous code relied on counting core ticks, but now that core ticks are on-demand, this needed to be updated to use a timer.

Fixes #5595.
8a15cd1
@jcsteh jcsteh closed this in 8a15cd1 Jan 6, 2016
@nvaccessAuto nvaccessAuto removed the incubating label Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment