<?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>380437</bug_id>
          
          <creation_ts>2017-06-01 18:29:18 +0000</creation_ts>
          <short_desc>Save does not work when I only change layer name</short_desc>
          <delta_ts>2019-05-03 11:50:25 +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>Usability</component>
          <version>3.1.4</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Long Leaf&apos;s Friends">longleaffriends</reporter>
          <assigned_to name="Halla Rempt">halla</assigned_to>
          <cc>chris.webb4</cc>
    
    <cc>freebox64</cc>
    
    <cc>halla</cc>
    
    <cc>katearcher89</cc>
    
    <cc>lou</cc>
    
    <cc>nevineviril</cc>
    
    <cc>scottpetrovic</cc>
          
          <cf_commitlink>https://invent.kde.org/kde/krita/commit/43f89ce8d9c13ee0c174737166ec3cec4eecff3e</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>1678869</commentid>
    <comment_count>0</comment_count>
    <who name="Long Leaf&apos;s Friends">longleaffriends</who>
    <bug_when>2017-06-01 18:29:18 +0000</bug_when>
    <thetext>Both ctrl-s and menu File-&gt;Save don&apos;t work if no other changes has been applied to .ora document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1679141</commentid>
    <comment_count>1</comment_count>
    <who name="mvowada">freebox64</who>
    <bug_when>2017-06-03 07:05:30 +0000</bug_when>
    <thetext>(This is on Ubuntu 14.04 with Krita 3.1.4 appimage). I think I can confirm this behaviour with *.kra files too, in my case it happens whenever I change the layer name without accessing the layer Property dialog (important).

Steps to reproduce:

- open an existing *.ora or *.kra file,
- change a layer name on the &quot;Layers&quot; docker just by double clicking on the name (important)
- save the file (either by doing &quot;CTRL+S&quot; or by going to menu &quot;File &gt; Save&quot;)
- close and reopen.

Actual results: the file has not been saved, the layer name has not been saved.
Expected results: save the file even after changing the layer name without accessing the Property dialog?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1686909</commentid>
    <comment_count>2</comment_count>
    <who name="">katearcher89</who>
    <bug_when>2017-07-03 23:59:58 +0000</bug_when>
    <thetext>I confirm this, happens on win7 too. 

Krita doesn&apos;t change the modified status of a file(* symbol in the header of the file/window) if only a layer name through the layer docker was changed and thus not giving an option to save the file since it thinks nothing have changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1707253</commentid>
    <comment_count>3</comment_count>
    <who name="Neviril">nevineviril</who>
    <bug_when>2017-10-20 18:05:14 +0000</bug_when>
    <thetext>It might go slightly deeper than this. I noticed that not only these actions don&apos;t &quot;dirty&quot; an image, but they also are not undoable:

- Layer name (renaming by double clicking or F2 key)
From the right-click context menu on the layer boxes:
- Layer color 
- Isolate layer
- Show in timeline

Setting layer color and name with the Layer Properties dialog (F3 key) however does &quot;dirty&quot; the image and is an undoable action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753143</commentid>
    <comment_count>4</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-05-17 09:23:32 +0000</bug_when>
    <thetext>*** Bug 394363 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847602</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2019-03-30 17:59:23 +0000</bug_when>
    <thetext>This was a recent bug that was introduced a week ago.

I am working on a patch to fix this...as well as add some functionality to the transform tool. The work is being done here... 

https://phabricator.kde.org/D18792</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847603</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2019-03-30 17:59:58 +0000</bug_when>
    <thetext>sorry...posted on wrong ticket :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1854149</commentid>
    <comment_count>7</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-05-03 11:26:39 +0000</bug_when>
    <thetext>*** Bug 389562 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1854150</commentid>
    <comment_count>8</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-05-03 11:27:46 +0000</bug_when>
    <thetext>Changing the layer name is not an undoable action and doesn&apos;t set the document to modified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1854154</commentid>
    <comment_count>9</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2019-05-03 11:50:25 +0000</bug_when>
    <thetext>Git commit 43f89ce8d9c13ee0c174737166ec3cec4eecff3e by Boudewijn Rempt.
Committed on 03/05/2019 at 11:50.
Pushed by rempt into branch &apos;master&apos;.

Create an undo command for node renaming

This means that changing a node&apos;s name will now mark the document
modified so it can be saved, and it&apos;s possible to undo a node
rename.

M  +1    -0    libs/image/CMakeLists.txt
C  +11   -15   libs/image/commands/KisNodeRenameCommand.cpp [from: libs/image/commands/kis_node_compositeop_command.cpp - 055% similarity]
A  +40   -0    libs/image/commands/KisNodeRenameCommand.h     [License: GPL (v2+)]
M  +0    -2    libs/image/commands/kis_node_compositeop_command.cpp
M  +7    -0    libs/ui/kis_node_commands_adapter.cpp
M  +1    -0    libs/ui/kis_node_commands_adapter.h
M  +9    -0    libs/ui/kis_node_manager.cpp
M  +5    -0    libs/ui/kis_node_manager.h
M  +1    -1    libs/ui/kis_node_model.cpp

https://invent.kde.org/kde/krita/commit/43f89ce8d9c13ee0c174737166ec3cec4eecff3e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>