Bug 450416 - Dragging in documents will lock old documents so no actions can be performed until the application gets switched
Summary: Dragging in documents will lock old documents so no actions can be performed ...
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 5.0.2
Platform: Homebrew (macOS) macOS
: NOR minor
Target Milestone: ---
Assignee: vanyossi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-16 22:53 UTC by Martin Braun
Modified: 2022-03-03 14:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Braun 2022-02-16 22:53:32 UTC
SUMMARY
When dragging in two images and open both as documents, so that you have two tabs, only on the last added document the actions work until switching applications. Also occurs on DMG installation. More info: https://krita-artists.org/t/macos-i-have-to-unfocus-and-refocus-krita-to-make-the-old-tab-work-when-opening-a-new-document-via-drag-n-drop/36962/


STEPS TO REPRODUCE
1. Drag in first image (i.e. PNG)
2. Drag in second image and select New Document
3. Go back to the first image, use the select tool, no action can be performed

OBSERVED RESULT
Actions are only possible on the last added document until switching between applications.

EXPECTED RESULT
Actions should be possible on all documents right away.

SOFTWARE/OS VERSIONS
macOS: 12.1 (21C52)

ADDITIONAL INFORMATION
Issue doesn't happen when using the file dialog to open documents, so it has to be related to the drag-in routine.
Comment 1 vanyossi 2022-02-17 17:23:18 UTC
I can reproduce this bug, I'll look into this.

Besides what is described when switching applications and coming back, if Krita had one of the documents not receiving as an active document, when switching back to krita it switches automatically to the last document added (the only in which the actions work) probably indicating an event gets stuck/waiting until it is forced by the latest event, since krita goes back to normal after this.