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

            Bug ID: 424697
           Summary: Snapshots: crash when switching to snapshot with
                    assistant, when there are no assistants currently
           Product: krita
           Version: 4.3.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tool/Assistants
          Assignee: krita-bugs-n...@kde.org
          Reporter: nmaghfurus...@gmail.com
  Target Milestone: ---

SUMMARY
When there are no assistants present on the document, Krita will crash when the
user attempts to switch to a previous snapshot of the document that has
assistants.

Besides this hiccup, snapshots do otherwise work correctly with assistants, so
as a workaround, the user needs to have at least one assistant present on the
canvas before attempting to revert to a snapshot that has assistants to achieve
the expected result.

STEPS TO REPRODUCE
1. Create new document
2. Add Vanishing Point assistant
3. Create new snapshot in Snapshot Docker
4. Delete Vanishing Point assistant
5. Switch to snapshot in Snapshot Docker

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Revert document state to snapshot with Vanishing Point present on the canvas

Krita
  Version: 4.3.0

Qt
  Version (compiled): 5.12.8
  Version (loaded): 5.12.8

OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.6.0-2-amd64
  Pretty Productname: Debian GNU/Linux bullseye/sid
  Product Type: debian
  Product Version: unknown


OpenGL Info

  Vendor:  "Intel Open Source Technology Center" 
  Renderer:  "Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)" 
  Version:  "3.0 Mesa 20.1.1" 
  Shading language:  "1.30" 
  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>(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::NoProfile) 
     Version: 3.0
     Supports deprecated functions true 
     is OpenGL ES: false 

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

Hardware Information
 Memory: 7 Gb
 Cores: 8
 Swap: /tmp

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

Reply via email to