[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-28 Thread Emir SARI via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

--- Comment #8 from Emir SARI  ---
Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-28 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||5.2
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/0487f4
   ||7b6da4b2cee47a13983f375eda7
   ||f205501
 Status|REPORTED|RESOLVED

--- Comment #7 from Thomas Baumgart  ---
Git commit 0487f47b6da4b2cee47a13983f375eda7f205501 by Thomas Baumgart.
Committed on 28/05/2024 at 15:48.
Pushed by tbaumgart into branch 'master'.

Extract monetary formatting rules from QLocale

Extract the information howto format a monetary value from QLocale
instead of using std::localeconv which provides false information in
some cases.
FIXED-IN: 5.2

M  +1-39   kmymoney/main.cpp
M  +0-21   kmymoney/misc/platformtools.h
M  +0-38   kmymoney/misc/platformtools_gnu.cpp
M  +1-49   kmymoney/misc/platformtools_nognu.cpp
M  +53   -0kmymoney/mymoney/mymoneymoney.cpp
M  +2-0kmymoney/mymoney/mymoneymoney.h
M  +4-3kmymoney/widgets/amountvalidator.cpp
M  +1-1kmymoney/widgets/tests/CMakeLists.txt

https://invent.kde.org/office/kmymoney/-/commit/0487f47b6da4b2cee47a13983f375eda7f205501

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-27 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

--- Comment #6 from Thomas Baumgart  ---
I can confirm that this problem is introduced by KMyMoney (not Alkimia). Over
the last couple of days, I analyzed it a bit and found out, that
std::localeconv() apparently provides false information about the location of
the currency symbol in the member p_cs_precedes when the selected locale is
tr_TR.UTF-8 (it works correctly for others where the currency sign precedes the
amount).  KMyMoney uses that information provided by std::localeenv() to format
the monetary values and that is why the display differs and is incorrect.

The display in the KCM module is based on QLocale::toCurrencyString() which
works on Qt's own locale information.

More to come.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-26 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

Jack  changed:

   What|Removed |Added

 CC|ostroffjh@users.sourceforge |
   |.net|

--- Comment #5 from Jack  ---
That is quite possible.  I don't know enough about how exactly KMyMoney uses
Alkimia, so I'm personally just not sure.  Hopefully someone who does know will
post a more definitive response.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-26 Thread Emir SARI via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

Emir SARI  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-26 Thread Emir SARI via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

--- Comment #4 from Emir SARI  ---
Created attachment 169863
  --> https://bugs.kde.org/attachment.cgi?id=169863&action=edit
screenshot

I can confirm that Calligra Sheets works as expected. Does this make the
problem stem from Alkimia by any chance?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-22 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

--- Comment #3 from Jack  ---
I wish I could think of another KDE program which displays currency.  That
would help decide if the problem is specifically with KMyMoney or with one of
the underlying KDE (or even Qt) libraries.  At the moment, I don't think the
exact version matters, but normally, a version compiled from master branch
shows something like kmymoney 5.1.80-8cdd4536e where the last part is the most
recent commit.
While I continue my research, can you ask on a Neon forum or list whether
anyone else has the same problem?  I don't know if there are any Turkish
specific lists where you might also ask, in case a similar problem has been
seen before (not necessarily in KMyMoney) and if so, what the cause was.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-22 Thread Emir SARI via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

--- Comment #2 from Emir SARI  ---
Sorry for the missing information. It's 5.1.80, and all the locale settings are
tr_TR.UTF-8. The system settings locale section displays the currency sign
correctly. LibreOffice also displays the sign correctly, unable to install
Calligra due to package errors at the moment.

I can't say for previous versions, I am the Turkish translator, and was just
checking out the strings. I only have KDE neon Unstable as my KDE system.

I tried to compile the latest master, but I was not successful due to
libalkimia version errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 487317] Inaccurate TL sign (₺) display

2024-05-21 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=487317

Jack  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Jack  ---
What version, exactly?  Either do "kmymoney --version" at command line, or
Help/About KMyMoney menu item.
Did it work previously?  Can you say with which version?
What locale do you have set?
Does it work correctly in other applications?  For example Libreoffice and
Calligra.  That might show if it is a general problem on your installation, KDE
specific, or just KMyMoney.

-- 
You are receiving this mail because:
You are the assignee for the bug.