Konsole: action shortcut issue

Anders Lund anders at alweb.dk
Fri Oct 19 19:54:39 UTC 2007


Were there ever a reaction to this?

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



-- 
Anders

www: http://www.alweb.dk
jabber: anderslund at jabber.dk




More information about the KDevelop-devel mailing list