Bug 457677 - Can't drag and drop pictures from browser
Summary: Can't drag and drop pictures from browser
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Reference Images (other bugs)
Version First Reported In: 5.1.0-RC1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 13:04 UTC by Alejandro
Modified: 2023-06-23 12:05 UTC (History)
2 users (show)

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


Attachments
attachment-20746-0.html (1.75 KB, text/html)
2022-08-09 13:57 UTC, Alejandro
Details
attachment-28426-0.html (1.32 KB, text/html)
2022-08-09 15:16 UTC, Alejandro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro 2022-08-09 13:04:50 UTC
This happens doing so outside the Reference Image tools.
When you do this, after showing the loading bar, it appears a text box that says: "this image" does not exist.
This doesn't happen when you "copy and paste". 
I wonder if that has something to do with the clipboard.

Good luck!

SOFTWARE/OS VERSIONS
Windows:  10
Comment 1 Halla Rempt 2022-08-09 13:19:54 UTC
I just tried this with an image from imgur and that worked. Which url did you try to D&D a reference image from?
Comment 2 Alejandro 2022-08-09 13:57:09 UTC
Created attachment 151196 [details]
attachment-20746-0.html

DeviantArt, Twitter, Reddit, Pinterest, Newgrounds, Pixiv, Tumblr and
Google Images.
This was an example of an image that failed to download:
https://www.deviantart.com/bakaerri/art/Power-Couple-925302807
My browser is google chrome, the last version, but it didn't work in
Microsoft Edge either.


El mar., 9 ago. 2022 10:19, Halla Rempt <bugzilla_noreply@kde.org> escribió:

> https://bugs.kde.org/show_bug.cgi?id=457677
>
> Halla Rempt <halla@valdyas.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>              Status|REPORTED                    |NEEDSINFO
>
> --- Comment #1 from Halla Rempt <halla@valdyas.org> ---
> I just tried this with an image from imgur and that worked. Which url did
> you
> try to D&D a reference image from?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Halla Rempt 2022-08-09 14:46:03 UTC
Edge is Chrome, so it's logical they'd behave the same. I was testing with firefox -- and there it worked. When I tested with Chromium, nothing happened.
Comment 4 Alejandro 2022-08-09 15:16:10 UTC
Created attachment 151197 [details]
attachment-28426-0.html

I don't know with Chromium, but I checked with Firefox and you are right,
it's working!
And it's interesting that it imports it as " .bmp " and not as " .jpg "
(like Krita tries to do when dragging and drop from Google Chrome).
Apparently, it's a "regular" Chrome problem from Windows.
(And, by the way, thanks so much for the fast replies!)

El mar, 9 ago 2022 a la(s) 11:46, Halla Rempt (bugzilla_noreply@kde.org)
escribió:

> https://bugs.kde.org/show_bug.cgi?id=457677
>
> --- Comment #3 from Halla Rempt <halla@valdyas.org> ---
> Edge is Chrome, so it's logical they'd behave the same. I was testing with
> firefox -- and there it worked. When I tested with Chromium, nothing
> happened.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Bug Janitor Service 2022-08-10 04:35:58 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 6 Halla Rempt 2022-08-10 08:44:01 UTC
I know we've had problems with chrome before -- it heads the clipboard fragment with a broken html header. There is a bug report for that in Chrome's bugzilla, but at one point we had a workaround.
Comment 7 Dmitry Kazakov 2023-06-23 12:05:18 UTC
It looks like the bug is now fixed, either in Krita or in Chrome (or, most probably, in both). Please check nightly builds:

https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/