Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Inbox
Inbox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,131
    • Issues 1,131
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Inkscape
  • InboxInbox
  • Issues
  • #156

Closed (moved)
Open
Opened Feb 22, 2019 by Maren Hachmann@MoiniReporter

Saving as default template does not work for languages other than English

Steps to reproduce

  • open Inkscape
  • switch to another language (sorry) in Edit > Preferences > Interface: Language, close, reopen.
  • modify current file, e.g. add a big red circle
  • File > Save as template (right above 'import')
  • enter a name
  • check the 'save as default' checkbox (the only checkbox in that dialog)
  • click on save
  • close dialog
  • close Inkscape
  • reopen Inkscape

What happened?

  • no red circle

What should have happened?

  • red circle on canvas from new default file

Cause

  • the template file is not saved with the correct extension. It is saved as 'default.svg' in the /templates directory, but depending on the language, a language identifier needs to be appended for the program to actually load the file. None is needed for English, that's why it works in English.

Note: the naming scheme for those template files was changed recently (update: and changed back again)! When fixing, make sure to use the correct functionality, maybe by importing the function that does it. Who knows if the scheme will change again... Should be somewhere close to what was changed in: inkscape!524 (ddeb8b51) )

Inkscape Version and Operating System:

  • Inkscape Version: 1.0alpha (3be606331a, 2019-02-20)
  • Operating System: Linux Mint
  • Operating System version: 19.1
  • Language: German
Edited Feb 22, 2019 by Maren Hachmann
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: inkscape/inbox#156