[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: Shortcut problem: Ctrl-Enter
From:       "Jens Dagerbo" <jens.dagerbo () gmail ! com>
Date:       2006-04-20 8:54:32
Message-ID: 982543070604200154n1e05e15bq4165d1fd4454f792 () mail ! gmail ! com
[Download RAW message or body]

On 4/20/06, Hamish Rodda <rodda@kde.org> wrote:
> On Thursday 20 April 2006 16:56, Vladimir Prus wrote:
> > 2. Failing (1), does it make sense to have "Ctrl-Enter" shortcut work
> > globally. If I type "Ctrl-Enter" in variablewidget, then certainly showing
> > popup menu in *editor* is unexpected. Any approach to limiting the shortcut
> > only to editor windows?
>
> I think that should be the case, how to technically achieve it with KAccel I
> don't know about.  In KDE4 it's already solved with
> QAction::setShortcutContext().

I agree. It should only happen with the editor focussed, but I didn't
know how to do that..


> > 3. Do we need this shortcut for popup menu at all?
>
> I'd say no, but then I didn't know about it...
> From my POV, just remove it.

If you want invoke any of the editor context actions without using the
mouse, you need some way to open the popup menu. We should in general
try to improve the use of mouseless navigation, imho.

If we think the unexpected opening of the editor context menu when the
focus is elsewhere is a grave and unsolvable bug that outweighs the
usefulness of the functionality, then I guess removing it makes sense,
but not just because it would be nice to have in a debugger toolview -
the editor is, without a doubt, used _much_ more.

// jens

_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic