-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Windows 11 Themes: Update the behaviours of various controls to be more modern/inline with WinUI #9203
Comments
Pointer still has a lot of problems, such as #8517 and so on. But the core problem is that WPF's touch and mouse are separate from multiple different events. And at the bottom of Windows 10 or Windows 11 WM_Pointer and WISP(RealTimeStylus) are the same set of things. |
To add to my point about WISP, #8435 would need to be fixed if pointer events were made the default, otherwise all WPF apps would crash on launch on Surface Pro 9s. |
@aquinn39 I do not know if it's Surface's problem or Wpf's problem. Do you think WPF should be compatible with Surface Pro behavior? |
@lindexi Yeah I'm not sure, I'm just documenting it here. To me it seems like a Surface Pro 9 issue since I don't see why the minimum value should be greater than the maximum value. Still though, maybe WPF should resort to disabling its touch support or something instead of bringing down the whole application in this scenario? |
Please do not enable UseAdornerForTextboxSelectionRendering by default until the bugs with that impl are addressed. It is buggy and causes crashes. These are non-catchable, fatal runtime exceptions due to a bug in MeasureOverride not accounting for all offsets and a bad binary search in TextBoxView.GetLineIndexFromOffset. #842 |
Thanks @jschroedl for pointer that out, I didn't realise it was buggy. Might have to stop using it myself if that is the case. It's a shame that it's been around for years now and it's still buggy. |
It's great that the WPF visual styles are finally being updated for Windows 11, however, looking at the sample app, it seems all these changes are purely visual - WPF still has many behaviours that reflect the behaviours of the GDI Common Controls from 2006 - 2012 era. Part of modernising the UI is not just giving it a fresh coat of paint to hide all the old things, but to update everything - both visuals and behaviour - to offer a better user experience. Specifically, these are the things I've noticed so far:
I think updating many of these things is important, otherwise WPF looks nice on the outside, but when you go to use a WPF app, it still behaves as if it's running on Windows Vista or 7 in many ways.
The text was updated successfully, but these errors were encountered: