Re: Master Branch Compile Error

2024-10-05 Thread Thomas Baumgart via KMyMoney-devel
On Freitag, 4. Oktober 2024 14:52:46 CEST Thomas Baumgart via KMyMoney-devel 
wrote:

[...]

> Reading the whole history, it seems that on your master branch there
> are no Makefiles. If you don't specify the generator with the -G option
> to cmake, it uses "Unix Makefiles" as the default on Linux. So to me
> it seems, that cmake does not generate them for whatever reason.
> 
> The following line which I found in Brendan's first mail proofs that:
> 
> > -- Configuring incomplete, errors occurred!
> 
> Can you run the following in the build directory from the command line:
> 
>   cmake  --trace-expand 2>&1 | gzip > cmake.log.gz
> 
> and provide the resulting cmake.log.gz file? In case cmake encounters
> some problems and cannot write Makefiles it usually writes a few more
> lines to the console that contain names of files with information.
> Those might also be helpful.

Brendan supplied me the request logfile via PM. Here's what I found out
(for reference I leave the line numbers in parens for Brendan):

As a result of KMyMoney's CMake statement

   find_package(libofx ${KMM_LIBOFX_MIN_SOVERSION} NAMES LibOFX libofx)

CMake finds libofx and assigns the target "libofx::libofx" (16777) but it
does not find its required dependency OpenSP (17318):

  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake(94):  return()
  CMake Warning at CMakeLists.txt:184 (find_package):
Found package configuration file:

  /usr/lib64/cmake/libofx/LibOFXConfig.cmake

but it set libofx_FOUND to FALSE so package "libofx" is considered to be
NOT FOUND.  Reason given by package:

libofx could not be found because dependency OpenSP could not be found.

which causes KMyMoney's CMake to proceed with the alternative path to use
PkgConfig to look for libofx. Since it is installed it tries to set the
target "libofx::libofx" again which causes the reported error (18227):

  CMake Error at CMakeLists.txt:193 (add_library):
add_library cannot create imported target "libofx::libofx" because another
target with the same name already exists.

Due to that error it seems that the Makefiles are not generated.

@Brendan: can you check the availability of OpenSP development files
on your system? It seems that they are missing/not found.

Hope that helps.
-- 

Regards

Thomas Baumgart

-
Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html
-


signature.asc
Description: This is a digitally signed message part.


Re: Master Branch Compile Error

2024-10-04 Thread Thomas Baumgart via KMyMoney-devel
On Donnerstag, 3. Oktober 2024 02:36:50 CEST Brendan Coupe via KMyMoney-devel 
wrote:

> On 2024-10-02 1:46 PM, Jack Ostroff via KMyMoney-devel wrote:
> > [snip]
> >
> > Nothing in your ccmake output strikes me as wrong, but I'll try a 
> > detailed comparison to my own output later.
> >
> > So cmake does produce a bunch of Makefiles for you, but before 
> > finishing the configuration, it complains about no targets and no 
> > makefile.  That error sounds like it comes from make, but I'm not sure 
> > why cmake would be calling make directly, and before it is finished 
> > configuring.  (I'm mainly thinking out loud here.)
> >
> > Can you try building from the 5.1 branch?  That will at least tell us 
> > if the problem is related to something specifically in master branch, 
> > or something else in your setup.  I don't think it will help, but you 
> > could also try reinstalling make and cmake. You could also try running 
> > cmake against some other KDE program to see if it has anything to do 
> > with KMyMoney at all.
> >
> I added --debug-output to cmake and got a lot more output...
> 
> 
> Not found 'SCCS/s.Makefile.mod'.
>   Trying harder.
>  No implicit rule found for 'Makefile.mod'.
>  Rejecting rule '%.o: %.mod' due to impossible prerequisite 
> 'Makefile.mod'.
> No implicit rule found for 'Makefile.o'.
> Rejecting rule '%: %.o' due to impossible prerequisite 'Makefile.o'.
> Trying pattern rule '%: %.c' with stem 'Makefile'.
> 
> ...
> 
> Trying pattern rule '%:: RCS/%' with stem 'Makefile.sh'.
>  Trying implicit prerequisite 'RCS/Makefile.sh'.
>  Not found 'RCS/Makefile.sh'.
>  Trying pattern rule '%:: s.%' with stem 'Makefile.sh'.
>  Trying implicit prerequisite 's.Makefile.sh'.
> make: *** No targets specified and no makefile found.  Stop.
>  Not found 's.Makefile.sh'.
>  Trying pattern rule '%:: SCCS/s.%' with stem 'Makefile.sh'.
>  Trying implicit prerequisite 'SCCS/s.Makefile.sh'.
>  Not found 'SCCS/s.Makefile.sh'.
>  Trying harder.
> No implicit rule found for 'Makefile.sh'.
> Rejecting rule '%: %.sh' due to impossible prerequisite 'Makefile.sh'.
>No implicit rule found for 'Makefile'.
>   Finished prerequisites of target file 'Makefile'.
>   Must remake target 'Makefile'.
>   Failed to remake target file 'Makefile'.

Reading the whole history, it seems that on your master branch there
are no Makefiles. If you don't specify the generator with the -G option
to cmake, it uses "Unix Makefiles" as the default on Linux. So to me
it seems, that cmake does not generate them for whatever reason.

The following line which I found in Brendan's first mail proofs that:

> -- Configuring incomplete, errors occurred!

Can you run the following in the build directory from the command line:

  cmake  --trace-expand 2>&1 | gzip > cmake.log.gz

and provide the resulting cmake.log.gz file? In case cmake encounters
some problems and cannot write Makefiles it usually writes a few more
lines to the console that contain names of files with information.
Those might also be helpful.

-- 

Regards

Thomas Baumgart

-
Computer science is no more about computers than astronomy is about telescopes
--Edsger W. Dijkstra
-


signature.asc
Description: This is a digitally signed message part.


Re: possible consistency check addition

2024-09-25 Thread Thomas Baumgart via KMyMoney-devel
On Montag, 23. September 2024 21:41:41 CEST Jack via KMyMoney-devel wrote:

> I've now had more than one occasion where I sold stock, reducing my  
> holdings of that stock to 0, and closed the stock account.  Some time  
> later, I bought shares of that same stock, and when imported by OFX,  
> KMM was happy to register the purchase, even though the account was  
> closed.  If I try to edit that purchase transaction, the stock is NOT  
> shown, but I can't select anything without first reopening the stock  
> account.  The only reason I even noticed was that when reconciling my  
> holdings in that investment account, that stock was not shown on the  
> Investments View, Equities tab.
> 
> Should the consistency check look for any closed accounts which are not  
> empty?  I'm not sure if it should automatically reopen them, or just  
> let the user decide what to do - although if you want to move the  
> content (money or stock) you have to reopen the account first.
> 
> Thoughts?

I think re-opening the account would make the most sense in this case.
Any other opinions?

-- 

Regards

Thomas Baumgart

-
I used to be a hypochondriac AND a kleptomaniac. So I took something for it.
-


signature.asc
Description: This is a digitally signed message part.


Re: can't move transactions

2024-09-25 Thread Thomas Baumgart via KMyMoney-devel
On Montag, 23. September 2024 22:18:05 CEST Jack via KMyMoney-devel wrote:

> I need to transfer some shares of two stocks from one investment  
> account to another (same institution.)  I'm pretty sure I've done this  
> in the past by creating two "remove shares" transactions, then  
> duplicating them, moving the duplicates to the other account, and then  
> changing those to "add shares."  Now, when I select both transactions,  
> "Move to" is disabled.  Selecting just one of the transactions, the  
> "move transaction to ..." pops up the "Select Account" dialog, which  
> shows "Asset Accounts" but with no other accounts listed.  Shouldn't it  
> be possible to transfer such transactions from one Investment Account  
> to another?

Fixed with https://invent.kde.org/office/kmymoney/-/commit/55081587


-- 

Regards

Thomas Baumgart

-
On Windoze it helps to reboot, on UNIX it helps to be root!
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 493465] Column width too narrow in printed reports

