Summary: | Color picking alternate invocation gets stuck when un-focusing the Krita window | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Phoenix Enero <phoenix.enero> |
Component: | Tablets (tablet issues are only very rarely bugs in Krita!) | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, halla |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | All | ||
Latest Commit: | https://commits.kde.org/krita/24479fd31531a5107f49c258473620db89b3eb94 | Version Fixed In: | |
Sentry Crash Report: |
Description
Phoenix Enero
2016-09-25 06:32:13 UTC
Forgot to add: The tablet I'm using is HUION H610 Pro. Hah, I still can reproduce the problem... even after my recent tablet support refactoring. Let's fix it soon :) Okay, the problem is reproducible on both Linux and Windows on any kind of tablets. Git commit 24479fd31531a5107f49c258473620db89b3eb94 by Dmitry Kazakov. Committed on 18/04/2019 at 10:06. Pushed by dkazakov into branch 'master'. Workaround Krita canvas cursor update when application has no input focus When we have no input focus, we cannot track keyboard key press/release events (for security reasons). But at the same time, the user can easily hover Krita canvas, and we should show him somewhat correct cursor. So here we just try to fetch at least basic modifiers state from mouse/ tablet events. It is perfectly allowed by OS. Yes, this workaround will not fetch custom modifiers like V-key switch for straight lines. But I don't think anyone will worry about it. M +24 -1 libs/ui/input/kis_input_manager_p.cpp M +26 -0 libs/ui/input/kis_shortcut_matcher.cpp M +10 -0 libs/ui/input/kis_shortcut_matcher.h https://commits.kde.org/krita/24479fd31531a5107f49c258473620db89b3eb94 |