Bug 384102 - Stuck at "Waiting for image operation to complete" after undoing "Convert Image Color Space"
Summary: Stuck at "Waiting for image operation to complete" after undoing "Convert Ima...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Color models (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 12:15 UTC by Nicholas LaPointe
Modified: 2019-05-09 12:27 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.