Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,525
    • Issues 1,525
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 135
    • Merge requests 135
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • Inkscape
  • inkscapeinkscape
  • Issues
  • #2879
Closed
Open
Created Oct 02, 2021 by Pixievolt No. 1@PixievoltNo1

After undo, arcs/circles written incorrectly as ellipse instead of path

Summary:

I somehow made an arc that Inkscape saved as an <ellipse> with a d attribute that doesn't correctly render in Web browsers, instead of the correct <path>. This bug looks like #2489 (closed), but happened in a file I made entirely with 1.1.1.

Steps to reproduce:

  1. Draw an ellipse
  2. Drag start or end handle to turn into slice
  3. Undo
  4. Drag start or end handle to turn into slice
  5. Save

What happened?

When I saved an Inkscape SVG, it wrote this:

<ellipse style="fill:#55ddff;stroke-width:0.884055;stroke-miterlimit:0" id="path1241" sodipodi:type="arc" sodipodi:cx="8" sodipodi:cy="8.55702" sodipodi:rx="4" sodipodi:ry="8" sodipodi:start="3.14159" sodipodi:end="0" sodipodi:open="true" sodipodi:arc-type="arc" d="m 4,8.55702 a 4,8 0 0 1 2,-6.9282 4,8 0 0 1 4,0 4,8 0 0 1 2,6.9282" inkscape:transform-center-y="-4" inkscape:tile-cx="8" inkscape:tile-cy="7.99997" inkscape:tile-w="8" inkscape:tile-h="8" inkscape:tile-x0="4" inkscape:tile-y0="-3.00407e-05" />

And when I saved it as Plain SVG, it wrote this:

<ellipse style="fill:#55ddff;stroke-width:0.884055;stroke-miterlimit:0" id="path1241" d="m 4,8.55702 a 4,8 0 0 1 2,-6.9282 4,8 0 0 1 4,0 4,8 0 0 1 2,6.9282" />

What should have happened?

It should have written <path> elements.

Version info


Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20)

    GLib version:     2.70.0
    GTK version:      3.24.30
    glibmm version:   2.66.1
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.48.10
    HarfBuzz version: 2.9.1
    Poppler version:  21.08.0

    OS version:       Windows 10 2009

Introduced in 7a6a1baa

Author: Joseph Da Silva <joseph.f.dasilva3@gmail.com>
Date:   Wed Mar 20 21:22:46 2019 +0530

    Fixed: circles and ellipses had wrong element names in XML editor (Issue #116)
Edited May 13, 2022 by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking