Repository navigation
Closed
Labels
difficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingepickind/bugSomething isn't working
Description
This issue is a meta-issue for tracking breaking changes that need to be made as a batch to avoid making too many breaking changes for consumers of Uno.
This issue does not list the larger changes needed to be made to align for the removal of IFrameworkElement.
- Create a tool to determine all other API deviations
Source breaking
- DataContextChanged signature FrameworkElement.DataContextChanged has different signature from UWP #2870
- other events missing/incorrect signatures (see https://github.com/unoplatform/private/issues/219)
- Color default constructor should allow writing
Color a;and notColor a = new Color() - FrameworkElement.Loading [WASM] FrameworkElement.Loading has wrong type #5624
- UWPSyncGenerator adds property setters incorrectly #6980
-
PopupandPrimitives.Popupmixup (Popup is in wrong namespace, has wrong inheritance #134) -
FlyoutandFlyoutBaseevents Wrong signature for FlyoutBase events #2434 - Missing
[Flags]attribute on enums -
FrameworkElement.GetBindingExpressionandFrameworkElement.SetBinding - public string ToString(string format, IFormatProvider provider) in
Colorclass - the second parameter should be called "formatProvider" according to WinUI and it should be implemented explicitly (it is not public in UWP/WinUI) Windows.UI.Color ToString does not behave the same as UWP #5189 -
RadialGradientBrushshould derive fromXamlCompositionBrushBaseand it'sGradientStopsproperty should be read-only - Move ElevatedView to the toolkit
- ComboBox inheritance ComboBox has wrong inheritance hierarchy #135
Binary breaking
- ToggleButton OnIsCheckedChanged
-
CoreDispatcher.Mainshould be internal CoreDispatcher.Main should be internal #4075 -
Control.IsTabStopPropertyandControl.FocusStatePropertyshould be properties, not fields - GeoLocator APIs signatures don't return
AsyncAction. -
ContentPresenter.CornerRadiusPropertyis a field - StackLayout.SpacingProperty is a field
- StackLayout.DisableVirtualizationProperty is a field
- ComboBox invalid hierarchy (ComboBox has wrong inheritance hierarchy #135)
-
FrameworkElement.Nameproperty is at the right level, must return""as the default value - WebView async Support for WebView.InvokeScriptAsync #2967 (comment)
- Search for classes which implement
IHandleableRoutedEventArgsandIChangingFocusEventArgsand remove the explicit implementations of their properties (they can be just public, but it was a breaking change because the generated IL is different) -
IAnimatedVisualSourceinterface is significantly different from theMicrosoft.UI.Xaml.Controlsversion - Remove
BackButton.iOS.cs - Make Control.FocusMixins.cs UWP-only by wrapping it in
#if !HAS_UNO_WINUI
Done
- [Android] Remove delegate-less
NativeApplicationconstructor - Breaking change in Launcher.LaunchUri #2239
-
UserControl.Content:public new UIView Content - OnLoaded/OnUnloaded OnLoaded and OnUnloaded are protected (breaking change) #2897 (comment) (PR fix: Make FrameworkElement.OnLoaded/OnUnloaded private #3423)
- UserControl is skipped UserControl code-behind constructor is not called #61, PR UserControl fixes #3279
- UIElement should not INotifyPropertyChanged: [iOS][Android] UIElement implements INotifyPropertyChanged #1551
- ImageSource with stream [android]ImageSource does not support direct Stream assignment #3307
- Some DPs are fields Dependency Properties are declared as fields #2953
Metadata
Metadata
Assignees
Labels
difficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingepickind/bugSomething isn't working
Activity
Restore original signature for Launcher.LaunchUriAsync
MartinZikmund commentedon Feb 5, 2020
Many
Geolocatormethods currently useTaskas return type instead ofIAsyncOperation(see for exampleTask<Geoposition> GetGeopositionAsync()vsIAsyncOperation<Geoposition> GetGeopositionAsync()Youssef1313 commentedon Sep 21, 2021
@jeromelaban @MartinZikmund Any more info on that? Both forms works on UWP and in Uno.
jeromelaban commentedon Sep 21, 2021
It's a change that was needed somewhere in WCT, where the
Color a;syntax was not working. It could be that we've changed something since this issue was logged.Youssef1313 commentedon Sep 27, 2021
Also Control.FocusStateProperty, Control.IsTabStopProperty, StackLayout.SpacingProperty, StackLayout.DisableVirtualizationProperty