You can use the cursor keys to nudge it pixel-by-pixel, when moving the mouse it'll often not align exactly when the image is scaled (since one screen pixel equals more than one image pixel).
No matter whether I use the mouse or the arrow keys to move, the grid never aligns with the image pixels. The distance it moves isn’t a screen pixel, but an image pixel (which is correct I think).
Maybe it’s because of non-integer scaling? When zoomed to certain levels, it can align perfectly again.
I want the grid to always align with the image pixels, at least at the default zoom level.
If the scale factor is (e.g.) 150%, one screen pixel equals 1.5 image pixels. You can't move the mouse 1.5 pixels at a time, so moving the magnifier with the mouse will skip pixels in the image. But you can nudge it with the cursor keys, which move the magnifier rather than the mouse.
You can scale the viewer to whatever scale factor you like, that's what's determining it.
If you have it set to "scale to fit" it will often be a non-integer scaling method, but there's nothing stopping you changing the zoom to 200, 300, 400 etc.
Are you talking about the viewer's zoom level (the one set by the Show VIEWERCMD=zoom command)?
I haven't found how it affects the magnifier. No matter if I set it to 200%, 400%, or 800%, the magnifier seems to always zoom based on the original pixels.