Skip to content

WinUI Port Sync: track PipsPager #26510

Closed

Description

@MartinZikmund

What would you like to be added? 💡

Track PipsPager in the weekly WinUI Port Sync (build/winui-sync/areas.json), onboarded with the catch-up flow: the port is reviewed line by line against the latest stable WinUI release, its Uno workarounds are audited, and the area is recorded at that release.

Why is this needed? 🤔

Nothing keeps the port in step with newer WinUI releases. The code headers name WinUI 1.4.2, so the port is behind 2.6.5.

The review against 2.6.5 also found two behavior bugs:

  • Setting WrapMode after load has no effect. WrapModeProperty is registered without a change callback, so the navigation buttons (for example Previous on the first page with PreviousButtonVisibility="Visible") and the inner layout's virtualization never update.
  • Lowering NumberOfPages from 5 to 3 leaves TemplateSettings.PipsPagerItems as [1, 2, 5]. UpdatePipsItems calls Remove(Count - 1), which removes by value, where upstream removes from the end.

For which platforms 📱💻🖥️

Build tasks

Anything else we need to know? 💬

The theme XAML is a verbatim copy of upstream, so it is mapped as mirrors (#26481, #26484).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions