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

            Bug ID: 442853
           Summary: Seexpr widgets no longer respect the range (regression
                    in 4.4.3)
           Product: krita
           Version: 4.4.3
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Usability
          Assignee: krita-bugs-n...@kde.org
          Reporter: tamtamy.tym...@gmail.com
  Target Milestone: ---

SUMMARY
In Seexpr in the comment you can write a range for the value if you want the
user to have an easy time choosing a value from that range.
However in 4.4.3 and later, this is no longer possible and all values are
perceived to be in range 0-1, which is really troublesome for setting bigger
values (the user needs to enter it directly instead of using the slider).

SCRIPT:
$xDiff = 100; # 0, 500
$color = [0, 0, 0];
$color


STEPS TO REPRODUCE
1. Open Krita 4.4.1 and Krita 4.4.3.
2. Paste this script to the Seexpr dialog into the script area.
3. Look at the slider widget (labeled "xDiff") and move the value indicator
around.

OBSERVED RESULT
In Krita 4.4.3, there is a slider with the value indicator at the very end of
the slider and if you move it, you will only get values between 0 and 1.

EXPECTED RESULT
Like in Krita 4.4.1: the is a slider with the value indicator at 1/5 of the
slider, and if you move it, you will get values between 0 and 500.

NOTE:
This bug is still relevant in current master (a3676628e3) with the current
master of kseexpr (bff3da7, 4.0.3.0).

Also I'm not sure, maybe it should be reported to KSeExpr instead?

SOFTWARE/OS VERSIONS
Krita

 Version: 4.4.3
 Languages: en_US, en, en_US, en, en_US, en, pl_PL, pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.12.9
  Version (loaded): 5.12.9

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

Reply via email to