Konsole: action shortcut issue
Hamish Rodda
rodda at kde.org
Fri Oct 19 22:22:51 UTC 2007
Hi Anders,
On Sat, 20 Oct 2007 05:54:39 am Anders Lund wrote:
> Were there ever a reaction to this?
Yes, I committed the patch with Robert's ok. There shouldn't be any more
clashes with konsolepart.
Cheers,
Hamish
> On Thursday 18 October 2007, Hamish Rodda wrote:
> > Hi Robert,
> >
> > Kate and KDevelop have been having issues with Konsole making shortcuts
> > ambiguous when it is embedded as a part in those apps. This means eg.
> > shift+left on the editor gets diverted to konsole.
> >
> > I saw that you are the author of kdebase/apps/konsole/src/Part.cpp and
> > was hoping you could look at the following patch to resolve this issue:
> >
> > Index: Part.cpp
> > ===================================================================
> > --- Part.cpp (revision 726550)
> > +++ Part.cpp (working copy)
> > @@ -84,6 +84,7 @@
> > _viewManager->widget()->setParent(parentWidget);
> >
> > setWidget(_viewManager->widget());
> > + actionCollection()->setAssociatedWidget(_viewManager->widget());
> >
> > // create basic session
> > createSession(QString());
> >
> > Basically this changes the shortcuts to have the shortcut context
> > Qt::WidgetShortcut, which means they only get triggered when the widget
> > has focus.
> >
> > I've done brief testing and noticed no difference when running konsole
> > standalone.
> >
> > Thanks for your consideration.
> >
> > Cheers,
> > Hamish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20071020/c4e681fb/attachment.sig>
More information about the KDevelop-devel
mailing list