[Kmymoney-devel] Completion misunderstanding?

Thomas Baumgart thb at net-bembel.de
Sun Feb 23 09:29:16 UTC 2014


Hi,

On Saturday 22 February 2014 12:43:01 Allan wrote:

> On 22/02/14 12:20, Alvaro Soliverez wrote:
> > Hello,
> > That behaviour might happen if the completion is not purging its
> > contents when the string changes. Did you check that?
> 
> My first thought was "Oh, God, now what have I broken?" as I'm working
> in that area.  So I then checked minus my work and it was the same.  So,
> I haven't gone beyond that as yet, but I'll look into it once I finish
> what I'm doing.

That dialog is using the KMyMoneyCategory widget which uses 
kmymoney/widget/kmymoneyaccountcompletion.cpp as the completion 
widget. This has some tricky stuff to work with account hierarchies. Not 
sure if you get bitten by that.

Thomas


> > On Sat, Feb 22, 2014 at 8:51 AM, Allan <agander93 at gmail.com> 
wrote:
> >> Possibly I have a misunderstanding about how Completion is 
supposed to
> >> work.
> >> 
> >> I'm looking at KCategoryReassignDlg.  If I select a category and right
> >> click to delete it, I get the drop-down populated with available
> >> categories to which to reassign entries.  So far, so good.  If now, I
> >> enter into the lineedit a single letter, I expect to get only categories
> >> which contain that letter.  However, that's not what happens, or 
rather
> >> it is, but only sometimes, depending on the letter I have entered.
> >> 
> >> For instance, if I enter an 'a', I get BAC, cat and car, which is what I
> >> would expect.  If though, I enter a 'b', I get BAC and cat, where I 
would
> >> expect only to see BAC.  If I enter '_', I get only _Dividend, again as
> >> expected.  But, if I enter 'i', I get the expected 'i' entries, but also
> >> BAC, cat and CHP.
> >> 
> >> Does anyone else see similar, or am I just wrong?
> >> 
> >> Payee deletion completion seems to perform as I expect.
> >> 
> >> Allan
> 
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Memory's the second thing to go ... Can't remember the first.
-------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140223/5c5f20ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140223/5c5f20ce/attachment.sig>


More information about the KMyMoney-devel mailing list