[kmymoney] [Bug 491864] Update Account with a specific date does not retrieve all bookings.
https://bugs.kde.org/show_bug.cgi?id=491864 Thomas Baumgart changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO --- Comment #1 from Thomas Baumgart --- This needs some further investigation. I assume, that with "a new KMymoney instance" you mean a new KMyMoney data file in the same user account. Also, if you pick the start date as 1.1.2024 you get only a limited number of transactions in one case (existing file) and all until today in the other (new file). Is this correct? Please do the following and report the results here: - turn on the "logging imported statement" feature (Configure KMyMoney/General/Support). You could use your home directory as log path. - run the import on both instances for one account and compare the two files named kmm-statement-2024 which are generated as result of the download - do they show the same content (same size, similar content)? - in case they differ, check the directory ~/.aqbanking/backends/aqhbci/data/banks/de//logs and compare the last two files that were generated in that directory. You can find their names with "ls -ltr *.log | tail -n 2". - do they have the same length and show similar content (some lines differ due to differing timestamps) -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 Thomas Baumgart changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491889] New: Building kmymoney5 from stable branch fails with gpgme 1.23.2
https://bugs.kde.org/show_bug.cgi?id=491889 Bug ID: 491889 Summary: Building kmymoney5 from stable branch fails with gpgme 1.23.2 Classification: Applications Product: kmymoney Version: 5.1.3 Platform: Other OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: packaging Assignee: kmymoney-devel@kde.org Reporter: ralf.habac...@freenet.de Target Milestone: --- Created attachment 172744 --> https://bugs.kde.org/attachment.cgi?id=172744&action=edit Build log STEPS TO REPRODUCE 1. see attached log generated by https://build.opensuse.org/package/show/windows:mingw:win32:snapshots/mingw32-kmymoney5 OBSERVED RESULT The build fails with [ 88s] /home/abuild/rpmbuild/BUILD/kmymoney-5.1+20240819+git.ec9d0d67/kmymoney/plugins/xml/libkgpgfile/kgpgfile.cpp:282:(.text+0x94c): undefined reference to `GpgME::Data::seek(long, int)' EXPECTED RESULT The build should not fail -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 475603] Net worth reports do not consider investment values if an account (any account) is filtered
https://bugs.kde.org/show_bug.cgi?id=475603 --- Comment #3 from Jamariano --- (In reply to Thomas Baumgart from comment #2) > This has been fixed in the meantime in the current development (master) > version of the application. When loading the sample file, no account is > selected for the customized report and the values show zero. Pressing the > All button in the report's account filter tab solved that issue. Unchecking > the Checkings account shows the correct values. So I close this here as > fixed. I can confirm that it is working in the development version. BIG thank you. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #1 from Thomas Baumgart --- Very strange behavior which differs on Linux and Windows: The code section precision = MyMoneyMoney::denomToPrec(currency.smallestAccountFraction()); smallestFraction = MyMoneyMoney::ONE / MyMoneyMoney(currency.smallestAccountFraction()); qDebug() << "account precision" << precision << smallestFraction.formatMoney(QString(), precision); provides the following output on Linux: account precision 8 "0,0001" but on Windows we get account precision 8 "0,00 €" I have not clue what is going on here. This explains why 0,00 € is shown in the dialog when editing the currency. BTW, the display in the edit currency is identical no matter if compiled with MSVC (KDE CI/CD) or cross-compiled (snapshots). -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 Ralf Habacker changed: What|Removed |Added CC||ralf.habac...@freenet.de --- Comment #2 from Ralf Habacker --- (In reply to Thomas Baumgart from comment #1) > Very strange behavior which differs on Linux and Windows: To exclude influences from the entire application, I suggest inserting an additional unit test in kmymoney/mymoney/tests/mymoneysecurity-test.cpp, e.g. void MyMoneySecurityTest::testSmallestAccountUnit() { MyMoneySecurity currency("BTC", "Bitcoin", "BTC", 1, 1); int precision = MyMoneyMoney::denomToPrec(currency.smallestAccountFraction()); MyMoneyMoney smallestFraction = MyMoneyMoney::ONE / MyMoneyMoney(currency.smallestAccountFraction()); QCOMPARE(smallestFraction.formatMoney(QString(), precision), QLatin1String("0.0001")); } which can then be used more easily for debugging. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #3 from Ralf Habacker --- (In reply to Ralf Habacker from comment #2) As the problem here is the call to formatMoney() it may be named better: void MyMoneySecurityTest::testFormatMoney() { MyMoneySecurity currency("BTC", "Bitcoin", "BTC", 1, 1); int precision = MyMoneyMoney::denomToPrec(currency.smallestAccountFraction()); MyMoneyMoney smallestFraction = MyMoneyMoney::ONE / MyMoneyMoney(currency.smallestAccountFraction()); QCOMPARE(smallestFraction.formatMoney(QString(), precision), QLatin1String("0.0001")); } -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491864] Update Account with a specific date does not retrieve all bookings.
https://bugs.kde.org/show_bug.cgi?id=491864 --- Comment #2 from mirekgoe...@web.de --- (In reply to Thomas Baumgart from comment #1) > This needs some further investigation. I assume, that with "a new KMymoney > instance" you mean a new KMyMoney data file in the same user account. Also, > if you pick the start date as 1.1.2024 you get only a limited number of > transactions in one case (existing file) and all until today in the other > (new file). Is this correct? YES > > Please do the following and report the results here: > > - turn on the "logging imported statement" feature (Configure > KMyMoney/General/Support). You could use your home directory as log path. > - run the import on both instances for one account and compare the two files > named kmm-statement-2024 which are generated as result of the download > - do they show the same content (same size, similar content)? > - in case they differ, check the directory > ~/.aqbanking/backends/aqhbci/data/banks/de//logs and compare the > last two files that were generated in that directory. You can find their > names with "ls -ltr *.log | tail -n 2". > - do they have the same length and show similar content (some lines differ > due to differing timestamps) YES, they have the same length and the same content - only the fields are sorted differently. I've edited 2 example lines with "dummy content" -- see below. Is there a way to kind of reset an account (so that it acts like a fresh KMyMoneyFile) without deleting all the transactions? THANKS FOR THE QUICK HELP! original KMyMoneyFile: new KMyMoneyFile: original KMyMoneyFile: new KMyMoneyFile: -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491914] New: mymoneyfinancialcalculator-test fails with mingw-builds
https://bugs.kde.org/show_bug.cgi?id=491914 Bug ID: 491914 Summary: mymoneyfinancialcalculator-test fails with mingw-builds Classification: Applications Product: kmymoney Version: git (master) Platform: Other OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kmymoney-devel@kde.org Reporter: ralf.habac...@freenet.de Target Milestone: --- STEPS TO REPRODUCE 1. see appended log OBSERVED RESULT Running mymoneyfinancialcalculator-test from a MinGW build fails 7/38 Test #8: mymoneyfinancialcalculator-test ...***Failed0.55 sec Inspecting the test log shows: 8: * Start testing of MyMoneyFinancialCalculatorTest * 8: 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 7sp1 8: PASS : MyMoneyFinancialCalculatorTest::initTestCase() 8: PASS : MyMoneyFinancialCalculatorTest::testEmptyConstructor() 8: PASS : MyMoneyFinancialCalculatorTest::testSetPrec() 8: PASS : MyMoneyFinancialCalculatorTest::testSetNpp() 8: PASS : MyMoneyFinancialCalculatorTest::testSetPF() 8: PASS : MyMoneyFinancialCalculatorTest::testSetCF() 8: PASS : MyMoneyFinancialCalculatorTest::testSetBep() 8: PASS : MyMoneyFinancialCalculatorTest::testSetDisc() 8: FAIL! : MyMoneyFinancialCalculatorTest::testSetIr() 'm->d_func()->m_ir == 12.3' returned FALSE. () 8: /home/abuild/rpmbuild/BUILD/kmymoney-5.1.80+QT515+KF5103+20240819+git.9e9d8d588/kmymoney/mymoney/tests/mymoneyfinancialcalculator-test.cpp(91) : failure location 8: FAIL! : MyMoneyFinancialCalculatorTest::testSetPv() 'm->d_func()->m_pv == 23.4' returned FALSE. () 8: /home/abuild/rpmbuild/BUILD/kmymoney-5.1.80+QT515+KF5103+20240819+git.9e9d8d588/kmymoney/mymoney/tests/mymoneyfinancialcalculator-test.cpp(98) : failure location 8: PASS : MyMoneyFinancialCalculatorTest::testSetPmt() 8: FAIL! : MyMoneyFinancialCalculatorTest::testSetFv() 'm->d_func()->m_fv == 45.6' returned FALSE. () 8: /home/abuild/rpmbuild/BUILD/kmymoney-5.1.80+QT515+KF5103+20240819+git.9e9d8d588/kmymoney/mymoney/tests/mymoneyfinancialcalculator-test.cpp(112) : failure location 8: PASS : MyMoneyFinancialCalculatorTest::testCombinedSet() 8: PASS : MyMoneyFinancialCalculatorTest::testNumPayments() 8: PASS : MyMoneyFinancialCalculatorTest::testUseCase1() 8: PASS : MyMoneyFinancialCalculatorTest::testUseCase2() 8: PASS : MyMoneyFinancialCalculatorTest::cleanupTestCase() 8: Totals: 14 passed, 3 failed, 0 skipped, 0 blacklisted, 5ms 8: * Finished testing of MyMoneyFinancialCalculatorTest * EXPECTED RESULT The test should not fail. ADDITIONAL INFORMATION > MyMoneyFinancialCalculatorTest::testSetIr() 'm->d_func()->m_ir == 12.3' Both numbers are of type double; the comparison of two values with the operator == may not work due to rounding problems. The use of QCOMPARE(m->d_func()->m_ir, 12.3), can solve this problem, as this type of problem is taken into account. -- You are receiving this mail because: You are the assignee for the bug.
[alkimia] [Bug 488490] Make 8.2 release
https://bugs.kde.org/show_bug.cgi?id=488490 Ralf Habacker changed: What|Removed |Added Depends on||491914 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=491914 [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds
https://bugs.kde.org/show_bug.cgi?id=491914 Ralf Habacker changed: What|Removed |Added Blocks||488490 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=488490 [Bug 488490] Make 8.2 release -- 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
https://bugs.kde.org/show_bug.cgi?id=491889 Ralf Habacker changed: What|Removed |Added Blocks||488490 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=488490 [Bug 488490] Make 8.2 release -- You are receiving this mail because: You are the assignee for the bug.
[alkimia] [Bug 488490] Make 8.2 release
https://bugs.kde.org/show_bug.cgi?id=488490 Ralf Habacker changed: What|Removed |Added Depends on||491889 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=491889 [Bug 491889] Building kmymoney5 from stable branch fails with gpgme 1.23.2 -- 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
https://bugs.kde.org/show_bug.cgi?id=491889 --- Comment #1 from Ralf Habacker --- The master branch is also affected by this issue. -- You are receiving this mail because: You are the assignee for the bug.
[alkimia] [Bug 488490] Make 8.2 release
https://bugs.kde.org/show_bug.cgi?id=488490 Ralf Habacker changed: What|Removed |Added Depends on|491889, 491914 | Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=491889 [Bug 491889] Building kmymoney5 from stable branch fails with gpgme 1.23.2 https://bugs.kde.org/show_bug.cgi?id=491914 [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds -- 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
https://bugs.kde.org/show_bug.cgi?id=491889 Ralf Habacker changed: What|Removed |Added Blocks|488490 | Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=488490 [Bug 488490] Make 8.2 release -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds
https://bugs.kde.org/show_bug.cgi?id=491914 Ralf Habacker changed: What|Removed |Added Blocks|488490 | Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=488490 [Bug 488490] Make 8.2 release -- 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
https://bugs.kde.org/show_bug.cgi?id=491889 Ralf Habacker changed: What|Removed |Added Blocks||488491 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=488491 [Bug 488491] Make 5.2 release -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 488491] Make 5.2 release
https://bugs.kde.org/show_bug.cgi?id=488491 Ralf Habacker changed: What|Removed |Added Depends on||491889, 491914 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=491889 [Bug 491889] Building kmymoney5 from stable branch fails with gpgme 1.23.2 https://bugs.kde.org/show_bug.cgi?id=491914 [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds
https://bugs.kde.org/show_bug.cgi?id=491914 Ralf Habacker changed: What|Removed |Added Blocks||488491 Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=488491 [Bug 488491] Make 5.2 release -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #4 from Ralf Habacker --- With a mingw build I edited Türkische Lira (alt), which shows in the log editing currency "Türkische Lira (alt)" "TL" 100 100 cash precision 2 "0,01 Ç" account precision 2 "0,01 Ç" Then I added "Bitcoin" as currency adding currency "Bitcoin" "BTC" 1 1 and edited it: editing currency "Bitcoin" "BTC" 1 1 cash precision 8 "0,00 Ç" account precision 8 "0,00 Ç" which should still using currency "TL" -> The currency used has not been updated. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #5 from Ralf Habacker --- (In reply to Ralf Habacker from comment #4) > which should still using currency "TL" -> The currency used has not been > updated. correction: which is still using currency "TL" -> The currency used has not been -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491914] mymoneyfinancialcalculator-test fails with mingw-builds
https://bugs.kde.org/show_bug.cgi?id=491914 --- Comment #1 from Ralf Habacker --- Created attachment 172755 --> https://bugs.kde.org/attachment.cgi?id=172755&action=edit compressed log file -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #6 from Ralf Habacker --- (In reply to Thomas Baumgart from comment #1) > precision = I changed the relevant code section to precision = MyMoneyMoney::denomToPrec(currency.smallestAccountFraction()); smallestFraction = MyMoneyMoney::ONE / MyMoneyMoney(currency.smallestAccountFraction()); qDebug() << "account precision" << precision << smallestFraction.formatMoney(QString(), precision) << smallestFaction.toDouble() << smallestFaction.toString() and got cash precision 8 "0,00 Bitcoin" 1e-08 "1/1" account precision 8 "0,00 Bitcoin" 1e-08 "1/1" which indicates that there is a issue with the formatMoney() method. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #7 from Ralf Habacker --- (In reply to Ralf Habacker from comment #6) > which indicates that there is a issue with the formatMoney() method. I think this error was introduced with https://invent.kde.org/office/kmymoney/-/commit/0487f47b6da4b2cee47a13983f375eda7f205501 in the method mentioned below QString MyMoneyMoney::formatMoney(const QString& currency, const int prec, bool showThousandSeparator) const { if (eMyMoney::Money::_useQtInternalFormmater) { return eMyMoney::Money::_locale.toCurrencyString(this->toDouble(), currency, prec); } `eMyMoney::Money::_useQtInternalFormmater` is true and thus the formatting of the numbers is carried out by Qt, which does not work here. Commenting out the whole if part, returns the expected value in the smallest ... unit. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491828] Currency settings show incorrect
https://bugs.kde.org/show_bug.cgi?id=491828 --- Comment #8 from Ralf Habacker --- (In reply to Ralf Habacker from comment #4) ... > editing currency "Türkische Lira (alt)" "TL" 100 100 > cash precision 2 "0,01 Ç" > account precision 2 "0,01 Ç" ... > editing currency "Bitcoin" "BTC" 1 1 > cash precision 8 "0,00 Ç" > account precision 8 "0,00 Ç" > > which is still using currency "TL" -> The currency used has not been updated. This issue is caused by using smallestFraction.formatMoney(QString(), precision) by changing this call to use currency.name() instead smallestFraction.formatMoney(currency.name(), precision) and with the fix mentioned in comment 7 I get cash precision 8 "0,0001 Bitcoin" -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 491697] Custom Colors
https://bugs.kde.org/show_bug.cgi?id=491697 --- Comment #2 from bnbu...@gmail.com --- Found a recent git master kmymoney-master-3411-windows-cl-msvc2019-x86_64.exe. Was having problems on second computer with it crashing. After reset this computer, all custom color setting are now working for now. Went back and tried this same version on 1st computer and for a brief moment color settings again weren't working. I went to settings and reset default colors, then turned custom colors back on. Apply and BINGO colors working. went back and changed several of colors and all being applied. I had tried 3404 and 3407, but didnt try the rset to default. Thanks for leading me in the right direction. Was about to give up on Kmymoney. I have been looking for another alternative as Quicken doubled from $45 to $80. This is by far the best program I have found On Fri, Aug 16, 2024 at 12:58 PM Thomas Baumgart wrote: > https://bugs.kde.org/show_bug.cgi?id=491697 > > Thomas Baumgart changed: > >What|Removed |Added > > >Version Fixed In||5.2 > Latest Commit|| > https://invent.kde.org/offi >| > |ce/kmymoney/-/commit/d5e427 >| > |7a155770e17545cad7be4439e77 >||1e7be75 > Status|REPORTED|RESOLVED > Resolution|--- |FIXED > > --- Comment #1 from Thomas Baumgart --- > Git commit d5e4277a155770e17545cad7be4439e771e7be75 by Thomas Baumgart. > Committed on 16/08/2024 at 16:08. > Pushed by tbaumgart into branch 'master'. > > Fix custom color settings > > Usage of custom colors was not implemented. This change brings back the > custom color settings. To improve them, for all background colors an > accompanying text color is now available to be able to adjust > readability. > FIXED-IN: 5.2 > > M +3-14 kmymoney/dialogs/settings/ksettingscolors.cpp > M +0-4kmymoney/dialogs/settings/ksettingscolors.h > M +119 -56 kmymoney/dialogs/settings/ksettingscolors.ui > M +13 -1kmymoney/settings/kmymoney.kcfg > M +3-0kmymoney/settings/kmymoneysettings_addon.h > M +23 -0kmymoney/settings/kmymoneysettings_addons.cpp > M +19 -10 kmymoney/views/journaldelegate.cpp > M +30 -13 kmymoney/views/ledgerview.cpp > M +4-4kmymoney/views/securityaccountnamedelegate.cpp > M +5-1kmymoney/views/specialdatedelegate.cpp > > > https://invent.kde.org/office/kmymoney/-/commit/d5e4277a155770e17545cad7be4439e771e7be75 > > -- > You are receiving this mail because: > You reported the bug. -- You are receiving this mail because: You are the assignee for the bug.