Bug 452897 - Cannot add reference image by drag and drop
Summary: Cannot add reference image by drag and drop
Status: RESOLVED DUPLICATE of bug 452856
Alias: None
Product: krita
Classification: Applications
Component: Tools/Reference Images (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: amyspark
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-04-23 08:30 UTC by Alvin Wong
Modified: 2022-04-24 13:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin Wong 2022-04-23 08:30:48 UTC
1. Drag and drop an image from Windows Explorer or Chrome into Krita
2. Select "Insert as Reference Image"
3. Nothing happens

(If dragging from Firefox, the "Multiple Paste Sources Detected" dialog will pop up, which would then allow the image to be added as a reference image.)

Regression from 5.0.5.

(Nightly f665ca6c0a)
Comment 1 amyspark 2022-04-23 13:26:06 UTC
This piece of code keeps whack-a-moling...
Comment 2 amyspark 2022-04-24 00:31:19 UTC
Cannot reproduce on commit eeec8af100. Tried with Edge 100.0.1185.50  and Vivaldi 5.1.2567.57.

In both browser cases, dragging and dropping an image results in the network access flow triggering, accepting the request will insert the reference image correctly. In the Windows Explorer case, inserting the reference image works out of the box.

Awaiting a complete repro case.
Comment 3 amyspark 2022-04-24 13:17:00 UTC
Closing as duplicate of 452856 because, on old enough Chromes (<96 iirc), the sole source attached to a paste is a bitmap and these would get ignored if the source selection was set to PASTE_ASK in the preferences.

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