<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>491408</bug_id>
          
          <creation_ts>2024-08-07 21:20:15 +0000</creation_ts>
          <short_desc>Krita crashes when pasting</short_desc>
          <delta_ts>2024-08-08 20:06:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Layer Stack</component>
          <version>unspecified</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>490636</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>k86gdz4ezhsd5b</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>penguinflyer2222</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2343989</commentid>
    <comment_count>0</comment_count>
    <who name="">k86gdz4ezhsd5b</who>
    <bug_when>2024-08-07 21:20:15 +0000</bug_when>
    <thetext>STEPS TO REPRODUCE
1.  Open Krita appimage
2.  Drag at least 2 pictures in the window
3.  Make a selection on picture 1 and ctrl+c
4. Switch to picture 2 (ctrl tab, or use tabs to select another picture, or any other method work)
5. ctrl+v

OBSERVED RESULT
Krita crashes.

EXPECTED RESULT
Krita doesn&apos;t crash and the selection is pasted on a new layer.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.14
Kernel Version: 6.9.12-100.fc39.x86_64 (64-bit)
Krita 5.2.3

ADDITIONAL INFORMATION
Tested on krita-5.2.2 and it doesn&apos;t crash.
Notice when switching between documents that no layer is selected in 5.2.3 (in 5.2.2, the background layer is selected by default). no layer operations (layer type, adding/deleting layers) can be done until you manually select one of the existing layers first.
100% Reproduce rate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2344204</commentid>
    <comment_count>1</comment_count>
    <who name="Freya Lupen">penguinflyer2222</who>
    <bug_when>2024-08-08 20:06:44 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 490636 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>