Comment on Mouse pointers with drop shadows have their visual click zones and actual ones misaligned.
JohnnyCanuck@lemmy.ca 1 week ago
I don’t really get what you’re saying. Maybe a picture would help? Having worked with mouse pointers for three decades, I’m pretty sure it’s either correct, or if you disagree then what you’re choosing as the click pixel is arbitrary, and pointer style and implementation dependent. In any case, the user will generally learn the specific click behaviour very quickly, usually without even thinking about it.
Valmond@lemmy.world 1 week ago
If there is a drop shadow, then when you click, the click should be on the shadows point, not the “floating” triangles/mouses point.
The point here is the outmost point on the triangle of the mouse ofc. The position that “clicks”.
mp3@lemmy.ca 1 week ago
In the cursor metatada you can specify where the click occurs. Personally I always assumed the click would happen at the tip of the arrow, not the shadow below.
littletoolshed@lemmy.world 1 week ago
I think I understand the pixel you are referring too, it may be diagonally adjacent to the click pixel.
I’m not sure I understand ‘why’ post OP suggests that should be the ‘correct’ click pixel?
eRac@lemmings.world 1 week ago
A drop shadow implies that the object is floating above a plane. If you have an object floating above a plane, it would need to drop to the plane to interact with it, so the interaction point should be the tip of the shadow, not the tip of the cursor.
ChairmanMeow@programming.dev 1 week ago
But the cursor ‘dropping’ wouldn’t move it to where the shadow is? The light source is not directly above the cursor so the shadow is offset.
Stillwater@sh.itjust.works 1 week ago
Depending on the relative direction of the light and “camera”, the click point could vary. It wouldn’t be on the tip of the shadow unless the shadow was already directly below the tip of the pointer in the line of sight.