<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>426406</bug_id>
          
          <creation_ts>2020-09-11 13:06:41 +0000</creation_ts>
          <short_desc>Minus sign is missing for negative numbers</short_desc>
          <delta_ts>2020-10-19 07:30:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>git (master)</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Thomas Baumgart">tbaumgart</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          <cc>spillaip</cc>
    
    <cc>tony</cc>
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/commit/322d51c2889eba0bbe8c7f362831d6de5e0e2026</cf_commitlink>
          <cf_versionfixedin>5.1.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1956780</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2020-09-11 13:06:41 +0000</bug_when>
    <thetext>SUMMARY
commit 6c283629a introduced retrieval of locale information on Windows but broke  the display of negative amounts on that platform.

STEPS TO REPRODUCE
1. Spot any location where you expect to see a negative number

OBSERVED RESULT
Number is shown without the minus sign

EXPECTED RESULT
Number is shown including the minus sign at the selected position according to your locale


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956781</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2020-09-11 13:11:06 +0000</bug_when>
    <thetext>Git commit 8ae9f44d8ecce5b5af9841e854e5547ea304523f by Thomas Baumgart.
Committed on 11/09/2020 at 13:10.
Pushed by tbaumgart into branch &apos;master&apos;.

Fix retrieval of locale information on MS-Windows

Apparently, the locale information is only filled with a prior call to
setlocale() with some standard values.

M  +12   -2    kmymoney/misc/platformtools_nognu.cpp

https://invent.kde.org/office/kmymoney/commit/8ae9f44d8ecce5b5af9841e854e5547ea304523f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956801</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2020-09-11 15:00:14 +0000</bug_when>
    <thetext>Git commit 322d51c2889eba0bbe8c7f362831d6de5e0e2026 by Thomas Baumgart.
Committed on 11/09/2020 at 14:59.
Pushed by tbaumgart into branch &apos;5.1&apos;.

Fix retrieval of locale information on MS-Windows

Apparently, the locale information is only filled with a prior call to
setlocale() with some standard values.
FIXED-IN: 5.1.1

(cherry picked from commit 8ae9f44d8ecce5b5af9841e854e5547ea304523f)

M  +12   -2    kmymoney/misc/platformtools_nognu.cpp

https://invent.kde.org/office/kmymoney/commit/322d51c2889eba0bbe8c7f362831d6de5e0e2026</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964100</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2020-10-12 15:10:06 +0000</bug_when>
    <thetext>*** Bug 427590 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966319</commentid>
    <comment_count>4</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2020-10-19 07:30:19 +0000</bug_when>
    <thetext>*** Bug 427956 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>