Bug 396929 - Tools stop working after using Color Picker with "Sample Current Layer" on a hidden layer
Summary: Tools stop working after using Color Picker with "Sample Current Layer" on a ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 4.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-28 14:29 UTC by michoss9
Modified: 2024-12-10 21:23 UTC (History)
4 users (show)

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


Attachments
IRC logs (1.83 KB, text/plain)
2018-07-28 14:29 UTC, michoss9
Details
Video (357.56 KB, video/mp4)
2018-09-06 13:53 UTC, mvowada
Details
Video2 (977.09 KB, video/mp4)
2018-09-06 14:40 UTC, mvowada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michoss9 2018-07-28 14:29:36 UTC
Created attachment 114176 [details]
IRC logs

Scenario:
-Select "Color Picker" tool
-Select "Sample Current Layer" setting
-Switch to a layer which is hidden
-Click anywhere on canvas
 -Pop-up window saying "Cannot pick a color as the active layer is not visible."  appears
-Click "OK" or close the window with "X"
 -Canvas becomes uninteractible.
No tool is able to work on canvas any longer. For tools such as color picker, move tool, Selections the cursor appears, but is unable to do anything. When selecting a brush, colorize mask or smart patch, the cursor either does not appear or appears somewhere in the corner of the screen. It's no longer possible to zoom in or pan. All toolbars and dockers work properly.
Restarting the application fixes the problem, no other solution seems to.

Appears to be exclusive to windows, happens both when using a mouse and tablet.
Comment 1 Bollebib 2018-07-28 14:54:03 UTC
i shall confirm this as it happened for me too
Comment 2 Halla Rempt 2018-09-06 13:36:06 UTC
I cannot reproduce this issue, I'm afraid.
Comment 3 mvowada 2018-09-06 13:53:18 UTC
Created attachment 114810 [details]
Video

In my case, I'm able to reproduce this with 4.2.0-pre-alpha (git bb79c0e) Appimage on Ubuntu 14.04, Unity (see video):

    1. activate a layer and hide it
    2. hit "P"
    3. Tool Options > Color Picker: Sample from current layer
    4. try to pick a color

Actual Results: impossible to close the alert box (many instances of it will open)
Comment 4 Halla Rempt 2018-09-06 13:57:59 UTC
Curious... I really cannot reproduce this. And I only get one message box.
Comment 5 mvowada 2018-09-06 14:40:15 UTC
Created attachment 114812 [details]
Video2

(In reply to Boudewijn Rempt from comment #4)
> Curious... I really cannot reproduce this. And I only get one message box.
Hm, it opens up several alert boxes, only when using a pen tablet? (video2) No problems using the mouse.

(Wacom Intuos 4 grip pen)
Comment 6 Vitamorus 2024-12-10 21:23:59 UTC
Appears to no longer be present in 5.2.6. The message box no longer appears, instead the color picker simply doesn't pick up any color.