pagecolor attribute is interpreted differently in 1.2 (vs older versions) creating a minor discrepancy

Summary:

In 1.2-dev pagecolor affects the color of the page(s) of a document; In older versions, changing the attribute changed the color of the entire canvas (beyond the boundary). Opening a file with non-white page color gives (visually) different results in 1.2 and older versions.

Steps to reproduce:

  • open Inkscape 1.1.1
  • Change page color
  • save document as an Inkscape svg
  • Reopen file in 1.2-dev

What happened?

  • Page color is applied only within the page

What should have happened?

  • Perhaps inkscape:deskcolor should have been set to page color? (I am not really sure here 😅)

Sample attachments:

Sample SVG drawing.svg

Version info

Inkscape 1.2-dev (5fd7b64, 2021-12-23)

    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.16.0
    Pango version:    1.44.7
    HarfBuzz version: 2.6.4

    OS version:       Ubuntu 20.04.3 LTS
Edited by KrIr17