2024-09-22 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=493465

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #2 from Thomas Baumgart  ---
Updating state of this entry.

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

Re: building from master branch

2024-09-17 Thread Thomas Baumgart via KMyMoney-devel
On Dienstag, 17. September 2024 23:34:39 CEST Jack via KMyMoney-devel wrote:

> On 2024.09.17 14:21, Jeremy Whiting wrote:
> [snip .]
> 
> > So I guess the way to build currently is to use Qt5/KF5 until alkimia  
> > gets fixed up/ported to KF6?
> 
> Yes, I would continue to build both alkimia and KMM against Qt5/KF5  
> until they explicitly announce they have been ported to Qt6/KF6.

Yes, Alkimia and KMyMoney are currently only buildable on Qt5/KF5.
Once we have 5.2 released (I wish I had more time to work on it)
the next step is to port both to Qt6/KF6 (some of it is already
prepared but as you noticed, some more adjustments still need
to be hashed out).

> 
> [snip .]
> 
> 

-- 

Regards

Thomas Baumgart

-
Dear inventor of German: You forgot to define a translation for
'resize' (as verb). Please fix. -- Sebas Kügler
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 493127] Kmymoney does not respect the number and currency settings of KDE

2024-09-15 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=493127

Thomas Baumgart  changed:

   What|Removed |Added

   Version Fixed In||5.2
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #1 from Thomas Baumgart  ---
Already fixed in upcoming 5.2. Can be checked with the current master version
when running KMyMoney from the command line with

  LC_MONETARY=C kmymoney

even while locale reports

  LC_MONETARY="it_IT.UTF-8"

No need to reboot.

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

[kmymoney] [Bug 492929] Git Master Crashes click on account or anything

2024-09-11 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492929

Thomas Baumgart  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

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

[kmymoney] [Bug 492929] Git Master Crashes click on account or anything

2024-09-10 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492929

--- Comment #2 from Thomas Baumgart  ---
I am unable to duplicate this with
kmymoney-master-3490-windows-cl-msvc2019-x86_64.exe here on a Win10 box. All
the things I tested (all views at least) work as expected.

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

Re: Very strange problems with OFX imported dividend reinvestment transactions from Fidelity

2024-09-05 Thread Thomas Baumgart via KMyMoney-devel
On Sonntag, 1. September 2024 22:07:10 CEST Jack via KMyMoney-devel wrote:

> On 2024.09.01 06:47, Thomas Baumgart via KMyMoney-devel wrote:
> > On Samstag, 31. August 2024 21:22:23 CEST Jack Ostroff via  
> > KMyMoney-devel wrote:
> > 
> >> I've been having problems with consistency check for a long time,  
> >> but never bothered to track down the cause.  I'm trying to do that  
> >> now, and everything I see just confuses me more.  I do assume that  
> >> the initial issue is introduced with the ofx import from Fidelity,  
> >> but I also think KMM is doing something funny here.
> > >
> > > For one transaction, consistency check says:
> > >   * Split S0002 in transaction 'T000258' contains  
> > different
> > > signs for shares and value. Please fix manually
> > 
> > I assume you do all this with the current master version. Can you  
> > send me the details of an unaltered transaction (screenshot of the  
> > Transaction detail output) via PM and maybe the plain XML of it?
> 
> Yes, compiled a few days ago, although --version only shows me kmymoney  
> 5.1.80- which happens sometimens, although I've never figured out why.
> 
> Even better, I'm attaching a much smaller xml file which shows the  
> problem.  I created a new file, including checking (not actually used,)  
> invest, and broker accounts.  I then imported the following lines,  
> which I copied from the actual download csv from Fidelity:
> 
> Run Date,Account,Action,Symbol,Description,Type,Quantity,Price  
> ($),Commission ($),Fees ($),Accrued Interest ($),Amount ($),Settlement  
> Date
> 05/31/2024,"Corporation" Z46095109," REINVESTMENT FIDELITY  
> GOVERNMENT CASH RESERVES (FDRXX) (Cash)", FDRXX," FIDELITY GOVERNMENT  
> CASH RESERVES",Cash,153.89,1-153.89,

That is where the problem starts: the sign between shares (153.89) and amount 
(-153.89) differs!

I made some changes to master (already pushed to Gitlab) which is now capable
of correcting this situation. The best would be to fix the CSV importer to
handle that, but I don't want to touch that right now.

So when you import the above into the testfile, you now end up with the
scenario in attached screenshot1.png. It shows a difference of 307.78 which
is "2 * 153.89".

Simply double click on the transaction and immediately save it solves the
problem by adjusting the sign of the amount (see attached screenshot2.png)

Simply loading your existing transactions into the editor and saving them
should correct those existing transactions.

Hope that helps.

Thomas


> At the bottom of this message is the section from csvimporterrc for  
> this invest import.
> 
> What I'm particularly interested in is
> 1) why does the consistency check show an error (correctly, it seems)  
> but the ledger does not show any indication of a problem
> 2) the ledger shows a negative value, but on editing the transaction,  
> all amounts show positive
> 3) editing the transaction and changing the sign of the interest has no  
> effect, but changing the sign of the shares shows shares and value as  
> positive, but does show an error icon for a missing assignment of twice  
> the value.
> 4) editing again and changing the sign of the shares then fixes the  
> problem.
> 
> If the attachment of the xml file doesn't get through to the list, I'll  
> send it to you directly.
> > 
> > > This is a dividend reinvestment transaction, and the ledger shows  
> > the
> > > shares $149.44, price $1.00, and value $-149.44 (all in US Dollars,  
> > no
> > > currency conversions involved.)  However, there is no error icon on
> > > that entry.  Showing the transaction details matches these numbers  
> > in
> > > the stock account, and all are positive in the interest/dividends
> > > category,  If I then edit the transaction, all values show positive.
> > > If I then click the enter button without changing anything, the
> > > transaction shows an error icon with a missing assignment of  
> > $298.88.
> > > At that point, transaction details shows the same for the stock
> > > account, but shares and value both negative in the category account.
> > > Editing the transaction again shows all numbers positive, but Enter
> > > does not change anything.  If I then edit and change the shares to
> > > negative, the ledger looks the same, but transaction details shows
> > > negative shares and values in both accounts.  Another edit to remove
> > > the minus sign on the number of shares clears the error in the  
> > ledger
> >

[kmymoney] [Bug 492582] Please change "Versement" and "Dépôt" by "Recette" and "Dépense" in french translation

2024-09-03 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492582

Thomas Baumgart  changed:

   What|Removed |Added

 CC||kde-francoph...@kde.org

--- Comment #1 from Thomas Baumgart  ---
Thank you for your report. Translations are not handled directly by the
developers but by the translation teams. I added the resp. team for French to
this ticket in CC.

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

Re: Very strange problems with OFX imported dividend reinvestment transactions from Fidelity

2024-09-01 Thread Thomas Baumgart via KMyMoney-devel
On Samstag, 31. August 2024 21:22:23 CEST Jack Ostroff via KMyMoney-devel wrote:

> I've been having problems with consistency check for a long time, but  
> never bothered to track down the cause.  I'm trying to do that now, and  
> everything I see just confuses me more.  I do assume that the initial  
> issue is introduced with the ofx import from Fidelity, but I also think  
> KMM is doing something funny here.
> 
> For one transaction, consistency check says:
>   * Split S0002 in transaction 'T000258' contains different  
> signs for shares and value. Please fix manually

