Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1,669
    • Issues 1,669
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 161
    • Merge requests 161
  • 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
  • InkscapeInkscape
  • inkscapeinkscape
  • Merge requests
  • !3469

Remove hexadecimal color names from palette files

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Green Lightning requested to merge GreenLightning/inkscape:master into master Aug 27, 2021
  • Overview 10
  • Commits 1
  • Pipelines 2
  • Changes 15

There is some fallback code in _loadPaletteFile that formats a hexadecimal representation from the color value if the name is empty, therefore the application behavior is not changed. However, this avoids looking up translations for these names, which improves startup time by about 300 ms on my Windows machine. Colors with regular names (like 'blue') are not affected by this change and still properly translated.

More info here: https://greenlightning.eu/programming/improving-inkscape-startup-time/

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master