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

            Bug ID: 423353
           Summary: Crash with 4.3.0 appimage when Colour Selector used if
                    a non-existent palette is on the palette docker
           Product: krita
           Version: unspecified
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: ahab.greybe...@hotmail.co.uk
  Target Milestone: ---

SUMMARY
This does not happen with the 4.2.9 appimage (but see Additional Information).
It happens with the 4.3.0 and future appimages.
I haven't tested with Windows packages.
It happens with the Colour Selector tool, not the Ctrl picker.

The situation would probably be rare because it involves a particular
manipulation of the palette docker so that it displays a just deleted palette
or a 'null' palette.
This situation can be created with 4.2.9 but does not lead to a crash with
4.2.9. (but see Additional Information for a 4.2.9 crash.)

When a non-existent or 'null' palette is on the Palette docker, use of the
Colour Selector tool with 'Add to Palette' ticked, even if the selected palette
is an existing and editable palette, results in a crash.
There is no resulting output in a terminal window and the only log entry is
"KRITA DID NOT CLOSE CORRECTLY".

STEPS TO REPRODUCE
First create a situation where there is a non-existent or 'null' palette on the
Palette docker:

1. Create a new palette called New Palette (or whatever).
2. Click the Choose Palette button and type in the search box so that only the
new palette is shown i.e an exclusive search result.
3. Select the new palette and delete it then click on the workspace to remove
the palette docker chooser subwindow.
[NOTE: that the New Palette is still shown on the Palette docker]

See Additional Information for a different/additional crash.

[NOTE: At this stage, Quit then restart will result in a 'null' palette being
displayed in the Palette docker.]

4. With the non-existent New Palette (or the 'null' palette) on the Palette
docker, use the Colour Picker tool to add a colour to an existing editable
palette.
[NOTE: There is a crash]


OBSERVED RESULT
See above and see Additional Information.

In the case of a non-exclusive search result for the palettes, deleting the
current palette will give another palette in the palette docker and so no
further problem.

EXPECTED RESULT
No crash. There should be some palette selected for the palette docker to
display.

SOFTWARE/OS VERSIONS
Krita

 Version: 4.3.0
 Languages: en_GB, en, en, en_GB, en
 Hidpi: false

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: 4.19.0-9-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10
  Desktop: MATE

OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 440.82" 
  Shading language:  "4.60 NVIDIA" 
  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 4.6, 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) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

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


ADDITIONAL INFORMATION
With the non-existent New Palette on the Palette docker, clicking on the
palette to add a colour will crash 4.2.9 and 4.3.0

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

Reply via email to