Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit bd06296f authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix Shift and Alt modifiers in OUtline Selection Tool

We should pass the keys to the tool, even when it is not active
to make sure its keyPress/keyRelease methods work fine. To make
it works we need to initialize the environment correctly in

parent c5f53ebd
......@@ -182,9 +182,14 @@ void KisToolInvocationAction::inputEvent(QEvent* event)
void KisToolInvocationAction::processUnhandledEvent(QEvent* event)
bool savedState = d->active;
KisToolProxy *savedToolProxy = d->runningToolProxy;
if (!d->runningToolProxy) {
d->runningToolProxy = inputManager()->toolProxy();
d->active = true;
d->active = savedState;
d->runningToolProxy = savedToolProxy;
bool KisToolInvocationAction::supportsHiResInputEvents() const
......@@ -100,6 +100,8 @@ void KisToolSelectOutline::mouseMoveEvent(KoPointerEvent *event)
if (m_continuedMode && mode() != PAINT_MODE) {
void KisToolSelectOutline::beginPrimaryAction(KoPointerEvent *event)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment