-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#49784Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopa: mouseIssues related to using a mouse or mouse supportIssues related to using a mouse or mouse supportcustomer: chilliengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 2.10Found to occur in 2.10Found to occur in 2.10found in release: 2.13Found to occur in 2.13Found to occur in 2.13has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-windowsOwned by the Windows platform teamOwned by the Windows platform team
Description
The mouse-region widget does not correctly update the cursor, until the mouse is moved.
Here's a video showing the issue:
https://user-images.githubusercontent.com/736973/108889501-b1fdab00-75c9-11eb-9116-42023328fd29.mp4
The basic code example is that there is some overlay layer, inside a stack, that turns on to enable this cursor:
if (_isSpaceBarDown) ...{
MouseRegion(
cursor: SystemMouseCursors.move,
child: Container(color: Colors.transparent),
)
}
In this case _isSpaceBarDown is obtained using RawKeyboard.instance.addListener and a setState is called when it changes.
Gieted, hanguk0726, mjtalbot, Wishmater, compix and 4 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktopa: mouseIssues related to using a mouse or mouse supportIssues related to using a mouse or mouse supportcustomer: chilliengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 2.10Found to occur in 2.10Found to occur in 2.10found in release: 2.13Found to occur in 2.13Found to occur in 2.13has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-windowsOwned by the Windows platform teamOwned by the Windows platform team