[Kmymoney-devel] Fwd: [Kmymoney2-user] Same key for different actions in different views possible?

Jack ostroffjh at users.sourceforge.net
Sat Jun 12 23:01:40 CEST 2010


I see one other possible issue here.  If "enter" is not defined (by the  
user) for any action, then I agree it should  work as Alvaro describes,  
which is to activate the default action in the current situation.   
However, once the user maps a key to a specific action, what happens  
when that key is hit in a situation where that action is not  
applicable?  I assume it should be ignored - but I haven't explicitly  
tested.

Jack

On 2010.06.07 14:11, Alvaro Soliverez wrote:
> Hello,
> this may be an issue in the way that we are handling the activation  
> of some slots. The way I see it, double-clicking or hitting Enter on  
> a selected item should have the same effect.
> 
> Basically, in Accounts, double-clicking an account opens the ledger.  
> Selecting it and hitting Enter should do the same.
> 
> I haven't had time to check it yet, but it's probably happening in  
> the SVN version.
> 
> Regards,
> Alvaro
> 
> ---------- Forwarded message ----------
> From: Alvaro Soliverez <asoliverez at gmail.com>
> Date: Mon, Jun 7, 2010 at 1:28 PM
> Subject: Re: [Kmymoney2-user] Same key for different actions in  
> different
> views possible?
> To: Volker Paul <volker.paul at v-paul.de>
> Cc: kmymoney2-user at lists.sourceforge.net
> 
> 
> 
> 
> On Mon, Jun 7, 2010 at 1:12 PM, Volker Paul <volker.paul at v-paul.de>  
> wrote:
> 
> > Hello Alvaro,
> >
> > thanks for your answer.
> > > actions (which allow you to define these shortcuts) are defined  
> for the
> > > whole application, that's why you get this message.
> > That's what I feared.
> > > Plus, assigning Enter or Return to any action is really looking  
> for
> > > trouble, as it is an implicit shortcut for any activation...
> > Exactly. When I am in Accounts view, and an account is selected
> > (highlighted),
> > then on pressing Enter, I'd expect the corresponding ledger to be  
> opened.
> > That is similar to a file manager like Dolphin. Select a directory  
> using
> > the arrow keys, press Enter and the directory is opened.
> > Or select a file, press Enter and the associated application is  
> opened
> > with that file.
> >
> > In the Ledger view, in Select mode, I would expect that with Enter
> > I begin editing the selected transaction.
> > In Edit mode, I would expect that Enter commits the edited  
> transaction,
> > as if clicking on the Enter button.
> > I took it for granted that the Enter key triggers the same action
> > as (clicking on) the Enter button.
> >
> > I usually set up my applications so they behave in a similar way,
> > that is, comparable action -> same key.
> > And for every action that I use frequently, I tend to define a  
> shortcut.
> >
> > Now I understand that there is nothing that can be done in short  
> term
> > to set up shortcuts as I would like, and I have to use a different
> > shortcut.
> >
> > But I hope that you understand my reasoning and perhaps
> > keep it in mind during future development.
> >
> >
> I agree with you that consistency is important and the behaviour you  
> mention
> is an expected one.
> What we can do in the short term is verify those shortcuts. If you
> double-click an account in the Accounts View, it opens the ledger.  
> Hitting
> Enter should do the same. The same when double-clicking a  
> transaction, so
> hitting Enter should do that.
> I'll verify that.
> Also, keep in mind that Enter and Return are different keys from the
> application point of view. So, perhaps one works, but not the other.
> 
> Regards,
> Alvaro
> 
> 

------quoted attachment------
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
> 
> 




More information about the KMyMoney-devel mailing list