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

            Bug ID: 414668
           Summary: Crash with onion skins when using opacity keyframe on
                    a layer with non-animated content
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: ahab.greybe...@hotmail.co.uk
  Target Milestone: ---

Created attachment 124189
  --> https://bugs.kde.org/attachment.cgi?id=124189&action=edit
Example .kra file to induce the crash

SUMMARY
This happens with the latest 4.3.0 prealpha Windows build g5924da4972 and also
the 4.2.8 Linux appimage.

STEPS TO REPRODUCE
1. Put opacity keyframes on a layer which is not itself animated. This may be
done to give some kind of fade in/out effect for the layer content.
2. Click on the onion skin icon for that layer in the Timeline docker.

A .kra file is attached that illustrates this.

OBSERVED RESULT
Crash

I attach the Windows crash log.

EXPECTED RESULT
Not crash

I know that there's no point in trying to show onion skins for this situation
but if it can be done them somebody will try to do it (like I did).
A workaround is to make one animated frame by using Create Duplicate Frame on
frame-0 of the Timeline so it fills up with held frames of the layer content.
However, this can't be done if an opacity keyframe has been placed on frame-0.

SOFTWARE/OS VERSIONS

Krita

 Version: 4.2.8
 Languages: en_GB, en
 Hidpi: true

Qt

  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-6-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10

OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 418.74" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 2.0, options
QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1,
greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize
-1, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval
1, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::NoProfile) 
  Current format:    QSurfaceFormat(version 4.6, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0,
stencilBufferSize 0, samples -1, swapBehavior
QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace
QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: none
  Memory: 16039 Mb
  Number of Cores: 8
  Swap Location: /tmp

Current Settings

        Current Swap Location: /tmp
        Undo Enabled: 1
        Undo Stack Limit: 18
        Use OpenGL: 0
        Use OpenGL Texture Buffer: 1
        Use AMD Vectorization Workaround: 0
        Canvas State: OPENGL_SUCCESS
        Autosave Interval: 360
        Use Backup Files: 1
        Number of Backups Kept: 1
        Backup File Suffix: ~
        Backup Location: Same Folder as the File
        Use Win8 Pointer Input: 0
        Use RightMiddleTabletButton Workaround: 0
        Levels of Detail Enabled: 0
        Use Zip64: 0


ADDITIONAL INFORMATION

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

Reply via email to