[kmymoney] [Bug 491828] Currency settings show incorrect

2024-08-23 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=491828

--- Comment #19 from Ralf Habacker  ---
Created attachment 172871
  --> https://bugs.kde.org/attachment.cgi?id=172871&action=edit
QLocale testcase source

Since kmymoney uses QLocale for formatting currency amounts, I created a
Qt-only test case to see if the problem exists in the Qt library.

The result is that the tests performed on native Linux, Linux with Wine and
native Windows 10 produce identical results.

$  test-qlocale-tocurrencystring/build-linux/testqlocaletocurrencystring
* Start testing of QLocaleTest *
Config: Using QtTest library 5.15.8, Qt 5.15.8 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 7.5.0), opensuse-leap 15.5
PASS   : QLocaleTest::initTestCase()
PASS   : QLocaleTest::TestToCurrencyString()
PASS   : QLocaleTest::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 1ms
* Finished testing of QLocaleTest *

 $ wine build/testqlocaletocurrencystring.exe 
* Start testing of QLocaleTest *
Config: Using QtTest library 5.15.14, Qt 5.15.14 (i386-little_endian-ilp32
shared (dynamic) release build; by GCC 13.
2.0), windows 10
PASS   : QLocaleTest::initTestCase()
PASS   : QLocaleTest::testToCurrencyString()
PASS   : QLocaleTest::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 52ms
* Finished testing of QLocaleTest *

W:\src\test-qt5\test-qlocale-toCurrencyString\build>
testqlocaletocurrencystring.exe
* Start testing of QLocaleTest *
Config: Using QtTest library 5.15.14, Qt 5.15.14 (i386-little_endian-ilp32
shared (dynamic) release build; by GCC 13.2.0), windows 10
PASS   : QLocaleTest::initTestCase()
PASS   : QLocaleTest::TestToCurrencyString()
PASS   : QLocaleTest::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 4ms
* Finished testing of QLocaleTest *

For the output of the smallest part of virtual currencies, such as
cryptocurrencies, there is a flaw in the method used.

QString QLocale::toCurrencyString(double value, const QString &symbol, int
precision)

If the value for the parameter symbol is NULL, QString() or QString(""), a
currency symbol is always output in the default currency of the relevant locale
(and this is also different, e.g. in the last two cases '€' or 'EUR' is used
for 'de_DE'), which is inappropriate for outputting the smallest part of
virtual currencies such as cryptocurrencies. 

