Bug 367610 - Krita freezes upon file recovery
Summary: Krita freezes upon file recovery
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 3.0.1 Alpha
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-20 19:21 UTC by Jelena
Modified: 2016-11-01 11:18 UTC (History)
2 users (show)

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


Attachments
Recovery file (515.02 KB, application/x-krita)
2016-08-20 19:24 UTC, Jelena
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jelena 2016-08-20 19:21:29 UTC
After recovering a file (named .krita-8841-document_0-autosave.kra in my case) Krita doesn't react any longer (i.e. most menu items are greyed out, tools cannot be selected...).

If I choose not to recover this file everything works smooth.

Reproducible: Always

Steps to Reproduce:
1. Place the attached file in your home directory
2. Start Krita
3. Choose OK in the file recovery dialogue in order to recover the file
Comment 1 Jelena 2016-08-20 19:24:08 UTC
Created attachment 100695 [details]
Recovery file
Comment 2 Halla Rempt 2016-08-22 09:54:59 UTC
Hi Jelena,

I'm afraid that I haven't been able to reproduce the issue. The image itself appears to load fine, though it's completely blank.
Comment 3 Jelena 2016-08-22 16:09:45 UTC
I tested it again (even rebooted in between) and I can still reproduce it. The file opens indeed but you e.g. cannot click any tools and have to kill Krita hard in order to get it working again.

Another detail: Are you sure the file is completely blank? There should be a long soft brush stroke in the middle of the canvas.
Comment 4 Patrice Kouame 2016-09-27 14:13:18 UTC
boud: Feel free to assign this to me at the moment.

It's very reproducible on my side. Others on macOS are also currently experiencing this. 

It's pretty annoying, so I'm tracing code in the recovery dialog. That's where things kinda hose up on my side.

My environment:
krita master 3.0.2 beta git (b9c7f56)
ext_qt qt5.7 rebuilt and patched
xcode 8
macOS Sierra
macPro 3,1
Comment 5 Patrice Kouame 2016-09-28 07:21:40 UTC
Think I squashed this bug.

https://phabricator.kde.org/D2878
Comment 6 Jelena 2016-09-28 07:25:24 UTC
@kouame Thanks for working on this! :)
Comment 7 Patrice Kouame 2016-09-28 07:27:02 UTC
no problem.
Comment 8 Halla Rempt 2016-11-01 11:18:37 UTC
We can close then.