Bug 447871 - Snap to the grid does not work
Summary: Snap to the grid does not work
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (other bugs)
Version First Reported In: 5.0.0
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-03 10:07 UTC by romopua
Modified: 2022-01-03 16:18 UTC (History)
1 user (show)

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


Attachments
Notice that the selection box is not affected by the "snap to the grid" option (86.36 KB, image/gif)
2022-01-03 10:07 UTC, romopua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description romopua 2022-01-03 10:07:52 UTC
Created attachment 145072 [details]
Notice that the selection box is not affected by the "snap to the grid" option

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Create a 1280x720 canvas
2. Show the grid in 32x32 and active snap to the grid
3. Select the "selection" tool
4. Check that the check box does not snap to the grid
OBSERVED RESULT
The check box is not magnetized in the closest grid

EXPECTED RESULT
The selection box must be magnetized towards the nearest grid

SOFTWARE/OS VERSIONS
Windows: 10 64bits
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ahab Greybeard 2022-01-03 15:32:24 UTC
The 'geometric' selection tools do snap to the grid but you have to check in 'View -> Snap To' to make sure that only 'Snap To Grid' is enabled.
If you have 'Snap Pixel' enabled then it will snap to everywhere.
Is only 'Snap To Grid' enabled?
Comment 2 romopua 2022-01-03 16:05:54 UTC
Ahh, so disabling "snap to pixel" seems to fix the problem.
Comment 3 Ahab Greybeard 2022-01-03 16:18:38 UTC
Oh good :)