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

            Bug ID: 430863
           Summary: 2.24.6: "Infinity" (e.g. as a result of a division by
                    0) is no longer displayed as a symbol, but a (very
                    very) long integer
           Product: skrooge
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: guillaume.deb...@gmail.com
          Reporter: sdkfz...@yahoo.fr
                CC: steph...@mankowski.fr
  Target Milestone: ---

SUMMARY
The result of a division by 0 (which occurs, for instance, in the "full
accounts" widget on the dashboard when one's account year-over-year increase is
computed, but whose balance was 0 one year ago) is no longer depicted by the
symbol "+∞" as it used to be in versions pre-2.24.

A very long integer (seems like the maximum value of a very large "int" type)
is displayed instead.

Apart from being a little "puzzling" at first sight, it causes the widget to
get an excessive width and "warp" the widgets alignment.


STEPS TO REPRODUCE
1. Add a "full accounts" widget on the dashboard;
2. Make sure an account with a null starting balance is displayed;
3. Observe.

OBSERVED RESULT
A very long int in the "%" column.

EXPECTED RESULT
"+∞" in the "%" column.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.4 
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Skrooge version 2.24.6

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

Reply via email to