Bug 361845 - snapping to center of image and image bounds is activated on tools even when snapping is off
Summary: snapping to center of image and image bounds is activated on tools even when ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2016-04-16 09:17 UTC by Raghavendra kamath
Modified: 2016-04-26 14:48 UTC (History)
2 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 Raghavendra kamath 2016-04-16 09:17:30 UTC
Snapping to middle of image and image bounds is activated on tools such as polygon selection tool line tool , etc even when the snapping options have been checked off from the snap menu.

Reproducible: Always

Steps to Reproduce:
1.Open a document in krita and swotch off snap completely from menu
2.choose polygon selection tool
3. click to begin selecting and move you mouse towards center of image , you'll see the snapping , similarly move it towards the edge of the canvas it will snap to edges.

Actual Results:  
snapping to middle of the image and image bounds is active even when it is switched off

Expected Results:  
snapping shouldn't be active when it is switched off from menu
Comment 1 wolthera 2016-04-16 11:57:21 UTC
It's pretty random as well, had this with grids, where sometimes with snapping on, I couldn't snap to some grid intersections, but when turning snapping off, I could snap to them, but not the ones I could snap to when snapping was on.
Comment 2 Halla Rempt 2016-04-16 14:08:58 UTC
https://phabricator.kde.org/T2307
Comment 3 Dmitry Kazakov 2016-04-26 14:48:37 UTC
Git commit 32cb1de4ceb9d651fb98926a12f8d044a4e6a08f by Dmitry Kazakov.
Committed on 26/04/2016 at 11:53.
Pushed by dkazakov into branch 'master'.

Remove accidentally pushed testing code

Grid strategy is always present in the snap guide, but the check for
activation is done internally. The other strategies are activated
separately by KisGuidesManager.
Fixes T2307

M  +0    -3    libs/flake/KoSnapGuide.cpp

http://commits.kde.org/krita/32cb1de4ceb9d651fb98926a12f8d044a4e6a08f