| Summary: | Cannot interact with canvas when selection on canvas is active and and switching back to its tab | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | krichbanana |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | Keywords: | regression |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | 6685687bd6 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
krichbanana
2026-02-06 14:14:20 UTC
I've identified the cause and a better repro method: TO REPRODUCE: 1. Open a canvas 2. Make a selection, keep it active 3. Open a second canvas (tab) 4. Click the first tab, with the canvas that has the selection CAUSE: It appears to have been first introduced with commit 433d716688f0a157079eeac129ae4ef94ae636a8, and boils down to a branch in KisSelectionActionsPanel::eventFilter that marks all FocusIn events as handled. Removing the FocusIn case from the 6.0 beta code prevents the bug from triggering. Interestingly, with the bug, deselecting the selection when the bugged tab is active restores access to the canvas. |