https://bugs.kde.org/show_bug.cgi?id=423088

            Bug ID: 423088
           Summary: Exporting to ora format produces blank file
           Product: krita
           Version: 4.3.0-beta2
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: File formats
          Assignee: krita-bugs-n...@kde.org
          Reporter: notfood....@gmail.com
  Target Milestone: ---

Created attachment 129439
  --> https://bugs.kde.org/attachment.cgi?id=129439&action=edit
Input file, merely export to ORA to reproduce the issue.

### Issue
- Moving a selected grouped area breaks ORA exporting.

### Enviroment
- OS: Linux
- Arch: x86_64
- Krita Versions: 4.2.9-6 (native), 4.3.0-beta2 (appimage)

### Steps to reproduce
- Group several layers
- Select rectangular area
- Select the group layer
- Use transform tool to move selection (all grouped layers) somewhere else
- Export as ORA

### Details
- Saving it as KRA format produces the right file, even after re-loading this
file, exporting it to ORA will produce a wrong blank file.
- It's always reproducible. You need to restart Krita after saving.
- If you inspect the ORA file with a zip archiver, the layers are all blank,
the stack.xml offsets are messed up.
- I suspect the ORA format exporter is trying to use the image offset extension
wrong as the resulting file has strange x and y offsets together with blank
pngs.

### Workaround
- Inserting a new layer then merging down the offending layer, effectively
re-creating it, allows the exporter to produce the right ORA file.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to