Bug 449624 - Selection copied into clipboard is mangled
Summary: Selection copied into clipboard is mangled
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (other bugs)
Version First Reported In: 5.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2022-02-04 22:04 UTC by yuvalabc
Modified: 2024-12-09 03:46 UTC (History)
2 users (show)

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


Attachments
top: result of pasting the selection into discord on firefox bottom: actual image data selected (27.12 KB, image/png)
2022-02-04 22:04 UTC, yuvalabc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yuvalabc 2022-02-04 22:04:44 UTC
Created attachment 146280 [details]
top: result of pasting the selection into discord on firefox
bottom: actual image data selected

SUMMARY

something about how krita copies selection is, for the lack of a better word, broken;
i cannot paste selections i copied into gimp. in addition, when pasting selections i copied/copy-merged from krita, into discord, while on firefox, the image which i pasted comes out mangled; a black line of pixels on the top of the image, and a few columns of pixels are wrapped from the left side of the image to the right


STEPS TO REPRODUCE
1. select a part of an image
2. copy it
3a. attempt pasting into gimp
3b. attempt pasting into discord on firefox

OBSERVED RESULT

gimp does not recognize any image data being on the clipboard.
on firefox the pasted image has a black pixel line on top, and pixels from the left wrapped to the right
Comment 1 Halla Rempt 2022-02-14 14:33:09 UTC
I cannot reproduce this on Linux or Windows 10 with Krita 5.02 and Gimp 2.10. I don't use discord, so I cannot test that. Pasting in Photopea in Firefox worked fine. 

What is the channel depth and color model of your image?
Comment 2 Bug Janitor Service 2022-03-01 04:36:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 yuvalabc 2022-03-01 21:51:58 UTC
(In reply to Halla Rempt from comment #1)
> I cannot reproduce this on Linux or Windows 10 with Krita 5.02 and Gimp
> 2.10. I don't use discord, so I cannot test that. Pasting in Photopea in
> Firefox worked fine. 
> 
> What is the channel depth and color model of your image?

Depth: 8-bit integer/channel
Profile: sRGB-elle-V2-srgbtrc.iccc
krita version: 5.0.0

gimp version: 2.10.12
firefox version: 97.0.1 (64-bit)
Comment 4 Bug Janitor Service 2022-03-02 04:35:57 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 5 Reinold Rojas 2024-11-20 02:32:27 UTC
Hi yuvalabc,

I'm not able to reproduce this bug either on Krita 5.0.2 or 5.2.6. Can you confirm if this bug still occurs on latest Krita stable version (5.2.6 at time of this comment)? I tried copying from Krita to gimp, discord desktop, and discord on firefox and all didn't have this issue.

If you can are you on Windows are you on windows 10 or 11?
Can you copy selection from Gimp into Krita, discord, or photopea?
Comment 6 Bug Janitor Service 2024-12-05 03:46:18 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 yuvalabc 2024-12-08 07:30:17 UTC
(In reply to Reinold Rojas from comment #5)
> Hi yuvalabc,
> 
> I'm not able to reproduce this bug either on Krita 5.0.2 or 5.2.6. Can you
> confirm if this bug still occurs on latest Krita stable version (5.2.6 at
> time of this comment)? I tried copying from Krita to gimp, discord desktop,
> and discord on firefox and all didn't have this issue.
> 
> If you can are you on Windows are you on windows 10 or 11?
> Can you copy selection from Gimp into Krita, discord, or photopea?

krita version: 5.2.6
chrome version: 125.0.6422.77
discord version: stable 351247 (f793eda) Host 1.0.9173 x64 (55993) Build Override: N/A Windows 10 64-bit (10.0.19045)
windows: 10
firefox: 132.0.2 (64-bit)
gimp: 2.10.12

gimp still thinks the clipboard is empty.
discord desktop & on chrome work
still happens when pasting into discord on firefox. i would try pasting into other applications on firefox but i do not know of such web apps where i ctrl-v images into them.
Comment 8 Bug Janitor Service 2024-12-09 03:46:27 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.