Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When clicking on a text input field with the mouse, the caret is positioned incorrectly #2160

hiddenhare opened this issue Sep 25, 2019 · 0 comments


Copy link

@hiddenhare hiddenhare commented Sep 25, 2019

Aseprite v1.2.15-x64, on Windows 10, with 300% UI scaling. (The problem persists if UI scaling is changed to 100%.)

When clicking with the mouse on a text field, the caret is not positioned as I would expect.

Other text editors place the caret at whichever character boundary is closest to the mouse cursor.

Aseprite seems to always position the caret to the left-hand-side of the character which is under the mouse, except when clicking on the rightmost character in the text field, in which case it is placed at the right-hand-side of that character.

For example, create a new sprite and press Shift+P. Notice how it's not possible to position the text cursor between the "n" and the "d" in "Background" without using the keyboard. Also notice that, if you hold down the left mouse button and move the cursor back and forth, the caret feels as though it's displaced to the left of the mouse cursor.

@dacap dacap self-assigned this Sep 25, 2019
@dacap dacap added this to the v1.x-bugs milestone Sep 25, 2019
@dacap dacap assigned Gasparoken and unassigned dacap Sep 25, 2019
dacap added a commit that referenced this issue Sep 30, 2019
@dacap dacap closed this Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.