SUMMARY Hi, I'm giving Krita courses for a CG school (remotely) since the start of January. Today was lesson 6, and we made some drawings. A student had an issue with his line tool (the Line Tool, or shortcut 'V' in Freehand) both randomly snapping in the void and preventing him to draw a line. They felt it was like magnetized in the void to something. It took us a little time to see the "View > Snap > Snap to Image center" was activated by default and line going across this two axis will magnet (and sometimes, render/bake accidentally while snapping)... After we removed the default, other in the class told me they had the same issue. I couldn't experience the issue, because probably my default settings are too old to have Snap options ever activated by default... STEPS TO REPRODUCE 1. Open Krita (vanilla default settings), and create a new document. 2. Trace lines with the V shortcut while in Freehand, or using the line tool, try around the center of the document. OBSERVED RESULT The line will magnet to imaginary axis center guides. It constrains the movement of the users, and they feel the line tool is inaccurate or broken because it is not discoverable that there is a snap function in Krita activated. EXPECTED RESULT Free tracing with line tool, meaning 'Snap to image center' shouldn't be activated by default, IMO. Thanks! :-) SOFTWARE/OS VERSIONS On all OS, 5.1.5.
This change makes sense to me. Checked the git history and seems this was set 8 years ago and I don't know if there was a specific reason to have this enabled by default: https://invent.kde.org/graphics/krita/-/commit/d1480b1f0ca24b4d92bd61ed475f0a31b75dab30#e4f1d8720580f0bdc0996771bd22f753aac091cb_0_30 Unless someone has a strong opinion otherwise I'm setting to confirmed.
Thank you for reviewing my bug report.
Hi, David! Should we also disable snap-to-image-bounds by default?
Git commit f81c579af0939c4521d5bc7e217220aade1c9bbb by Dmitry Kazakov. Committed on 15/11/2024 at 10:10. Pushed by dkazakov into branch 'krita/5.2'. Disable snapping to image center by default It seems it disturbs the workflow of the newcoming painters, so there is no need to keep it on by default. M +1 -1 libs/ui/canvas/kis_snap_config.cpp https://invent.kde.org/graphics/krita/-/commit/f81c579af0939c4521d5bc7e217220aade1c9bbb
Git commit 5224bfa36e5d03176e143a6db3afa2417c018141 by Dmitry Kazakov. Committed on 15/11/2024 at 10:11. Pushed by dkazakov into branch 'master'. Disable snapping to image center by default It seems it disturbs the workflow of the newcoming painters, so there is no need to keep it on by default. M +1 -1 libs/ui/canvas/kis_snap_config.cpp https://invent.kde.org/graphics/krita/-/commit/5224bfa36e5d03176e143a6db3afa2417c018141
> Hi, David! > Should we also disable snap-to-image-bounds by default? Hey Dmitry, let's keep snap-to-image-bounds activated, imho. 1. I never got feedback that this was problematic, so my lazy brain probably advises leaving it as is. 2. The heart of the problem with the "centre snap" was when drawing with the Freehand Brush tool and when activating the "hold V" keyboard shortcut for the Line tool. I don't think users can really be bothered by the edge snap with this tool. 3. I think snapping to image boundaries can be very useful when tracing a selection or when tracing with other tools.
Hi, David! Thank you for the feedback! :) > let's keep snap-to-image-bounds activated, imho. I've left snap-to-image-bounds activate, but added graphical feedback (a red cross sign) when snapping happens. The same feedback is added to the center-of-the image snap strategy, so now it should be a bit easier to detect/understand :)
Thank you for adding a visual clue!