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

            Bug ID: 504814
           Summary: Click and drag with text tools returns an empty vector
                    layer if the active color is not dark enough (nightly
                    build e528a61e)
    Classification: Applications
           Product: krita
      Version First nightly build (please specify the git hash!)
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tool/Text
          Assignee: krita-bugs-n...@kde.org
          Reporter: re...@redj.be
  Target Milestone: ---

When using click and drag with the text tool (to set paragraph width), the
vector layers ends up empty if the color is not dark enough. It happens since a
few versions of the nightly builds (maybe since a few weeks). It doesn't happen
when simply clicking on the layer with the text tool.

Steps to reproduce:
1. Open or create a document.
2. Set the active color to a light value.
3. Select the text tool
4. Click and drag to create a paragraph with specific width.

The vector layer created by the text tool will be empty, while in fact it
should contain the paragraph (at the right width) with "Placeholder text" as
text content.

And if you create a paragraph with dark text this way (by click and drag), it
will work, but if you want to change the color of the text to a lighter value
afterwards, the program will hang (not necessarily crash).

If I try to create a paragraph with light color, resulting in an empty layer,
but I immediately try to change the color to a darker tone, I get this error
popup:

"Krita has encountered an internal error:

SAFE ASSERT (krita): "!m_sanityIsStarting" in file
C:/builds/graphics/krita/libs/global/kis_signal_compressor.cpp, line 210

Please report a bug to developers!

Press Ignore to try to continue.
Press Abort to see developers information (all unsaved data will be lost)"

For color selection i use the triangle Advanced Color Selector in HSV mode. Any
color picked in the top part of the triangle will be OK If I stick to the
extreme bottom side of the triangle (really on the border, from pure white to
pure saturation), it works too. But all the rest of the color selector surface
will generate the bug.

Krita

 Version: 5.3.0-prealpha (git e528a61)
 Installation type: portable package
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.26100
  Pretty Productname: Windows 10 Version 2009
  Product Type: windows
  Product Version: 10
  Result of IsWindows10OrGreater(): No

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

Reply via email to