Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

Avalonia 12.0 cleanup list

Open kekekeks opened this issue 1 year ago • 5 comments

Tracking issue for API changes in the distant future, can be safely ignored until mid-2024

  • Mark IGeometryContext as [NotClientImplementable], make sure it's used everywhere instead of StreamGeometryContext (for V11 we'll probably need IGeometryContextEx for new members)
  • extend ILockedFramebuffer with alpha format
  • Make TextProperties.LineSpacing public abstract https://github.com/AvaloniaUI/Avalonia/pull/13243
  • https://github.com/AvaloniaUI/Avalonia/issues/14369
  • https://github.com/AvaloniaUI/Avalonia/issues/11286

kekekeks avatar Jul 21 '23 09:07 kekekeks

  • Change Inline.TextDecorations from a StyledProperty to an AttachedProperty

MrJul avatar Aug 23 '23 12:08 MrJul

This is a possibility

  • https://github.com/AvaloniaUI/Avalonia/discussions/13237

cc @workgroupengineering

robloo avatar Oct 14 '23 16:10 robloo

Shape.StrokeDashArray should be of IList type, instead of AvaloniaList. This way we could reduce compositor subscriptions count by checking if stroke dash array implements INotifyCollectionChanged or not.

Right now, having AvaloniaList, code like `StrokeDashArray="10 5" will always require us to subscribe to the list changes.

maxkatz6 avatar Dec 21 '23 00:12 maxkatz6

Make DevToolsOptions a record and change the property setter in init.

workgroupengineering avatar Dec 21 '23 11:12 workgroupengineering

Ideally, this https://github.com/AvaloniaUI/Avalonia/issues/4443 should be revisited as well. Even better if ContextMenu was removed from the main assembly.

maxkatz6 avatar May 12 '24 10:05 maxkatz6

protected virtual string? GetHelpTextCore(); should be protected abstract string? GetHelpTextCore();

See: https://github.com/AvaloniaUI/Avalonia/pull/17030#discussion_r1763462589

robloo avatar Sep 18 '24 20:09 robloo