linuxmint / mint-y-icons

The Mint-Y icon theme
123 stars 56 forks source link

Inkspace warnings: Ignoring unrecognized CSS property: block-progression #319

Closed SebastJava closed 1 year ago

SebastJava commented 1 year ago

Using Inkscape version 1.2 from PPA. EDIT: same issue on LM 21 without PPA, i.e. Inkscape 1.1.2

When running ./render_places.py All (in src directory) i get this error message repeated many times: ** (org.inkscape.Inkscape:109577): WARNING **: 18:26:09.044: Ignoring unrecognized CSS property: block-progression

To Reproduce

  1. Get a recent Inkscape application: version 1.x
  2. cd ~/mint-y-icons/src # go there
  3. ./render_places.py All # run this
  4. See warning messages

Expected behavior A clean and uncluttered terminal.

Additional context Same issue and same fix as in https://github.com/linuxmint/mint-themes/issues/334

SebastJava commented 1 year ago

CHECKED: same issue on LinuxMint 21 without PPA, i.e. Inkscape 1.1.2

SebastJava commented 1 year ago

This is a long story for just a small edit. If you want to read it all, here is my comment from Feb 4 on https://github.com/linuxmint/mint-themes/issues/334

This happens with the new Inkscape 1.1.1. This CSS property is deprecated, and removed from this new Inkscape. I did a quick web search and found this: https://webplatform.github.io/docs/css/properties/block-progression/. So, this property has initial (default) value set to tb, and this is the value specified in the src/Mint-Y/gtk-3.0/assets.svg file. So, I assume this property could just be deleted from the SVG file, and things would remain the same.

This property has been dropped from the current version of CSS Writing Modes specification. You are encouraged to manipulate an element’s writing mode via the writing-mode property instead.

So, it would be more accurate to replace this obsolete property with this new writing-mode. But this new mode still has the same initial value: horizontal-tb. So, I think I just don't care and I will try to simply delete this old property from the SVG file.