I assume you do all this with the current master version. Can you send me
the details of an unaltered transaction (screenshot of the Transaction
detail output) via PM and maybe the plain XML of it?

> This is a dividend reinvestment transaction, and the ledger shows the  
> shares $149.44, price $1.00, and value $-149.44 (all in US Dollars, no  
> currency conversions involved.)  However, there is no error icon on  
> that entry.  Showing the transaction details matches these numbers in  
> the stock account, and all are positive in the interest/dividends  
> category,  If I then edit the transaction, all values show positive.   
> If I then click the enter button without changing anything, the  
> transaction shows an error icon with a missing assignment of $298.88.   
> At that point, transaction details shows the same for the stock  
> account, but shares and value both negative in the category account.   
> Editing the transaction again shows all numbers positive, but Enter  
> does not change anything.  If I then edit and change the shares to  
> negative, the ledger looks the same, but transaction details shows  
> negative shares and values in both accounts.  Another edit to remove  
> the minus sign on the number of shares clears the error in the ledger  
> and the transaction is no longer listed in the consistency report.
> 
> This all makes no sense to me, since my edits add then remove a minus  
> sign on the number of shares, I would not expect any net change, but at  
> the end, both shares and value show negative in the category in the  
> transaction details, although in the category ledger, it does show as  
> income, not expense.
> 
> Just to make things worse, if I start by looking at one of these  
> transaction (I have several) in the category ledger, the amount is  
> shown in the Expense coulumn, which is clearly wrong.  Transaction  
> details, as above, show positive shares and negative value in the stock  
> account but both positive in the category.  Editing and saving with no  
> changes seems similar to doing so in the investment account ledger,  
> with the error icon showing the missing assignement of twice the value  
> and transaction details showing positive shares and negative vlue in  
> the stock account, and both items negative in the category.  However,  
> if I then  edit the transaction, it shows as a Buy, with no Security  
> shown, and 0 for shares and price.
> 
> Since I never seem to notice this until long after I actually download  
> those transacations, and I don't save the download file (web connect  
> download) I'll have to find time to download a small sample and see if  
> I can reproduce the problem in a smaller test file.
> 
> Any other suggestions before I can create a small test case?
> 
> Jack

-- 

Regards

Thomas Baumgart

-
As soon as we wish to be happier, we are no longer happy. -- Walter Landor
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 492288] Nobara Linux - dark mode lettering is total black

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #2 from Thomas Baumgart  ---
Please take a look at bug 429469 comment 6 which provides some information on
howto increase readability by modifying the underlying CSS. 
Does that help?

-- 
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-25 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 |https://invent.kde.org/offi
   |ce/kmymoney/-/commit/f596aa |ce/kmymoney/-/commit/0b8f7c
   |45aa750ba5a56b01e7ee14a7893 |e918d6c439f1e6148c3f6be4d80
   |870a7f2 |5783dc2
 Status|REOPENED|RESOLVED

--- Comment #8 from Thomas Baumgart  ---
Git commit 0b8f7ce918d6c439f1e6148c3f6be4d805783dc2 by Thomas Baumgart.
Committed on 25/08/2024 at 09:50.
Pushed by tbaumgart into branch 'master'.

Increase standard price precision of Bitcoin to 8

This only has an effect if Bitcoins are currently not used in a data
file. In case they are, users can use the currency editor to increase
the price precision manually.

M  +5-1kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/0b8f7ce918d6c439f1e6148c3f6be4d805783dc2

-- 
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-25 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=492086

--- Comment #7 from Thomas Baumgart  ---
Edit the bitcoin entry in Tools/Currencies and set the price precision to 8.
That increases the value of fractional digits for the price.

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

[kmymoney] [Bug 491828] Currency settings show incorrect

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

--- Comment #20 from Thomas Baumgart  ---
> Since kmymoney uses QLocale for formatting currency amounts, ...
That is not completely correct. KMyMoney uses QLocale::toCurrencyString() only,
if it was not able to match its test pattern in the output of
QLocale::toCurrencyString(). This is the case for some e.g. arabic locales to
my knowledge. KMyMoney indicates that with a debug output of "Using Qt internal
formatter". If that output is not visible after the start of the application
and outputting the result of the test pattern, then it uses it's own logic.

-- 
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.

