Hello Jack,<br>what we should do is not link it to a specific key, but to the activate or execute signal of the widget. That way, anything that is configured to execute/activate a widget will trigger the behaviour.<br><br>
Regards,<br>Alvaro<br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 6:01 PM, Jack <span dir="ltr"><<a href="mailto:ostroffjh@users.sourceforge.net">ostroffjh@users.sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I see one other possible issue here. If "enter" is not defined (by the<br>
user) for any action, then I agree it should work as Alvaro describes,<br>
which is to activate the default action in the current situation.<br>
However, once the user maps a key to a specific action, what happens<br>
when that key is hit in a situation where that action is not<br>
applicable? I assume it should be ignored - but I haven't explicitly<br>
tested.<br>
<br>
Jack<br>
<div><div></div><div class="h5"><br>
On 2010.06.07 14:11, Alvaro Soliverez wrote:<br>
> Hello,<br>
> this may be an issue in the way that we are handling the activation<br>
> of some slots. The way I see it, double-clicking or hitting Enter on<br>
> a selected item should have the same effect.<br>
><br>
> Basically, in Accounts, double-clicking an account opens the ledger.<br>
> Selecting it and hitting Enter should do the same.<br>
><br>
> I haven't had time to check it yet, but it's probably happening in<br>
> the SVN version.<br>
><br>
> Regards,<br>
> Alvaro<br>
><br>
> ---------- Forwarded message ----------<br>
> From: Alvaro Soliverez <<a href="mailto:asoliverez@gmail.com">asoliverez@gmail.com</a>><br>
> Date: Mon, Jun 7, 2010 at 1:28 PM<br>
> Subject: Re: [Kmymoney2-user] Same key for different actions in<br>
> different<br>
> views possible?<br>
> To: Volker Paul <<a href="mailto:volker.paul@v-paul.de">volker.paul@v-paul.de</a>><br>
> Cc: <a href="mailto:kmymoney2-user@lists.sourceforge.net">kmymoney2-user@lists.sourceforge.net</a><br>
><br>
><br>
><br>
><br>
> On Mon, Jun 7, 2010 at 1:12 PM, Volker Paul <<a href="mailto:volker.paul@v-paul.de">volker.paul@v-paul.de</a>><br>
> wrote:<br>
><br>
> > Hello Alvaro,<br>
> ><br>
> > thanks for your answer.<br>
> > > actions (which allow you to define these shortcuts) are defined<br>
> for the<br>
> > > whole application, that's why you get this message.<br>
> > That's what I feared.<br>
> > > Plus, assigning Enter or Return to any action is really looking<br>
> for<br>
> > > trouble, as it is an implicit shortcut for any activation...<br>
> > Exactly. When I am in Accounts view, and an account is selected<br>
> > (highlighted),<br>
> > then on pressing Enter, I'd expect the corresponding ledger to be<br>
> opened.<br>
> > That is similar to a file manager like Dolphin. Select a directory<br>
> using<br>
> > the arrow keys, press Enter and the directory is opened.<br>
> > Or select a file, press Enter and the associated application is<br>
> opened<br>
> > with that file.<br>
> ><br>
> > In the Ledger view, in Select mode, I would expect that with Enter<br>
> > I begin editing the selected transaction.<br>
> > In Edit mode, I would expect that Enter commits the edited<br>
> transaction,<br>
> > as if clicking on the Enter button.<br>
> > I took it for granted that the Enter key triggers the same action<br>
> > as (clicking on) the Enter button.<br>
> ><br>
> > I usually set up my applications so they behave in a similar way,<br>
> > that is, comparable action -> same key.<br>
> > And for every action that I use frequently, I tend to define a<br>
> shortcut.<br>
> ><br>
> > Now I understand that there is nothing that can be done in short<br>
> term<br>
> > to set up shortcuts as I would like, and I have to use a different<br>
> > shortcut.<br>
> ><br>
> > But I hope that you understand my reasoning and perhaps<br>
> > keep it in mind during future development.<br>
> ><br>
> ><br>
> I agree with you that consistency is important and the behaviour you<br>
> mention<br>
> is an expected one.<br>
> What we can do in the short term is verify those shortcuts. If you<br>
> double-click an account in the Accounts View, it opens the ledger.<br>
> Hitting<br>
> Enter should do the same. The same when double-clicking a<br>
> transaction, so<br>
> hitting Enter should do that.<br>
> I'll verify that.<br>
> Also, keep in mind that Enter and Return are different keys from the<br>
> application point of view. So, perhaps one works, but not the other.<br>
><br>
> Regards,<br>
> Alvaro<br>
><br>
><br>
<br>
</div></div>------quoted attachment------<br>
> _______________________________________________<br>
> KMyMoney-devel mailing list<br>
> <a href="mailto:KMyMoney-devel@kde.org">KMyMoney-devel@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/kmymoney-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kmymoney-devel</a><br>
><br>
><br>
<br>
<br>
_______________________________________________<br>
KMyMoney-devel mailing list<br>
<a href="mailto:KMyMoney-devel@kde.org">KMyMoney-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kmymoney-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kmymoney-devel</a><br>
</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>