Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GIMP GIMP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,776
    • Issues 3,776
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 77
    • Merge requests 77
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GIMPGIMP
  • Merge requests
  • !823

Draft: Link layer

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Jehan requested to merge wip/Jehan/link-layers-multi into master Jan 24, 2023
  • Overview 0
  • Commits 8
  • Pipelines 2
  • Changes 34

Only pushing this here so that it's public somewhere (and preventing the bus factor bug). It's still very much work-in-progress and in demo state only (current code is what we see in this video demo: https://www.youtube.com/watch?v=N5oyqbD7zyQ).

Right now, it only allows to:

  • load images as link layers;
  • links are stored/loaded in XCF files;
  • see the changes in linked files and auto-update the render;
  • when a link layer is changed, it is demoted to raster layer, but can always be re-promoted to link layer (losing destructive changes added so far);
  • when a layer is scaled with the "Scale Layer" dialog, the layer is re-rendered to be always sharp (this seems to be my last "WIP" commit, so even this is only as good as demo code is).

What needs to happen:

  • Finish the "Scale Layer" commit currently titled "WIP";
  • Make the Scale Tool also scale link layers non-destructively;
  • Make the Rotation Tool also rotate link layers non-destructively;
  • Better GUI;
  • Handle the absolute/relative path problematics (probably allowing to choose how to store links, though defaulting to relative path?).

I have rebased but am not planning to finish this or even read the code before GIMP 3.0.0. Hopefully we can make GIMP 3.0.2 to be about having new types of non-destructive layers, with link layers and vector layers.

See also #453.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/Jehan/link-layers-multi