Bug 502707 - Keyboard shortcuts blocked after running certain scripts
Summary: Keyboard shortcuts blocked after running certain scripts
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Scripting (other bugs)
Version First Reported In: 5.2.9
Platform: macOS (DMG) macOS
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-12 12:15 UTC by w
Modified: 2025-04-12 12:15 UTC (History)
0 users

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 w 2025-04-12 12:15:07 UTC
SUMMARY
This bug concerns actions which normally display a dialog, but instead run with last used settings when activated via script. Encountered with Color to Alpha and tested with filters such as Blur.

After running one of these actions in a script, Krita keyboard shortcuts become unresponsive. This does not affect system-wide shortcuts like Cmd+Z or Cmd+Q. It affects some but not all Canvas Input shortcuts.

The effect can be unblocked by opening any dialog or unfocusing the application, but not by opening popups such as Patterns or switching tabs.

STEPS TO REPRODUCE
1. Run `Krita.instance().action('krita_filter_blur').trigger()` in a script.
2. Input any Krita-specific keyboard shortcut, e.g. x to swap colors: note no effect.
3. Open and close Krita Preferences. Note restored function.

OBSERVED RESULT
Shortcuts have no effect until "unstuck" by some action above.

EXPECTED RESULT
All shortcuts work as assigned.

SOFTWARE/OS VERSIONS
macOS: Sequoia 15.4