Bug 440352 - Too much inconsistency with the modifier keys(Krita 5.0 pre alpha)
Summary: Too much inconsistency with the modifier keys(Krita 5.0 pre alpha)
Status: RESOLVED DUPLICATE of bug 438784
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-28 12:10 UTC by stephen
Modified: 2022-06-28 11:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephen 2021-07-28 12:10:39 UTC
SUMMARY
There's too much inconsistency with the modifier keys
and it tends to freezes inputs and the cursor, up to the point
that you have to wait a certain amount of time before being able
to use Krita again.

STEPS TO REPRODUCE
1. Keep your pen in detection and press CTRL+ALT several times
2. Continue until the cursor gets frozen

OBSERVED RESULT
The cursor gets frozen as well as many inputs. 

OTHER OBSERVATIONS :
I. There's no way to reproduce this if your pen is not detected(
if you are using your mouse.)

II. The log viewer displays this before I pressed CTRL+ALT several
times while having my pen detected, I pressed CTRL only once :
-----------------------------------
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier)
     d->matcher.debugPressedKeys() = QVector()

-----------------------------------
III. Then it shows this after I pressed CTRL+ALT several times(twice in this case)
-----------------------------------

WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector(Qt::Key_Menu, Qt::Key_Control)
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier)
     d->matcher.debugPressedKeys() = QVector()
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier|AltModifier)
     d->matcher.debugPressedKeys() = QVector()
WARNING: modifiers state became inconsistent! Trying to fix that...
     inputEvent->modifiers() = QFlags<Qt::KeyboardModifier>(ControlModifier)
     d->matcher.debugPressedKeys() = QVector()
------------------------------

EXPECTED RESULT
Not this much warnings, no cursor/input freeze,
and a 100% consistent modifier key input, while having the pen
detected.

SOFTWARE/OS VERSIONS
Windows 10 1909
Krita v5.0 pre alpha(git 11dd91c)
Comment 1 Ahab Greybeard 2021-07-29 21:21:03 UTC
This is very similar to https://bugs.kde.org/show_bug.cgi?id=438784 but with a slightly different cause and a different effect
Comment 2 Halla Rempt 2022-06-28 11:28:05 UTC

*** This bug has been marked as a duplicate of bug 438784 ***