[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 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 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 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 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 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.

[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.

[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.

[kmymoney] [Bug 491828] Currency settings show incorrect

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

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/2b8025
   ||94c5ecb94f75f472c11ebdd4a52
   ||0eb8984
 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.2
 Resolution|--- |FIXED

--- Comment #12 from Thomas Baumgart  ---
Git commit 2b802594c5ecb94f75f472c11ebdd4a520eb8984 by Thomas Baumgart.
Committed on 20/08/2024 at 15:47.
Pushed by tbaumgart into branch 'master'.

Improve detection of currency formatting

QLocale::toCurrencyString() returns different strings on Windows and
Linux when using a value without fraction (e.g. 100). On Linux the
output in locale de_DE was "100 €" and the same code on Windows returned
"100,00 €". That caused the existing implementation of the format
detection to fail.

Changing the test value to 123.45 and enhancing the regex to extract the
parts solves the issue.
FIXED-IN: 5.2

M  +4-3kmymoney/mymoney/mymoneymoney.cpp

https://invent.kde.org/office/kmymoney/-/commit/2b802594c5ecb94f75f472c11ebdd4a520eb8984

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

[kmymoney] [Bug 491828] Currency settings show incorrect

2024-08-19 Thread Thomas Baumgart via KMyMoney-devel
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

2024-08-19 Thread Thomas Baumgart via KMyMoney-devel
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 491864] Update Account with a specific date does not retrieve all bookings.

2024-08-19 Thread Thomas Baumgart via KMyMoney-devel
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 460952] Ledger lens improvement

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

--- Comment #25 from Thomas Baumgart  ---
See https://kmymoney.org/windows.html

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

[kmymoney] [Bug 491649] Ledger

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

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|FIXED   |WORKSFORME

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

[kmymoney] [Bug 491697] Custom Colors

2024-08-16 Thread Thomas Baumgart via KMyMoney-devel
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 are the assignee for the bug.

[kmymoney] [Bug 491649] Ledger

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

Thomas Baumgart  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
   Version Fixed In||5.2
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/d5e427
   ||7a155770e17545cad7be4439e77
   ||1e7be75
 Resolution|WAITINGFORINFO  |FIXED

--- Comment #11 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 are the assignee for the bug.

[kmymoney] [Bug 491649] Ledger

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

--- Comment #9 from Thomas Baumgart  ---
> But what happened to Ledger filter. It seems to have been removed. 

No, not really. Press Ctrl+F to get access to it.

> And custom colors no longer works, even though I checked custom colrs and 
> tried several combinations. Just shows default colors

Known issue. You mentioned that already.

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

[kmymoney] [Bug 491698] All Imported Unflagged

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

--- Comment #3 from Thomas Baumgart  ---
Removing the import flag from schedules is by design. They were created based
on imported transactions in older versions of the application. But that
activity does not explain how they get set for you in existing transactions in
the ledger.

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

[kmymoney] [Bug 491698] All Imported Unflagged

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

Thomas Baumgart  changed:

   What|Removed |Added

  Component|buildsystem |file

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

[kmymoney] [Bug 491698] All Imported Unflagged

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
I checked the source code of the consistency check: there is nothing in there
that sets the import flag. So I doubt that this has anything to do with running
the consistency check. But it could be something else when switching from 5.1
to git master version which I am interested in to learn about. Please try to
duplicate the problem. In case you can, I am interested in the transaction
details (see Transaction/Show Transaction Details) of one of them before and
after the activity that set the flag.

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

[kmymoney] [Bug 470225] Segfault after hiding reconciled transactions

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

--- Comment #6 from Thomas Baumgart  ---
How can I duplicate/provoke this problem? I tried a few things but never got a
crash. It always works for me, so there must be something I am missing / doing
different.

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

[kmymoney] [Bug 470225] Segfault after hiding reconciled transactions

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

--- Comment #4 from Thomas Baumgart  ---
Connections are automatically removed when either the sender or the receiver
object gets destroyed. Also, as a side note, it seems that the private data
pointed to by d gets deleted prior to filter object pointed to by
m_transactionFilter. Since the connection is only setup when d and
m_transactionFilter are not null I don't see a problem here.

The original BT shows that something happened due to a QTimer event.

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

[kmymoney] [Bug 491649] Ledger

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
The bug entry is a bit ambiguous: the title is "New ledger" but the version
talks about 5.1.3. The new ledger code is currently only available in git
master.

In 5.1.3 the option to suppress the display of the number column is called
"Always show a No. field". For certain account types the number column is not
shown by default (e.g. Cash). This option allows it to display it nevertheless.
The option has been removed in git master.

In git master, certain columns can be hidden for all accounts. The number
column is among them. The colors in the git master version are controlled by
the selected KDE color setting.

Does this provide enough information so that we can close the entry? Otherwise,
please provide more details to what you are looking for and change it to a wish
list item.

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

[kmymoney] [Bug 491631] kmymoney doesn't accept dead keys in "Pay to" field

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

--- Comment #7 from Thomas Baumgart  ---
Sorting is locale aware in the master branch, so that is fixed.

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

[kmymoney] [Bug 491631] kmymoney doesn't accept dead keys in "Pay to" field

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

Thomas Baumgart  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #6 from Thomas Baumgart  ---
Sorting is a different problem. I tried a few things and it all comes down to
what Ingo already reported: The compose key has no function when the popup
window of the completer is visible. Pressing ESC closes the popup window and
then the compose key works as expected.

I checked KMail and that does not show the problem in the recipient address
field. Did not follow up on which widgets KMail uses at this point.

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

[kmymoney] [Bug 441857] Online Banking Setup

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

--- Comment #22 from Thomas Baumgart  ---
See bug 435581 comment 12 for details why AqBanking is not available in the
versions build on KDE CI/CD and what alternatives exist. Another alternative to
use OFX downloads would be to use KMyMoney's own OFX interface. Unfortunately,
the OFX parameter database at www.ofxhome.com does not exist anymore but
providing the OFX parameters manually still works. Maybe, you can give that a
try.

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

[kmymoney] [Bug 409237] Wrong data in database splits record

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #2 from Thomas Baumgart  ---
Updating state to wait for feedback.

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

[kmymoney] [Bug 409237] Wrong data in database splits record

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

--- Comment #1 from Thomas Baumgart  ---
Created attachment 172540
  --> https://bugs.kde.org/attachment.cgi?id=172540&action=edit
The three parts (value, shares, price)

I am unable to duplicate this with current master. See attached screenshot
showing splits of two investment transactions. Am I missing something? How can
the problem be duplicated?

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

[kmymoney] [Bug 470225] Segfault after hiding reconciled transactions

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
Should we keep this open since you cannot reproduce the problem or simply close
it?

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

[kmymoney] [Bug 469714] Crash when changing currency price precision

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #5 from Thomas Baumgart  ---
I am unable to reproduce this problem in the current master version, so I
assume this has been fixed in the meantime. Question to the OP: can you
reproduce the problem with current master?

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

[kmymoney] [Bug 441857] Online Banking Setup

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #20 from Thomas Baumgart  ---
It's been a long time and looking at the git commit history, we made a few
modifications to the OFX code. Is it possible for the OP to retest with the
current master version from
https://cdn.kde.org/ci-builds/office/kmymoney/master/windows/ and report back?

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

[kmymoney] [Bug 468959] Context menu move transaction selector window width should be dynamic

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

Thomas Baumgart  changed:

   What|Removed |Added

   Severity|grave   |wishlist
Summary|Context menu move   |Context menu move
   |transaction selector window |transaction selector window
   |too small   |width should be dynamic

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

[kmymoney] [Bug 433380] Creating new currencies causes false entries in the database

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

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REOPENED|NEEDSINFO

--- Comment #15 from Thomas Baumgart  ---
What is the status of this bug in master?

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

[kmymoney] [Bug 477604] corrupted file kmymoney

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
Thierry, can you please provide some details on how to reproduce the problem
using the attached file? Without them it is kind of hard to investigate the
problem.

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

[kmymoney] [Bug 441801] KMyMoney crash after configure toolbar then select new view

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

Thomas Baumgart  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/9552a6
   ||3ea5e733ad2333a60344e74a2e3
   ||03d6395
   Version Fixed In||5.2
 Resolution|--- |FIXED

--- Comment #10 from Thomas Baumgart  ---
Git commit 9552a63ea5e733ad2333a60344e74a2e303d6395 by Thomas Baumgart.
Committed on 12/08/2024 at 09:04.
Pushed by tbaumgart into branch 'master'.

Prevent crashes when changing toolbars
FIXED-IN: 5.2

M  +27   -1kmymoney/kmymoney.cpp
M  +1-0kmymoney/views/kmymoneyview.cpp

https://invent.kde.org/office/kmymoney/-/commit/9552a63ea5e733ad2333a60344e74a2e303d6395

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

[kmymoney] [Bug 491145] Home Page and Reports not showing data

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #10 from Thomas Baumgart  ---
Thanks. This commit is dated Mar 12, 2024. On May 17, 2024 we added this
commit: https://invent.kde.org/office/kmymoney/-/commit/b2067be54 which solves
a problem with invalid XML in the file. I expect this to be the case for the
trouble you experience with the shortened file. The current build of the MacOS
version on the KDE CI/CD system still seems to be broken. I set the status of
this bug entry back to REPORTED so that you can check once we are able to see a
newer version.

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

[kmymoney] [Bug 491145] Home Page and Reports not showing data

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

--- Comment #8 from Thomas Baumgart  ---
> ...  it really seemed to mess with my .kmy file, reducing it from ~960KB to 
> 306KB

That does not sound right. What is the exact version of your failing KMyMoney
application (see Help/About KMyMoney). As example, mine currently says
"5.1.80-30e479294".

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

[kmymoney] [Bug 491145] Home Page and Reports not showing data

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

--- Comment #5 from Thomas Baumgart  ---
I would very much appreciate some feedback and details on the "disappearing
favorite reports".

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

[kmymoney] [Bug 491353] Online price updates stopped working

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

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
I was able to extract data from coingecko.com using the latest master versions
of Alkimia and KMyMoney. Older versions may not be able to extract the date
because they don't support %u as date format but the price should be doable.

Online quote settings generated with Alkimia 8.1.72-45fc9b7-webengine-qtnetwork

URL:
https://api.coingecko.com/api/v3/simple/price?ids=%1&vs_currencies=%2&include_last_updated_at=true
Download mode: Default
Data format: HTML
Identifier: 
Select by: Symbol
Price: :{"[^"]+":([^,]+),
Price decimal separator: Period (.)
Date: "last_updated_at":(\d+)
Date format: %u
Default identifier: 
Remote source: not checked


Result:

Fetching URL
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_last_updated_at=true...
URL found:
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_last_updated_at=true...
Symbol found: ''
Price found: '60665' (60.665)
Date found: '1723296361'
Date format found: '1723296361' -> 'Sa. Aug. 10 2024'
bitcoin usd bitcoin usd Sa. Aug. 10 2024 60665

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

[kmymoney] [Bug 491353] Online price updates stopped working

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

Thomas Baumgart  changed:

   What|Removed |Added

Summary|I use KMyMoney version  |Online price updates
   |5.1.2. on KUbuntu. "Update  |stopped working
   |stock and currency prices"  |
   |do not work any more with   |
   |all crypto currencies. As   |
   |an "Online source" I use|
   |Financial Times for all |
   |stocks, due to Yahoo|
   |Finance is not working any  |
   |more.  I tried CoinGecko|
   |API |

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 445591 Summary: Enter a dividend payment transaction in foreign currency 
and kmymoney crashes
https://bugs.kde.org/show_bug.cgi?id=445591

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

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

[kmymoney] [Bug 445591] Enter a dividend payment transaction in foreign currency and kmymoney crashes

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

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/offi |https://invent.kde.org/offi
   |ce/kmymoney/-/commit/1fc6f9 |ce/kmymoney/-/commit/30e479
   |1ecf4f9e0704fcafce8559e0dea |294c4c31e2887715d550b37ac6f
   |1c5ae99 |1eacc5f
 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #8 from Thomas Baumgart  ---
Git commit 30e479294c4c31e2887715d550b37ac6f1eacc5f by Thomas Baumgart.
Committed on 10/08/2024 at 09:57.
Pushed by tbaumgart into branch 'master'.

Improve multi currency handling

Reuse already entered exchange rates for other splits and totals

This resolves the issue that the currency calculator is shown too many
times when entering a transaction.
FIXED-IN: 5.2

M  +1-0kmymoney/dialogs/CMakeLists.txt
M  +0-1kmymoney/dialogs/kcurrencycalculator.h
A  +142  -0kmymoney/dialogs/kcurrencyconverter.cpp [License:
GPL(v2.0+)]
A  +52   -0kmymoney/dialogs/kcurrencyconverter.h [License: GPL(v2.0+)]
M  +13   -12   kmymoney/views/investtransactioneditor.cpp
M  +2-0kmymoney/views/investtransactioneditor.h
M  +0-1kmymoney/views/multitransactioneditor.cpp
M  +1-1kmymoney/views/multitransactioneditor.h
M  +13   -1kmymoney/views/newspliteditor.cpp
M  +3-1kmymoney/views/newspliteditor.h
M  +7-6kmymoney/views/newtransactioneditor.cpp
M  +1-1kmymoney/views/newtransactioneditor.h
M  +17   -4kmymoney/views/splitdelegate.cpp
M  +26   -0kmymoney/views/transactioneditorbase.cpp
M  +9-0kmymoney/views/transactioneditorbase.h
M  +11   -1kmymoney/widgets/amountedit.cpp
M  +5-0kmymoney/widgets/amountedit.h
M  +6-0kmymoney/widgets/creditdebitedit.cpp
M  +5-0kmymoney/widgets/creditdebitedit.h
M  +15   -0kmymoney/widgets/multicurrencyedit.h

https://invent.kde.org/office/kmymoney/-/commit/30e479294c4c31e2887715d550b37ac6f1eacc5f

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

[kmymoney] [Bug 445591] Enter a dividend payment transaction in foreign currency and kmymoney crashes

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

Thomas Baumgart  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/1fc6f9
   ||1ecf4f9e0704fcafce8559e0dea
   ||1c5ae99
 Resolution|--- |FIXED
   Version Fixed In||5.2

--- Comment #5 from Thomas Baumgart  ---
Git commit 1fc6f91ecf4f9e0704fcafce8559e0dea1c5ae99 by Thomas Baumgart.
Committed on 07/08/2024 at 12:23.
Pushed by tbaumgart into branch 'master'.

Fix multi currency issues with investment transaction editor
FIXED-IN: 5.2

M  +35   -5kmymoney/views/investtransactioneditor.cpp
M  +1-0kmymoney/widgets/amountedit.cpp

https://invent.kde.org/office/kmymoney/-/commit/1fc6f91ecf4f9e0704fcafce8559e0dea1c5ae99

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

[kmymoney] [Bug 445591] Enter a dividend payment transaction in foreign currency and kmymoney crashes

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

--- Comment #6 from Thomas Baumgart  ---
Git commit dd110e199f5a9763d2dcb0edc0691f7e05d497d3 by Thomas Baumgart.
Committed on 07/08/2024 at 12:23.
Pushed by tbaumgart into branch 'master'.

Add feature to prevent sending signals

If MyMoneyFile signals are not blocked during this operation, a crash
can happen when a price update is performed within two nested dialogs
(split dialog and the currency calculator). Blocking the signals
resolves the issue (for me).

M  +14   -0kmymoney/dialogs/kcurrencycalculator.cpp
M  +9-0kmymoney/dialogs/kcurrencycalculator.h

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

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 445591 Summary: Enter a dividend payment transaction in foreign currency 
and kmymoney crashes
https://bugs.kde.org/show_bug.cgi?id=445591

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

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

[kmymoney] [Bug 433313] GPG encryption

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

--- Comment #21 from Thomas Baumgart  ---
It should, because I tested the fix also with gcc. The problem is not so much
Windows but the compiler and runtime environment as it seems.

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

[kmymoney] [Bug 426400] Fix KF5 issues on Windows

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

Bug 435761 Summary: No gpg support for kmymoney available from CI builds
https://bugs.kde.org/show_bug.cgi?id=435761

   What|Removed |Added

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

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

[kmymoney] [Bug 435761] No gpg support for kmymoney available from CI builds

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

Thomas Baumgart  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
   Version Fixed In||5.2

--- Comment #15 from Thomas Baumgart  ---
Fixed in the meantime

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

Re: issue with reconciliation progress bar

2024-08-06 Thread Thomas Baumgart via KMyMoney-devel
On Montag, 5. August 2024 19:23:23 CEST Jack Ostroff via KMyMoney-devel wrote:

> Several times over the past few days, when I reconcil, instead of the  
> reconcile bar actually progrssing from 0 to 100 and then disappearing,  
> it shows up and just stays there.  These seem to be cases where the  
> actual reconciliation is completed within one second or so.  There is  
> no button on that dialog, but when I just closed it (x in upper right)  
> the reconciliation summary was displayed (it had actually already been  
> displayed behind the other) and I was able to close it by clicking "OK."
> 
> Could this be some timing issue related to the one second delay  
> mentioned in the commit message?

Yes, fixed with 
https://invent.kde.org/office/kmymoney/-/commit/749c3ddc430cd30cb9baff5ba77dc18769551826

-- 

Regards

Thomas Baumgart

-
When you say, 'I wrote a program that crashed Windows,'
people just stare at you blankly and say,
'Hey, I got those with the system, for free.' -- Linus Torvalds
-


signature.asc
Description: This is a digitally signed message part.


Re: reconciliation bars not showing in investment account

2024-08-05 Thread Thomas Baumgart via KMyMoney-devel
On Sonntag, 4. August 2024 01:02:25 CEST Jack Ostroff via KMyMoney-devel wrote:

> I'm doing my monthly reconciliation of a bunch of my investment  
> accounts, and on the second one noticed that the green reconciliation  
> bars in the ledger are not showing up for my investment accounts.  I'm  
> not actually sure when this started.  Am I missing something or should  
> I file it as a bug?

What is the sorting option in the ledger? These bars are only shown when
the first sort attribute is date based (I think). Could that be causing
the behavior you encounter?


-- 

Regards

Thomas Baumgart

-
There is no place like '[::1]'
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 433313 Summary: GPG encryption
https://bugs.kde.org/show_bug.cgi?id=433313

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

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

[kmymoney] [Bug 433313] GPG encryption

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

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/669584
   ||f9
 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #19 from Thomas Baumgart  ---
Now fixed completely and verified to work on Windows to encrypt and decrypt
files as expected.

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

[kmymoney] [Bug 489260] Ctrl+Ins generates error message . . . change to keyboard shortcut not retained

2024-07-30 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=489260

--- Comment #6 from Thomas Baumgart  ---
As an alternative, we could use Alt+Ins as KMyMoney's default for this action.
I don't know of any other default that uses it.

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

[kmymoney] [Bug 433313] GPG encryption

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=433313

--- Comment #17 from Thomas Baumgart  ---
Using "C:\Windows\System32\perfmon.exe /res" the associated modules list on the
CPU tab shows that it uses libgpgme-11.dll from the kmymoney/bin directory and
none of the GPG4Win installation which provides/uses libgpgme-14.dll.

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 490969 Summary: Information about the required gpg setup or error messages 
are not directly visible
https://bugs.kde.org/show_bug.cgi?id=490969

   What|Removed |Added

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

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

[kmymoney] [Bug 490969] Information about the required gpg setup or error messages are not directly visible

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=490969

Thomas Baumgart  changed:

   What|Removed |Added

   Version Fixed In||5.2
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/579890
   ||4b1f3f6075d5a4cd349858067a6
   ||371d13e

--- Comment #6 from Thomas Baumgart  ---
Git commit 5798904b1f3f6075d5a4cd349858067a6371d13e by Thomas Baumgart.
Committed on 29/07/2024 at 15:12.
Pushed by tbaumgart into branch 'master'.

Present error information in a message widget instead of tooltip

Using a tooltip to provide error causes is not user friendly. This has
been replaced with a message widget which will be shown with the same
information.
FIXED-IN: 5.2

M  +12   -3kmymoney/plugins/xml/kcm_xmlstorage.cpp
M  +13   -5kmymoney/plugins/xml/xmlstoragesettings.ui

https://invent.kde.org/office/kmymoney/-/commit/5798904b1f3f6075d5a4cd349858067a6371d13e

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 490969 Summary: Information about the required gpg setup or error messages 
are not directly visible
https://bugs.kde.org/show_bug.cgi?id=490969

   What|Removed |Added

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

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

[kmymoney] [Bug 490969] Information about the required gpg setup or error messages are not directly visible

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=490969

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #5 from Thomas Baumgart  ---
Now it makes sense. I don't see it, because I have no errors :)

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 490969 Summary: Information about the required gpg setup or error messages 
are not directly visible
https://bugs.kde.org/show_bug.cgi?id=490969

   What|Removed |Added

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

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

[kmymoney] [Bug 490969] Information about the required gpg setup or error messages are not directly visible

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=490969

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #1 from Thomas Baumgart  ---
On 4, in git master the tooltip says "Configure" and on 5 (labeled "Use GPG
encryption") I don't see a tooltip at all. I must be missing something. What is
it? Can you provide a screenshot?

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

[kmymoney] [Bug 433313] GPG encryption

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=433313

--- Comment #15 from Thomas Baumgart  ---
Could this be of any help here to find out what is going on?

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/set-invalid-parameter-handler-set-thread-local-invalid-parameter-handler?view=msvc-170&viewFallbackFrom=vs-2017

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

[kmymoney] [Bug 433313] GPG encryption

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=433313

--- Comment #14 from Thomas Baumgart  ---
Located the culprit:

269420.426516   8316kmymoney.exeKGPGFile::close(5)
269520.605514   8316kmymoney.exeInvalid parameter passed to C
runtime function.
269620.638710   8316kmymoney.exeKGPGFile::close(6)

which is generated by

qDebug() << "KGPGFile::close(5)";
d->m_lastError = d->m_ctx->encrypt(d->m_recipients, d->m_data, dcipher,
GpgME::Context::AlwaysTrust).error();
qDebug() << "KGPGFile::close(6)";

but I still have no idea why it does not work on MSVC compiled code, but is
said to be working on Linux and MinGW.

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

[kmymoney] [Bug 433313] GPG encryption

2024-07-29 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=433313

--- Comment #12 from Thomas Baumgart  ---
Output of the trace messages:

1   0.008760kmymoney.exesaveToLocalFile(1)
2   3.1251278760kmymoney.exesaveToLocalFile(2)
3   3.1252758760kmymoney.exesaveToLocalFile(3)
4   3.1253738760kmymoney.exesaveToLocalFile(4)
5   3.2267048760kmymoney.exesaveToLocalFile(5)
6   3.2267658760kmymoney.exesaveToLocalFile(6) addRecipient
"0x40097792"
7   3.3079928760kmymoney.exesaveToLocalFile(6) addRecipient
"x...@kde.org"
8   3.3879638760kmymoney.exesaveToLocalFile(8)
9   3.3884868760kmymoney.exesaveToLocalFile(9)
10  3.3885188760kmymoney.exesaveToLocalFile(10)
11  3.3892178760kmymoney.exesaveToLocalFile(11)
12  3.5252908760kmymoney.exe"The currency pair BYR->BYN is
invalid. Omitting from storage."
13  3.5267848760kmymoney.exesaveToLocalFile(12)
14  3.7012258760kmymoney.exeInvalid parameter passed to C
runtime function.
15  3.7282238760kmymoney.exesaveToLocalFile(13)
16  3.7282718760kmymoney.exesaveToLocalFile(14)
17  3.7283838760kmymoney.exesaveToLocalFile(15)

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

[kmymoney] [Bug 433313] GPG encryption

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

--- Comment #11 from Thomas Baumgart  ---
Git commit 433179af8ff4a812731c291a2d40c58a40dbe0c3 by Thomas Baumgart.
Committed on 29/07/2024 at 06:31.
Pushed by tbaumgart into branch 'master'.

Add trace messages to figure out encryption failure on Windows

This is to figure out what triggers the message "Invalid parameter
passed to C runtime function." which we see in the debug output when
writing using the encryption method.

M  +15   -0kmymoney/plugins/xml/xmlstorage.cpp

https://invent.kde.org/office/kmymoney/-/commit/433179af8ff4a812731c291a2d40c58a40dbe0c3

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

[kmymoney] [Bug 433313] GPG encryption

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

--- Comment #9 from Thomas Baumgart  ---
With current master, I see the following line using dbgviewpp when writing
encrypted:

  Invalid parameter passed to C runtime function.

This message does not get written (and the file gets created and written to
disk) when saving unencrypted as .kmy file. I am running out of ideas how to
debug this further. Any help appreciated.

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

[kmymoney] [Bug 433313] GPG encryption

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

Thomas Baumgart  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #8 from Thomas Baumgart  ---
Well, that was a bit too quick. I need to re-open because saving the data
somehow does not work because no file is created - also no error is shown. Back
to debugging mode.

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 433313 Summary: GPG encryption
https://bugs.kde.org/show_bug.cgi?id=433313

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

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

[kmymoney] [Bug 488491] Make 5.2 release

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

Bug 433313 Summary: GPG encryption
https://bugs.kde.org/show_bug.cgi?id=433313

   What|Removed |Added

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

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

[kmymoney] [Bug 433313] GPG encryption

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

Thomas Baumgart  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
   Version Fixed In||5.2
 Resolution|--- |FIXED

--- Comment #7 from Thomas Baumgart  ---
I just tried to duplicate this with current master. Intalled GPG4Win with all
default settings (incl. installation of Kleopatra for key management), created
a keypair and started KMyMoney. GPG was available and is working. I consider
this fixed in 5.2.

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

[libalkimia] [Bug 474801] Order of quote details widget when switching with 'Tab' is not ascending

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

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/offi |https://invent.kde.org/offi
   |ce/alkimia/-/commit/13ef161 |ce/alkimia/-/commit/c2b7bf2
   |64cf63d44df56d4858cf28de126 |496906e061aafa96af981be0c2e
   |689866  |ef124b
 Resolution|--- |FIXED
   Version Fixed In|8.1.3   |8.2
 Status|REOPENED|RESOLVED

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

Fix tab order in AlkOnlineQuotesWidget

Apparently to disable and enable a widget has an impact on the tab order
between the widgets. The solution is to reset the tab order to the
desired form after the status of the widgets has been changed.
FIXED-IN: 8.2

M  +16   -0src/alkonlinequotedetails.ui
M  +16   -0src/alkonlinequoteswidget.cpp

https://invent.kde.org/office/alkimia/-/commit/c2b7bf2496906e061aafa96af981be0c2eef124b

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

New recover key

2024-07-27 Thread Thomas Baumgart via KMyMoney-devel
Hi all,

today I changed the current development version to use a brand new recover key.
This became necessary, as the one used in version <= 5.1.3 is not considered
safe anymore with its 1024 bit key size.

The new key has a size of 4096 which should cover us for some time.

This affects all those of you who are using the bleeding edge master version
or build from source code of the master branch, use GPG encryption and also
encrypt using the recover key (would be nice to know, who is using that feature
except me).

All users who do not use GPG encryption and the recover key and all those 
who use the stable version <= 5.1.3 are not affected. The old key can be
used with the stable version until it expires early January of next year.
And in case you are about to ask: no, I won't extend it (again).

The details have been added to the KMyMoney web site at

   https://kmymoney.org/recovery.html

-- 

Regards

Thomas Baumgart

-
Please don't send me proprietary file formats,
use ISO standard ODF instead (ISO/IEC 26300)
-


signature.asc
Description: This is a digitally signed message part.


Re: Application crashing at startup. Master

2024-07-21 Thread Thomas Baumgart via KMyMoney-devel
Hi all,

On Sonntag, 21. Juli 2024 02:38:55 CEST Jack via KMyMoney-devel wrote:

> JV,
> 
> Where did you notice that initialization.  We need to see the full 
> console output, or at least a dozen or so lines before the crash.  I 
> feel like we don't have all the relevant information.  KMM loads all 
> available plugins at startup, it doesn't wait until it needs to use 
> them. Seeing where in the process of startup it crashes might help us 
> figure out exactly what is failing.
> 
> Separately, have you tried compiling 5.1.3 or git head 5.1 branch?  That 
> might tell us if it is something specific to master or if it's something 
> with your configuration.

I spent some time last night in a screen share session with JV. Some of the
time was spent on setting up the session. Once I could work on his box, we
started the analysis of what's going on.

I was wondering, why the kmm libraries show up in /lib64 when I expect them
at /usr/lib64 (where I also found them). Turns out, that on Fedora /lib64 is
a symlink to /usr/lib64. Ok, so not the cause of the problem.

I then added some debug code to the reportsview ctor where the crash happens.
We were wondering, because we did not see any debug output. Turns out, that
the missing debug output was caused by a missing configuration in
~/.config/QtProject/qtlogging.ini. Once we turned that on, we saw all the
messages we are used to.

But where's the one I added just infront of the crash location? We saw the
crash happening but no debug output. That is strange. We found out, that
all plugins were build a few moments ago, except the reports plugin which
carried a date of about 4 weeks ago. Strange, but it would explain what is
going on. We manually removed the plugins libraries et voilà: KMyMoney was
running again without crash.

Looking closely at the cmake output, JV spotted that the reports view was
listed among the things that are disabled. Well, that would explain, why it
never replaced the old version. But why did it not get built? Further
investigation showed, that the KChart module (which is a pre-requisite for
the reports plugin) was not found during cmake time. Long story short: the
dev package of it was missing while the library was installed.

How did all this happen: JV build on a prior Fedora version (KChart dev
package was found and the reports plugin was built. Then he upgraded to
Fedora and that apparently removed the KChart dev package. and replaced 
it with KChart6 dev package, but that does not help here and started the
trouble. Then running cmake again, the reports plugin was not built and
installing KMyMoney kept the old version.

Installing the KChart dev package for KF5, rerunning cmake, compiling and
installing brought back the full functionality and JV is a happy camper.

Thomas


-- 

Regards

Thomas Baumgart

-
No matter how many mistakes you make or how slow you progress,
you are still way ahead of everyone who is not trying. -- unknown
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 490207] Scheduled transactions Not automatically entered

2024-07-21 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=490207

--- Comment #7 from Thomas Baumgart  ---
Created attachment 171863
  --> https://bugs.kde.org/attachment.cgi?id=171863&action=edit
Testfile with schedule that is overdue since Jan 1st on a monthly basis

If this file is opened and the "Settings/Scheduled transactions/Check schedules
on startup" is checked, then all due transactions will be entered into the
file. I don't see a problem on master.

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

Re: Application crashing at startup. Master

2024-07-19 Thread Thomas Baumgart via KMyMoney-devel
On Freitag, 19. Juli 2024 18:49:26 CEST jvap...@gmail.com wrote:

> Ok. Thanks. 
> 
> I also have a fedora system running kde plasma in case Gnome is the
> issue. But there I faced a similar issue, I cannot remember if it was
> the same exact issue. I came back to gnome because that kde was using
> plasma 6 and qt 6 modules so I didn't want to mix the issues. 
> 
> Anyways, I am attaching the file. 
> 
> Also, maybe I screwed something up because I was installing packages as
> it was saying it could not find them. 
> 
> thanks very much for the help. 
> 
> JV 
> 

Looked at the file's content. There seems to be some leftover of an old
installation. Not sure if it is causing your problems, but it sure does
not harm to clean it up.

/usr/lib64/qt5/plugins/kmymoney/reportsview.so (maybe a leftover from 5.1.x)
/usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so  (used by  master)

Maybe, there are other plugins still lingering in the previously used
directory for plugins.

For me using master, the directory /usr/lib64/qt5/plugins/kmymoney
only contains two sub-directories:

$ ls -p /usr/lib64/qt5/plugins/kmymoney
kcms/  onlinetasks/

and even they are empty. So they have been used by the 5.1 series
of KMyMoney whereas

$ ls -p /usr/lib64/qt5/plugins/kmymoney_plugins/
budgetview.so forecastview.so   kcms/   qifexporter.so  
 sqlstorage.so
checkprinting.so  gncimporter.soofximporter.so  qifimporter.so  
 woob.so
csvexporter.soicalendarexporter.so  onlinejoboutboxview.so  
reconciliationreport.so  xmlstorage.so
csvimporter.sokbanking.so   onlinetasks/reportsview.so

I just checked, that removing /usr/lib64/qt5/plugins/kmymoney
completely does not harm the use of the master version. So please
do just that and see if it makes a difference. The command is

sudo rm -rfi /usr/lib64/qt5/plugins/kmymoney

Hope that gets us a bit closer to the solution of the problem.

-- 

Regards

Thomas Baumgart

-
Computers let you make more mistakes faster than any other
invention in human history, with the possible exception
of handguns and tequila. --Mitch Radcliffe
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 460131] Make it possible/easier to open account's web site to download transactions

2024-07-19 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=460131

--- Comment #9 from Thomas Baumgart  ---
But that is exactly how it works (at least for me). The initial version was
only supporting the institutions entry and I added to override it with the
account's one lately. Now that I am looking at it again, I might move the URL
entry to the institution tab, which is probably better suited for this item.

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

Re: Application crashing at startup. Master

2024-07-19 Thread Thomas Baumgart via KMyMoney-devel
JV

can you please run the following commands and send the resulting list.txt
as attachment to this list?

  find / -name reportsview.so | xargs ls -ltr > list.txt
  find / -name reportsview.so | xargs md5sum >> list.txt

Don't worry about any permission errors that may show up and
please pay attention, that the second command has two > characters.

There is something really strange going on on your system which
we need to figure out.

Thomas

On Freitag, 19. Juli 2024 05:40:04 CEST kode Monk3y via KMyMoney-devel wrote:

> Ok. I was asked to send that. 
> 
> Here is what happens when I try to run the application from the
> terminal. 
> 
> 
>[kod3monk3y@fedora-thinkpade15 build]$ kmymoney -n 
>QSocketNotifier: Can only be used with threads started with QThread
>WebConnect: Starting server failed. Try to remove stale socket.
>WebConnect: Running in server mode
>QObject::connect(QAction, KReportsView): invalid nullptr parameter
>Segmentation fault (core dumped)
>
> thanks,
> 
> JV
> 
> On Thu, 2024-07-18 at 21:27 -0400, Jack via KMyMoney-devel wrote:
> > The build log is not helpful with a runtime crash.  Please launch by 
> > command line and post the output.  You can also try launching with 
> > "kmymone -n" to not load your data file, just in case there is some 
> > problem there.
> > 
> >   On 7/18/24 9:13 PM, kode Monk3y via KMyMoney-devel wrote:
> > 
> > > Hi all,
> > > 
> > > 
> > > 
> > > 
> > > The trouble I am having is the application crashes at startup.
> > > 
> > > FYI I ran a new git clone and compiled then tried to run the
> > > application. Whether through kdevelop or terminal, I get the same
> > > crash.
> > > 
> > > 
> > > I have a script I use to build the application:
> > > {
> > > 
> > > echo " Uninstall "
> > > sudo xargs rm < install_manifest.txt
> > > echo " Clearing the cache"
> > > rm CMakeCache.txt
> > > echo " Runinng cmake "
> > > ##cmake .. -DCMAKE_INSTALL_PREFIX=/usr -
> > > DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins -
> > > DCMAKE_BUILD_TYPE=Debugfull -ENABLE_UNFINISHEDFEATURES=on
> > > cmake .. -DCMAKE_INSTALL_PREFIX=/usr -
> > > DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins -
> > > DCMAKE_BUILD_TYPE=Debugfull -DENABLE_SQLSTORAGE=off -
> > > DENABLE_SQLCIPHER=off
> > > echo " running sudo "
> > > sudo make -j8
> > > echo " make install/fast "
> > > sudo  make install
> > > echo " Complete "
> > > } >> rebuild.jv.log
> > > 
> > > I basically just ran the make statement as specified in the
> > > telegram
> > > chat.
> > > 
> > > I am attaching the output of make > log.txt 2>&1
> > > 
> > > 
> > > I look forward to any help any of you can give.
> > > 
> > > thanks
> > > 
> > > Jesse V.
> 

-- 

Regards

Thomas Baumgart

-
Stay away from negative people. They have a problem for every solution!
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 460131] Make it possible/easier to open account's web site to download transactions

