Bug 399626

Summary: Wheel color selector cursor offset when picking colors
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, info
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: (Video example)
[^ Gif anim of the bug ]

Description mvowada 2018-10-10 17:15:25 UTC
Created attachment 115543 [details]
(Video example)

(Krita 4.2.0-pre-alpha (git 715ad13) - Ubuntu 14.04 LTS, Unity)

There's a cursor offset when using the wheel shaped color selector (see video):

    1. choose the wheel shaped selector (Settings > Configure Krita... > Color Selector Settings)
    2. toolbar > click the foreground color
    3. try to pick a color from the wheel

Actual Results: severe offset of the cursor
Comment 1 wolthera 2018-10-10 17:21:25 UTC
Yes, I've noticed bug a while back(for a few months now?), but it needs a bisect to figure out what happened, I think.
Comment 2 David REVOY 2018-10-10 17:24:26 UTC
Created attachment 115544 [details]
[^ Gif anim of the bug ]

I can reproduce in git~master, Kubuntu 18.04 :)
(gif in attachement)
Comment 3 wolthera 2018-10-11 10:50:40 UTC
Okay, so looking at the appimages, this started happening between 4.1.0 and 4.1.1, which makes it maybe one of dmitry's fixes back then. Gonna try to bisect to be sure...
Comment 4 wolthera 2018-10-11 10:59:53 UTC
Wait, hold on, this is weird, it happens in 4.0.4 official release but not in 4.1.0 pre-release #8e738a0...

Version: 4.0.0-beta1 (git 9f3212b) - NOBUG
 https://phabricator.kde.org/R37:9f3212b -- Feb 13 2018, 10:33.
Version 4.0.4 (no git hash anywhere :| ) - BUG
 https://phabricator.kde.org/R37:9051078584e8c7a4113c544ef57face3fd02c24a (?) -- Jun 13 2018, 13:50.
Version: 4.1.0-pre-alpha (git 8e738a0) -NOBUG
 https://phabricator.kde.org/R37:8e738a0 --  Mar 17 2018, 14:16.
Version: 4.1.1 (git 191067e) - BUG
 https://phabricator.kde.org/R37:191067e -- Fri, Sep 14, 16:40.

Just noting this down for future reference now...
Comment 5 wolthera 2018-10-11 11:06:44 UTC
Final note, 4.1.0 official (https://phabricator.kde.org/R37:a6d740cc99d2cccc5763c5cb5494c7c8a2761f1c, Jun 26 2018, 09:26.) also had this bug. This is to be expected, just collecting hashes for now.
Comment 6 wolthera 2018-10-12 11:12:03 UTC
Messed up autoclose commit.

https://phabricator.kde.org/R37:b5f99a0d32dc31b86b6b3110ca4b6a4092ddb07e