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

            Bug ID: 420014
           Summary: [Docker][Histogram] Frozen histogram preview on flat
                    pictures
           Product: krita
           Version: 4.2.9
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Dockers
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@davidrevoy.com
  Target Milestone: ---

Hi,

This bug prevents the usage of the Histogram Docker after opening flat pictures
document like PNG, TIFF or JPG. The graph preview will be frozen as if it
couldn't refresh anymore. However, after opening a KRA multilayered document,
the preview will work fine and refresh after any change.

To reproduce:
=============
1. Open a JPG, PNG or TIFF document in Krita (eg. save
https://www.peppercarrot.com/0_sources/0ther/artworks/hi-res/2017-06-23_portrait-of-Pepper_by-David-Revoy.jpg
on disk, then open it).
2. Display the Histogram docker on your interface: Settings > Docker >
Histogram
3. The Histogram appears with a correct representation of your picture.
4. Duplicate the layer (Layer > New > Duplicate Layer or Mask; or using the
second icon button on bottom of layer stack or the shortcut Ctrl+J)
5. On the duplicate layer, call any filter that change a lot the color: Eg.
Color Adjustement Curves (Filter > Adjust > Color Adjustement Curves or Ctrl+M)
then on the RGB curve —the default curve— darken a lot the picture by dragging
the curve down then press OK.

Result:
=======
The histogram graph is frozen and doesn't update. It still shows the histogram
as it was for the first layer and it will keep this appearance during all the
session after that. You can continue to duplicate, paint or try any filter: the
histogram is not functional anymore for this type of document.

Exceptions:
===========
- If you keep doing transformation on the single layer without duplicating it;
the histogram might continue to give feedback. 
- If you open a multi layered Krita file KRA, the problem doesn't happen at
all. 
- If you save a JPG flat document as a single layer Krita file KRA, close it
and re-open it you'll also get the problem. 
- If you save a JPG flat document as a multilayered Krita file KRA document
(adding a duplicate layer, or a new paint layer) the problem doesn't happen at
all after closing and reopening the file.

Tested:
=======
- This is at first glance not related to the profile of the picture (I tested
pictures with different profile) or the color space (I tested a CMYK tiff).
- I could reproduce on both 4.2.6appimage and 4.2.9appimage on Linux, Kubuntu
19.10.

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

Reply via email to