2024-07-19 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=460131

--- Comment #7 from Thomas Baumgart  ---
Created attachment 171773
  --> https://bugs.kde.org/attachment.cgi?id=171773&action=edit
Button to open assigned URL (insitution or account)

That button exists in the ledger view for a long time now. See attached
screenshot. It opens the URL entered in the account or in case that is empty,
the one stored with the institution. If none is available, the button is not
displayed. All this happens in the context of the selected account tab in the
ledger.

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

Re: Dutch language and another question

2024-07-16 Thread Thomas Baumgart via KMyMoney-devel
Roland,

On Montag, 15. Juli 2024 16:24:43 CEST Roland Smit via KMyMoney-devel wrote:

> Hi,
> 
> First off thank you for this very handy program. I installed it for my
> father so he can start doing his bookkeeping in something other than a
> spreadsheet.

Thank you for the nice comment and also for the willingness to contribute
to KMyMoney. This is very much appreciated and is exactly how open/free 
source development works.

> I noticed the Dutch language doesn't work yet. I'm happy to help out here
> if needed. Please let me know what to do next.

What do you mean by "doesn't work yet"? I do see a lot of messages already
translated, so you should at least see some Dutch on the screen. I can't
judge the quality, though.

In KDE we have the developers taking care of the actual application and its
coding and the translation teams. So the Dutch version is maintained by
the Dutch translation team and I ask you to please contact that team to
coordinate.

