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

            Bug ID: 441945
           Summary: File Layers not working as expected when opened with
                    "folder icon"
           Product: krita
           Version: 5.0.0-beta1
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: gbird...@gmail.com
  Target Milestone: ---

Created attachment 141266
  --> https://bugs.kde.org/attachment.cgi?id=141266&action=edit
test files

SUMMARY

I tried to use File Layers feature but found it not working as expected.
Creation of a file layer either by converting or manual setup works.

If I open sub-file with File Layer folder icon it breaks something and I can't
edit sub-file.

Problem is that file used as a File Layer in the main document are not saved or
can't be edited properly after.

I found that I can't edit sub-file if I don't restart main-file and sub-file.


Things that I found not working are:
1. Adding new layer in sub-file
2. Changing layers properties in the sub-file
3. Saving editet layer data in a sub-file
4. File layer in main-file is not updated


STEPS TO REPRODUCE
1. Create Main Document
2. Create Sub Document that will be used as a File Layer
3. Create some layers in Sub Document
4. Add Sub Document as a File Layer in Main Document
5. Close sub-doc
6. Open sub-doc using "folder icon" in main-doc
7. Try editing layer data or properies in sub-doc
8. Try adding new layer in sub-doc
9. Try saving sub-doc

OBSERVED RESULT

You can't edit layer properties/data or add new layers.
Saving sub-doc is not working.

EXPECTED RESULT


You can edit sub-doc as a normal file and save it.
Main-doc updates File Layer when sub-doc is saved.

Krita

 Version: 5.0.0-beta1
 Languages: en_GB, en, en_US, en, en_GB, en, en_US, en, en_GB, en, en_US, en,
en_GB, en, en_US, en, en_GB, en, en_US, en
 Hidpi: false

Qt

  Version (compiled): 5.12.11
  Version (loaded): 5.12.11

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.19043
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10

OpenGL Info

  Vendor:  "Google Inc." 
  Renderer:  "ANGLE (NVIDIA GeForce GTX 1070 Direct3D11 vs_5_0 ps_5_0)" 
  Version:  "OpenGL ES 3.0 (ANGLE 2.1.0.57ea533f79a7)" 
  Shading language:  "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.57ea533f79a7)" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8,
greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8,
samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0,
colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::NoProfile) 
     Version: 3.0
     Supports deprecated functions false 
     is OpenGL ES: true 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: true 

Hardware Information

  GPU Acceleration: angle
  Memory: 16320 Mb
  Number of Cores: 8
  Swap Location: C:/Users/pigeon/AppData/Local/Temp

Current Settings

  Current Swap Location: C:/Users/pigeon/AppData/Local/Temp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Display Information
Number of screens: 2
        Screen: 0
                Name: \\.\DISPLAY1
                Depth: 32
                Scale: 1
                Resolution in pixels: 1920x1080
                Manufacturer: 
                Model: 
                Refresh Rate: 60
        Screen: 1
                Name: \\.\DISPLAY2
                Depth: 32
                Scale: 1
                Resolution in pixels: 1920x1080
                Manufacturer: 
                Model: 
                Refresh Rate: 60


---------------------
================================================================================
SESSION: 23 Jul 2019 08:52:40 +0200. Executing C:\Program Files\Krita
(x64)\bin\krita.exe

ADDITIONAL INFORMATION

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

Reply via email to