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

            Bug ID: 414364
           Summary: wrong percent indication in kruler
           Product: kruler
           Version: 19.08.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: soe...@pprojekt.de
          Reporter: kadl...@fzu.cz
  Target Milestone: ---

Created attachment 124045
  --> https://bugs.kde.org/attachment.cgi?id=124045&action=edit
screenshot of kruler

SUMMARY
I am using Kruler 19.08.3 under OpenSuSE Tumbleweed. I noticed that in the
percent mode (Scale | [X] Percentage), the dynamic value indications are not
correct - see attached screenshot. For any position of the cursor, the
indicated integral percent value is as follows: 

For cursor between 0 and ~1.1: 0 is shown.
For cursor between 1.2 and ~2.1: 1 is shown.
For cursor between 2.2 and ~3.1: 2 is shown.
etc. 
This is simplified, to some extent; I don't know the exact way of converting
pixels into percentage. But this rounding is clearly wrong. I would expect one
of the following:

For cursor between 0 and ~0.9: 0 is shown.
For cursor between 1 and ~1.9: 1 is shown.
For cursor between 2 and ~2.9: 2 is shown.
etc.; or, 

For cursor between 0 and ~0.5: 0 is shown.
For cursor between .6 and ~1.5: 1 is shown.
For cursor between 1.6 and ~2.5: 2 is shown.
etc.

Linux: OpenSuSE Tumbleweed

KDE Frameworks 5.64.0
Qt 5.13.1 (built against 5.13.1)
The xcb windowing system
KDE Frameworks Version:

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

Reply via email to