If no output of a currency symbol is desired, a workaround is to use QString("
") as the parameter (see the last 3 tests in the test case).

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

[alkimia] [Bug 492072] New: Price information in exponential form is not supported

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492072

Bug ID: 492072
   Summary: Price information in exponential form is not supported
Classification: Frameworks and Libraries
   Product: alkimia
   Version: master
  Platform: unspecified
OS: All
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: General
  Assignee: kmymoney-devel@kde.org
  Reporter: tbaumg...@kde.org
  Target Milestone: ---

SUMMARY

For some currencies (e.g. Bitcoin) the current rate is returned in an
exponential format (e.g. 5.222e-5) by fx-rate.net

STEPS TO REPRODUCE
1. Start online quotes editor and select the KMyMoney currency entry in the
kmymoney5 profile.
2. Use "EUR BTC" as the entry for two symbols
3. Press the check source button

OBSERVED RESULT

Price is returned as 5.222

EXPECTED RESULT

Price is returned as 0.5222 (only the value is important, not the
representation, so 5.222e-5 is equally OK)

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

[alkimia] [Bug 492072] Price information in exponential form is not supported

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492072

Thomas Baumgart  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
   Version Fixed In||8.2
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/offi
   ||ce/alkimia/-/commit/42b0c54
   ||294ef81095ec3afd226cf66e5e8
   ||4613f1

--- Comment #1 from Thomas Baumgart  ---
Git commit 42b0c54294ef81095ec3afd226cf66e5e84613f1 by Thomas Baumgart.
Committed on 23/08/2024 at 10:33.
Pushed by tbaumgart into branch 'master'.

Support exponential price format

For some (e.g. Bitcoin) currencies, the current rate is returned in an
exponential format (e.g. 5.222e-23). This change provides the support to
extract that price correctly.
FIXED-IN: 8.2

M  +5-0autotests/alkonlinequoteprivatetest.cpp
M  +1-1src/alkonlinequote_p.cpp

https://invent.kde.org/office/alkimia/-/commit/42b0c54294ef81095ec3afd226cf66e5e84613f1

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

[kmymoney] [Bug 491978] Add alkimia version to the component dialog

2024-08-23 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=491978

Ralf Habacker  changed:

   What|Removed |Added

   Version Fixed In||5.2
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/21feba
   ||05c8f783eb070d8136aa30a207c
   ||b1f7372
 Status|ASSIGNED|RESOLVED

--- Comment #2 from Ralf Habacker  ---
Git commit 21feba05c8f783eb070d8136aa30a207cb1f7372 by Ralf Habacker.
Committed on 22/08/2024 at 17:12.
Pushed by habacker into branch 'master'.

Add enabled components to component page of the application info dialog
FIXED-IN:5.2

M  +15   -0config-kmymoney.h.cmake
M  +61   -0kmymoney/kcreditswindow.cpp

https://invent.kde.org/office/kmymoney/-/commit/21feba05c8f783eb070d8136aa30a207cb1f7372

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

[kmymoney] [Bug 492086] New: Invisible conversion rate for Bitcoin in price dialog

2024-08-23 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492086

Bug ID: 492086
   Summary: Invisible conversion rate for Bitcoin in price dialog
Classification: Applications
   Product: kmymoney
   Version: git (master)
  Platform: Other
OS: All
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kmymoney-devel@kde.org
  Reporter: ralf.habac...@freenet.de
  Target Milestone: ---

Created attachment 172881
  --> https://bugs.kde.org/attachment.cgi?id=172881&action=edit
test case

STEPS TO REPRODUCE
1.  start kmymoney from master branch
2.  open appended kmymoney file
3.  Click on menu "Extra" prices
4. Inspect the line containing the price for EUR->BTC

OBSERVED RESULT
There is a conversion rate of 0. shown

EXPECTED RESULT
The conversion rate of 0.18 should be shown.

SOFTWARE/OS VERSIONS
Linux: openSUSE Leap_15.5
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
See the appended screenshots for details

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

[kmymoney] [Bug 492086] Invisible conversion rate for Bitcoin in price dialog

2024-08-23 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492086

--- Comment #1 from Ralf Habacker  ---
Created attachment 172882
  --> https://bugs.kde.org/attachment.cgi?id=172882&action=edit
Screenshot showing editing bitcoin currency

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

[kmymoney] [Bug 492086] Invisible conversion rate for Bitcoin in price dialog

2024-08-23 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492086

--- Comment #2 from Ralf Habacker  ---
Created attachment 172883
  --> https://bugs.kde.org/attachment.cgi?id=172883&action=edit
Screenshot showing after update of conversion rate

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

[kmymoney] [Bug 492086] Invisible conversion rate for Bitcoin in price dialog

2024-08-23 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492086

--- Comment #3 from Ralf Habacker  ---
Created attachment 172884
  --> https://bugs.kde.org/attachment.cgi?id=172884&action=edit
Screenshot showing price editor with zero conversion rate

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

[kmymoney] [Bug 492093] New: Fees ignore decimal precision set at currency level

2024-08-23 Thread bugzilla_noreply--- via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492093

Bug ID: 492093
   Summary: Fees ignore decimal precision set at currency level
Classification: Applications
   Product: kmymoney
   Version: unspecified
  Platform: Other
OS: All
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kmymoney-devel@kde.org
  Reporter: koalaleaves+...@protonmail.com
  Target Milestone: ---

Fees are locked at having only two decimal places despite currencies set at
higher levels of precision.

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

[kmymoney] [Bug 491978] Add alkimia version to the component dialog

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=491978

--- Comment #3 from Thomas Baumgart  ---
Git commit fd977f4ad2886f8d3785240b4c321b66284f0e01 by Thomas Baumgart.
Committed on 23/08/2024 at 16:31.
Pushed by tbaumgart into branch 'master'.

Remove showing the Akondi version in the about components dialog

Finding the definition of the AKONADI_VERSION_STRING seems to be
different between platforms (e.g. openSUSE, FreeBSD, ...). Since I have
no idea how to fix it, I simply remove it all together.

M  +4-2kmymoney/kcreditswindow.cpp

https://invent.kde.org/office/kmymoney/-/commit/fd977f4ad2886f8d3785240b4c321b66284f0e01

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

[kmymoney] [Bug 492059] Sort Ledger by Reconciled status

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492059

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |INTENTIONAL
 Status|REPORTED|RESOLVED

--- Comment #1 from Thomas Baumgart  ---
Yes, in master, the balance is only shown when the first sort criteria is a
date. There were complaints that the balance is not correct when sorted by a
non-date item, so we removed it.

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

[kmymoney] [Bug 492093] Fees ignore decimal precision set at currency level

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492093

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
Please provide the KMyMoney version and details on how to reproduce the
problem. Thx.

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

[kmymoney] [Bug 492093] Fees ignore decimal precision set at currency level

2024-08-23 Thread bugzilla_noreply--- via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492093

koalaleaves+...@protonmail.com changed:

   What|Removed |Added

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

--- Comment #2 from koalaleaves+...@protonmail.com ---
Steps to reproduce:

1. Create a new kmy file and select GBP as default currency
2. Create an investment account with a brokerage account
3. Go to Tools > Currencies > Edit and set GBP price precision to 10 then exit
4. Go to investment account and create a buy stock transaction
5. Fill in anything for the name of the security and create an expense category
for fee
6. Type 0.015 for fee with the aforementioned expense category created

Actual behavior: 0.015 rounded to 0.01
Expected: 0.015 becomes 0.015000 given the price precision set for this
currency

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

[kmymoney] [Bug 492093] Fees ignore decimal precision set at currency level

2024-08-23 Thread bugzilla_noreply--- via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492093

--- Comment #3 from koalaleaves+...@protonmail.com ---
Version 5.116.0

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

[kmymoney] [Bug 492110] New: No visible difference between entered and scheduled transactions in ledgers view under Gnome 46

2024-08-23 Thread Ian Neal via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492110

Bug ID: 492110
   Summary: No visible difference between entered and scheduled
transactions in ledgers view under Gnome 46
Classification: Applications
   Product: kmymoney
   Version: 5.1.3
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: ux-ui
  Assignee: kmymoney-devel@kde.org
  Reporter: iann_bugzi...@blueyonder.co.uk
  Target Milestone: ---

SUMMARY
>From the ledgers view entered and scheduled transactions look the same when
using Gnome 46

STEPS TO REPRODUCE
1. Use Gnome as desktop environment in Fedora 40
2. Start kmymoney and create some transactions and some scheduled transactions
against an account
3. View ledger for that account

OBSERVED RESULT
Both entered and scheduled transactions look the same

EXPECTED RESULT
Scheduled transactions should be a different light colour font than the entered
transactions

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-200.fc40.x86_64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Was fine with Gnome on Fedora 38

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

[kmymoney] [Bug 492111] New: Using enter key does not operate highlighted action in a dialog on Gnome

2024-08-23 Thread Ian Neal via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492111

Bug ID: 492111
   Summary: Using enter key does not operate highlighted action in
a dialog on Gnome
Classification: Applications
   Product: kmymoney
   Version: 5.1.3
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: ux-ui
  Assignee: kmymoney-devel@kde.org
  Reporter: iann_bugzi...@blueyonder.co.uk
  Target Milestone: ---

SUMMARY
When a dialog comes up, one of the buttons is highlighted. Pressing the enter
key should carry out that action but doesn't.

STEPS TO REPRODUCE
1. Use kmymoney on Gnome
2. Enter a transaction into an account that pops up the Exchange rate dialog
3. Note that the OK button appears to be highlighted
4. Press enter / CR key on keyboard

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Enter / CR key activates OK button

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-200.fc40.x86_64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
If you use the tab key to cycle round field / buttons until it reaches the OK
button again and press enter/CR key, it does carry out the OK button's action.

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

[kmymoney] [Bug 492110] No visible difference between entered and scheduled transactions in ledgers view under Gnome 46

2024-08-23 Thread Ian Neal via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492110

Ian Neal  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #1 from Ian Neal  ---
Using in .bashrc or .profile the following:
export QT_QPA_PLATFORMTHEME=gnome
seems to fix this issue.
Should some sort of note be added about this?

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

[kmymoney] [Bug 491405] Using the controle box of a tranaction the screen of my laptop blinks black.

2024-08-23 Thread Bug Janitor Service via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=491405

--- Comment #2 from Bug Janitor Service  ---
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days.
Please provide the requested information, then set the bug status to REPORTED.
If there is no change for at least 30 days, it will be automatically closed as
RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!

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

[kmymoney] [Bug 492093] Fees ignore decimal precision set at currency level

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492093

Thomas Baumgart  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #4 from Thomas Baumgart  ---
The price precision is not what is taken into account here, but the smallest
account and cash units of a currency. I am not sure if you can achieve what you
are trying to do..

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

[kmymoney] [Bug 492086] Invisible conversion rate for Bitcoin in price dialog

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492086

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/f596aa
   ||45aa750ba5a56b01e7ee14a7893
   ||870a7f2
   Version Fixed In||5.2
 Status|REPORTED|RESOLVED

--- Comment #4 from Thomas Baumgart  ---
Git commit f596aa45aa750ba5a56b01e7ee14a7893870a7f2 by Thomas Baumgart.
Committed on 24/08/2024 at 06:30.
Pushed by tbaumgart into branch 'master'.

Fix display of price precision
FIXED-IN: 5.2

M  +3-3kmymoney/dialogs/kequitypriceupdatedlg.cpp
M  +8-2kmymoney/mymoney/storage/pricemodel.cpp

https://invent.kde.org/office/kmymoney/-/commit/f596aa45aa750ba5a56b01e7ee14a7893870a7f2

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

[kmymoney] [Bug 491889] Building kmymoney5 from stable branch fails with gpgme 1.23.2

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=491889

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/8e1730
   ||74110368e0a944ec46b95f17998
   ||9d6cbdb
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
   Version Fixed In||5.2

--- Comment #3 from Thomas Baumgart  ---
Git commit 8e173074110368e0a944ec46b95f179989d6cbdb by Thomas Baumgart.
Committed on 24/08/2024 at 06:48.
Pushed by tbaumgart into branch 'master'.

Fix building with gpgme 1.23.2
FIXED-IN: 5.2

M  +2-2kmymoney/misc/kgpgfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/8e173074110368e0a944ec46b95f179989d6cbdb

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

[kmymoney] [Bug 488491] Make 5.2 release

2024-08-23 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=488491
Bug 488491 depends on bug 491889, which changed state.

Bug 491889 Summary: Building kmymoney5 from stable branch fails with gpgme 
1.23.2
https://bugs.kde.org/show_bug.cgi?id=491889

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

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