[Kmymoney-devel] Minor Annoyance

Thomas Baumgart thb at net-bembel.de
Sun Aug 28 13:30:36 UTC 2011


Hi,

on Sunday 28 August 2011 09:28:12 Cristian Oneț wrote:

> On Dum 28 Aug 2011 08:34:53 Thomas Baumgart wrote:
> > > If I go back to the home screen the command in the menu and toolbar
> > > remain active. If you execute the commend it will update the last
> > > account that you viewed in the ledger. I think it should be disabled on
> > > the home screen. Only "Update all accounts..." should be active on the
> > > home screen.>
> > > 
> > > 
> > > If you access an account that is not mapped for online banking the
> > > command becomes disabled in the menu and toolbar. If you return to the
> > > home screen from an unmapped account they remain disabled as expected.
> > 
> > It's not only the update account in that case. It should be all account
> > handling function. So Account/Edit... should also be enabled when going
> > back  to the home screen. You could even delete the current selected
> > transaction in the ledger, and that certainly looks like a more severe
> > situation.
> 
> This is the way kmymoney is working for as long a I know it. It has a
> global selection of account, transaction, payee and other stuff upon which
> the actions are performed and can be performed from the whole application.
> I agree that it could be confusing to run a 'Delete transaction' when you
> are not actually viewing the transaction but trying to limit the
> selections to only those views that render that particular selection would
> be a work that could not be cleanly done.

Not sure about this. This used to work in the KDE3 days.

> The solution for the home view  would be a simple reset selections when
> going there but that would mean that by going trough the home view one
> would loose his selections and I don't agree with that.

Don't know if that is true either. The selections should be restored once a 
different view is selected. At least that was my design back in the KDE3 days. 
Not sure, what happened to it.

The logic for it is at the beginning and end of KMyMoneyView::showPage() but 
that is never called in the KDE4 version as a consequence of porting from the 
KJanusWidget to the KPageWidget.

> Other solutions would be enabling the actions depending on the active view
> but that would be again error prone. Maybe the home view could render the
> current account selection but that would leave the transaction/payee issue
> unsolved. And I didn't even mention the other views which render selective
> information.
> 
> With this being said I would vote for leave it as it is because I don't see
> a solution that wouldn't be subjectable to criticism in the same way as
> the current behavior is.

I'll take a look.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
The words GUESS and KNOW when used in the context of
flying may produce entirely opposite results.
-------------------------------------------------------------
-------------- 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/20110828/1799fb7d/attachment.sig>


More information about the KMyMoney-devel mailing list