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

            Bug ID: 496262
           Summary: Resize canvas dialogue initially set to px and has
                    decimal places
    Classification: Applications
           Product: krita
           Version: 5.2.6
          Platform: Mint (Debian based)
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Usability
          Assignee: krita-bugs-n...@kde.org
          Reporter: p...@paulstenning.com
  Target Milestone: ---

SUMMARY
When initially opening the "Resize Canvas" dialogue if the units are "px"
(because that's what I used previously) the numerical fields still have two
decimal places which is not possible for pixels. If I change the units to "%"
or something else then back to "px" the relevant field has no decimal places as
expected.

STEPS TO REPRODUCE
1. Open an image
2. Open the "Resize Canvas" dialogue, set all the units to "px", change or more
of the numbers and click OK.
3. Open the "Resize Canvas" dialogue again and note that the numerical fields
have two decimal places.
4. Change one of the units to "%" then back to "px" and note that the relevant
numerical field changed to no decimal places.

OBSERVED RESULT
When initially opening the dialogue, if the units are "px", the relevant
numerical field has two decimal places.

EXPECTED RESULT
When initially opening the dialogue, if the units are "px", the relevant
numerical field should have no decimal places.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint Debian Edition 6
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
The "Scale to New Size" works as expected so is a good example of how I'd
expect the "Resize Canvas" dialogue to behave with different initial units.

I am aware that this is a very trivial issue.

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

Reply via email to