Konsole: action shortcut issue
Hamish Rodda
rodda at kde.org
Thu Oct 18 01:57:20 UTC 2007
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/20071018/a6c85765/attachment.sig>
More information about the KDevelop-devel
mailing list