https://l10n.kde.org/ is the mainpage for translations and contains some
helpful links for the work around translations.

https://l10n.kde.org/team-infos.php?teamcode=nl is the direct link to
the Dutch team and provides information on how to get in touch with
them.

> I have a question about the payee section. Payees and payers are merged
> into a single list. Wouldn't it be clearer for the user to separate the
> two? And then offer only payers in the dropdown when adding a deposit and
> only payees when entering a withdrawal in ledger?
> 
> A second suggestion came to mind when using the application. I can imagine
> the list with payees gets very long over time. This might be a bit less
> overwhelming by selecting a category first under ledger and then only get a
> list of the payees with that default category. For example when choosing
> category groceries the drop-down list would only contain grocery stores.

Those sound like useful additions. Would you mind to enter them as wish list
items on https://bugs.kde.org/enter_bug.cgi?product=kmymoney&format=guided
so that they don't get forgotten? Although, the latest development version
does not differentiate between withdrawal and deposit as earlier versions did.
We'll see.

If you have any other questions please feel free to ask.

Thomas

-- 

Regards

Thomas Baumgart

-
F-E-A-R has two meanings: 'Forget Everything And Run' or
'Face Everything And Rise'. The choice is yours -- Zig Ziglar
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 490207] Scheduled transactions Not automatically entered

2024-07-16 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=490207

--- Comment #4 from Thomas Baumgart  ---
Did you try setting the "number of days in advance" to zero? That should do
exactly what you are looking for (at long as I understand your comment
correctly)

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

[kmymoney] [Bug 488480] Auto Reconcile not working

2024-07-16 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=488480

Thomas Baumgart  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

--- Comment #4 from Thomas Baumgart  ---
Close as not a bug according to feedback from OP.

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

[kmymoney] [Bug 460131] Make it possible/easier to open account's web site to download transactions

2024-07-14 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=460131

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/f610de
   ||815453c8a3628af8490f7714168
   ||c5563e5
 Resolution|--- |FIXED
   Version Fixed In||5.2
 Status|REPORTED|RESOLVED

--- Comment #5 from Thomas Baumgart  ---
Git commit f610de815453c8a3628af8490f7714168c5563e5 by Thomas Baumgart.
Committed on 14/07/2024 at 16:02.
Pushed by tbaumgart into branch 'master'.

Allow to override website URL on a per account basis

If an institution is assigned to the account the icon of the institution
will be used, a general one in other cases.
FIXED-IN: 5.2

M  +32   -2kmymoney/dialogs/knewaccountdlg.cpp
M  +56   -30   kmymoney/dialogs/knewaccountdlg.ui
M  +36   -23   kmymoney/views/simpleledgerview.cpp

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

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

[kmymoney] [Bug 465214] Show open/closed status on Edit Account page, and allow changing it there

2024-07-14 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=465214

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #4 from Thomas Baumgart  ---
That somehow does not make sense, because you cannot edit an account that is
closed (at least not in master). So I mark this as "not a bug".

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

[kmymoney] [Bug 470988] Back up numbers and location

2024-07-14 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=470988

Thomas Baumgart  changed:

   What|Removed |Added

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

--- Comment #2 from Thomas Baumgart  ---
Some information was asked but never received. So I set the status accordingly.

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

  1   2   3   4   5   6   7   8   9   10   >