Bug 384102

Summary: Stuck at "Waiting for image operation to complete" after undoing "Convert Image Color Space"
Product: [Applications] krita Reporter: Nicholas LaPointe <nicholaslapointe8>
Component: Color modelsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: antti.savo, freebox64, halla, info
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicholas LaPointe 2017-08-28 12:15:23 UTC
1. Create new image
2. "Image" -> "Convert Image Color Space" to any color space other than the current one
3. Undo
Comment 1 Halla Rempt 2017-11-27 08:12:12 UTC
Yes, I see this happening as well.
Comment 2 Halla Rempt 2017-11-27 08:12:27 UTC
There's also this output:

krita.core: WARNING: Calling synchronous fullRefresh under a scheduler lock held
krita.core: We will not assert for now, but please port caller's to strokes
krita.core: to avoid this warning
krita.core: WARNING: Calling synchronous fullRefresh under a scheduler lock held
krita.core: We will not assert for now, but please port caller's to strokes
krita.core: to avoid this warning
krita.core: WARNING: Calling synchronous fullRefresh under a scheduler lock held
krita.core: We will not assert for now, but please port caller's to strokes
krita.core: to avoid this warning
Comment 3 David REVOY 2018-06-27 17:43:51 UTC
I can reproduce in Krita4.1appimage:
1. Create a new document (the default 1600x1200 sRGB 8bit with two layer, white background and a transparent)
2. Create two colored dots with airbrush on top active layer
3. Image > Convert Image Color Space, with this settings:
   - Model: Greyscale/Alpha
   - Depth: 32bit , then OK.
4. Wait until the colored dot switch to greyscale.
5. Press Ctrl+Z to undo.
(the infinite "Waiting for image operation to complete" appears)
Comment 4 Antti Savolainen 2018-06-27 17:48:15 UTC
I can't reproduce this but pressing Ctrl+Z after the color space conversion makes Krita forget it has additional channels.

Video for visualization: https://youtu.be/ZJDp1fEd7ek
Comment 5 Antti Savolainen 2018-06-27 17:59:23 UTC
After Davids steps I was able to reproduce this with the latest git(411dc86): https://youtu.be/qocT-kX64yM
Comment 6 mvowada 2018-10-10 21:16:44 UTC
(Just encountered the issue in Krita 4.2.0-pre-alpha (git 4a0b033) - Ubuntu 14.04 LTS)
Comment 7 mvowada 2018-10-10 21:24:55 UTC
(In reply to mvowada from comment #6)
> (Just encountered the issue in Krita 4.2.0-pre-alpha (git 4a0b033) - Ubuntu
> 14.04 LTS)

In my case:

    1. "CTRL + N" (New document, any type)
    2. (menu >) Image > Convert Image Color Spece...
    3. "CTRL + Z" (Undo)

Actual Results: the waiting box appears and stays open
Expected Results: waiting box closing when done with the color space conversion.
Comment 8 Halla Rempt 2019-05-09 12:27:04 UTC
I cannot reproduce this anymore. I suspect it was another instance of the lockless hashtable problem.