NamedView.new_page broken in 1.3-dev

Summary:

inkex's NamedView.new_page works as expected in Inkscape 1.2.2 but seems to have no effect in 1.3-dev.

Steps to reproduce:

  1. Unzip the extension provided under "Sample attachments" in your extensions directory.
  2. Launch Inkscape 1.2.2.
  3. Execute ExtensionsRenderNew Page Bug.
  4. You should now have two pages, named respectively "My first page" and "My second page", and a black circle halfway overlapping the second page.
  5. Exit Inkscape.
  6. Launch Inkscape 1.3-dev.
  7. Execute ExtensionsRenderNew Page Bug.
  8. Although the result should be the same as in step 4, I see only the black circle and no named pages.

What happened?

Inkscape 1.3-dev result:

new_page_1.3-dev

What should have happened?

Inkscape 1.2.2 result:

new_page_1.2.2

Sample attachments

Tiny extension that highlights the issue: new_page_bug.zip

Version info

Inkscape 1.3-dev (c5490bb, 2023-02-09)

    GLib version:     2.64.6
    GTK version:      3.24.20
    glibmm version:   2.64.2
    gtkmm version:    3.24.2
    libxml2 version:  2.9.10
    libxslt version:  1.1.34
    Cairo version:    1.17.7
    Pango version:    1.44.7
    HarfBuzz version: 2.6.4

    OS version:       Ubuntu 22.10