https://bugs.kde.org/show_bug.cgi?id=399375

--- Comment #14 from Martin Flöser <mgraess...@kde.org> ---
To make it quite clear: I'm totally open to improve the situation. I'm not open
to change the default shortcut. As I said: changing the default shortcut
doesn't fix the problem. It just shifts it somewhere else. Yes, it's the easy
fix. But I don't like easy fixes. Those are mostly wrong and do more harm than
good.

What I like is analyze the situation and improve. What Krita needs is the
possibility to tell the window manager which modifier+mouse shortcut it needs
and the window manager should honor it. That is an important feature and very
important in the light of Wayland where KWin supports modifier+mouse shortcuts
in general and not just the alt+lmb as currently. We can work on making an
universal solution which suits both Krita and KWin and many more applications.
It needs that we stick our heads together and think about how this can be done.
And yes that would require Krita to also add code.

Nevertheless what I proposed as a short term solution is sane and can be easily
done: just check whether the window manager is KWin (dbus service org.kde.KWin)
open kwinrc, read the correct value and pop up a dialog "hey your window manger
uses alt to move the window. This breaks our foo feature. Do you want to change
it to windows key?" On yes, change the kconfig emit the dbus call for kwin to
reload the config and call it a day. That are less than 100 lines of code and
can be written in less than half an hour. And the mechanism is totally fine,
that's just how kwin's config works.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to