Bug 236428

Summary: Ledger View - Can't match manually
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description allan 2010-05-05 13:24:15 UTC
Version:           3.97.2-svn1121075 (using 4.3.5 (KDE 4.3.5) "release 0", openSUSE 11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.12-0.2-desktop

Wanting to manually match two items, I right click to select them, but right clicking again in order to match, de-selects the other item so matching is not possible, except via saving and using v1.03.
Comment 1 Cristian Oneț 2010-05-05 13:28:01 UTC
Can't Crtl be used to select the two transactions to use the match action?
Comment 2 allan 2010-05-05 14:04:49 UTC
(In reply to comment #1)
> Can't Crtl be used to select the two transactions to use the match action?

Ctrl +right click just deselects, as does CTRL+ leftclick, but I've just found at the foot a 'match' button I hadn't used or noticed before.  It didn't actually do the match though as, probably, both items had been imported.  I'll try again next time.
Comment 3 Alvaro Soliverez 2010-05-05 14:24:18 UTC
So, the problem is that it doesn't match the transactions, or that you select them, and right-clicking on them results in only one being selected?
I don't quite grasp what the error is
Comment 4 allan 2010-05-05 15:43:29 UTC
(In reply to comment #3)
> So, the problem is that it doesn't match the transactions, or that you select
> them, and right-clicking on them results in only one being selected?
> I don't quite grasp what the error is

The latter.  It's not possible to match because 'right clicking again in order to match, de-selects the other item'.  Only one remains selected, so no match.
Comment 5 Cristian Oneț 2010-05-05 15:49:12 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > So, the problem is that it doesn't match the transactions, or that you select
> > them, and right-clicking on them results in only one being selected?
> > I don't quite grasp what the error is
> 
> The latter.  It's not possible to match because 'right clicking again in order
> to match, de-selects the other item'.  Only one remains selected, so no match.

OK, now I know what's causing this, I'll fix it. But does the matching work using the 'Match' action from the transaction form or from the transaction menu?
Comment 6 allan 2010-05-05 18:02:57 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > So, the problem is that it doesn't match the transactions, or that you select
> > > them, and right-clicking on them results in only one being selected?
> > > I don't quite grasp what the error is
> > 
> > The latter.  It's not possible to match because 'right clicking again in order
> > to match, de-selects the other item'.  Only one remains selected, so no match.
> 
> OK, now I know what's causing this, I'll fix it. But does the matching work
> using the 'Match' action from the transaction form or from the transaction
> menu?

It depends a bit on how you're holding your face!  Sometimes, yes,  Sometimes, no.  It wouldn't, then it did, and now it doesn't.  I don't suppose that helps much.  So, to continue experimenting.  After a few assorted key presses, it worked using the button at the bottom of the form.  OK, start again.  Match works OK from the form.  Start again.  Match does NOT work from transaction menu.  Now form doesn't work either.  Hit space bar and reselect the item that became unselected and now match from form OK.  Matching from the transaction menu never works, and in fact stops matching from the form.  Space bar clears that condition and match from form works.

This is with bank transactions.  There is a separate problem affecting matching of investment items That Thomas looked at a few weeks ago, and for that I still have to use v1.03.
Comment 7 Cristian Oneț 2010-05-05 19:51:18 UTC
SVN commit 1123250 by conet:

BUG: 236428
This fix contains two fixes actually:
1. When right clicking on an already selected item don't change the selection
2. Fix the match action which wasn't working when the match action's text from the menu was retrieved because it contained the '&' character which marks the accelerator.

 M  +4 -1      kmymoney.cpp  
 M  +3 -0      widgets/register.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1123250