Bug 357498

Summary: Move tool does not flag the image as modified
Product: [Applications] krita Reporter: codl
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla, info
Priority: NOR    
Version First Reported In: 2.9.10   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: [ ^ dialog screenshot when saving after using the move tool ]

Description codl 2016-01-04 07:23:32 UTC
Moving a layer with the move tool does not seem to be recognized as a change. An image cannot be saved if the move tool is the only tool that has been used since opening or since the last save

Reproducible: Always

Steps to Reproduce:
1. Open a file
2. Select move tool
3. Move a layer
4. Save

Actual Results:  
Save does not do anything. Window title never says "[modified]".

Expected Results:  
Window title says "[modified]" until saving, save works.
Comment 1 wolthera 2016-01-06 17:44:24 UTC
confirmed in 3.0 master.
Comment 2 Halla Rempt 2016-01-10 11:11:20 UTC
And in 2.9.10, too.
Comment 3 David REVOY 2016-02-10 06:18:46 UTC
Created attachment 97126 [details]
[ ^ dialog screenshot when saving after using the move tool ]

In 2.9.11 , the bug changed: It's still impossible to save after doing a move-tool action. Now a dialog appears ( screenshot in attachement ) inviting to wait but you can wait eternally. Pressing the "Cancel Operation and Save" is the only possibility, and it undo the last move operation.

workaround: blink the layer visibility after doing a move-tool action and before saving.
Comment 4 Dmitry Kazakov 2016-04-04 14:19:41 UTC
Git commit a0bdb1da8a262db82cf7f18a6b4f42ec66bfb28c by Dmitry Kazakov.
Committed on 04/04/2016 at 14:19.
Pushed by dkazakov into branch 'master'.

End a stroke before saving the image
Ref T2082

M  +2    -0    libs/ui/dialogs/kis_delayed_save_dialog.cpp

http://commits.kde.org/krita/a0bdb1da8a262db82cf7f18a6b4f42ec66bfb28c