-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WinUI3 Reunion 0.5] Hover Cursor on GridSplitter Not Displaying & Unable to Set Window Cursor #4834
Comments
@Austin-Lamb and @michael-hawker FYI |
Is this not a dup of #4201? |
Hi @codendone , My team has been updating to each of the releases to test changes in bugs and functionality. This issue is for the most recent release of Reunion 0.5 while the other issue is for Preview 4. However, the bug is the same - we just wanted to supply an updated solution for the bug! Thanks! |
Yeah, this is a dup of #4201, there's been no change to the WinUI API surface or the Toolkit surface in this time. I'll add more info to the Preview 4 bug. |
Using this issue as the main one to track. See #4201 for more discussion on the issue. |
Part of this is due to how I hope to get to it to our 7.1 work, it's the 2nd thing on my list at the moment. I have a draft PR open, but it doesn't have any parts of GridSplitter fixed yet as it's pulling in another helper to use as a base. That work should make it easier for us in WinUI 3 to use the |
For There's still a gap in setting the general cursor which blocks our extension from working (or doing other scenarios that WPF made easy here). Probably should rename this issue title to be more about the 'Unable to Set Window Cursor' or about PointerCursor? Or providing the WPF |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
The new It'll ship as part of our upcoming 8.0 release which will work for both WinUI 2 and 3 based apps. The component is available on our preview feed, we should have a preview on NuGet as well soon. Think we can close this issue out? |
It appears this requested was made to workaround a issue with the community toolkit's GridSplitter control. It also appears that with the 8.0 release of the toolkit, this GridSplitter issue will be resolved. Since the underlying issue will be corrected, we are going to close this issue. If there is further need for the capability to explicitly set the cursor, please file a Feature Proposal request. |
Describe the bug
In UWP, the cursor changes when hovering over a GridSplitter.
In WinUI 3, Reunion 0.5 it doesn't change until you click and drag the GridSplitter.
In attempt to fix this, we would like to set the window cursor programmatically. But, we were unable to do so.
In WinUI 3 Reunion 0.5, there is no way to set the Window Cursor in the code.
For example, we want to change the cursor to a wait cursor while an action is taking place that may take a few moments.
In UWP, this is accomplished with code like this:
In WinUI 3, Reunion 0.5, the PointerCursor property is not available.
Steps to reproduce the bug
Expected behavior
We expect the cursor icon to change when hovering over a GridSplitter. This behavior would be the same behavior as the behavior in UWP. We also expect there to be a way to programmatically set the window cursor as needed in WinUI like we were able to in UWP.
Screenshots
Screenshot#1 - Sample Solution Screenshot
Version Info
Targeting:
Target: Universal Windows
Target version: Windows 10, version 2004 (10.0; Build19041)
Min version: Windows 10, version 1809 (10.0; Build 17763)
NuGet package version:
[Microsoft.ProjectReunion 0.5.0]
[Microsoft.ProjectReunion.WinUI 0.5.0]
Windows app type:
Additional context
The text was updated successfully, but these errors were encountered: