small but very inconvenient Cursor misalignment

This subforum contains all the issues which we already resolved.
User avatar
Proxy
Fast Inserter
Fast Inserter
Posts: 165
Joined: Mon Mar 30, 2015 11:10 am
Contact:

small but very inconvenient Cursor misalignment

Post by Proxy »

Image

for some odd reason, Factorio doesn't use the "tip" or left side of the Cursor to tell where you are clicking. Instead it uses the Middle of the Cursor.
How the "Hitbox" of the cursor should be:
Image
How it is in Factorio:
Image

which as you can see makes working with any kind of naming or number writting very annoying as you unintentionally click 1 digit off to the right.
it's a very minor but very annoying thing.
BenSeidel
Filter Inserter
Filter Inserter
Posts: 591
Joined: Tue Jun 28, 2016 1:44 am
Contact:

Re: small but very inconvenient Cursor misalignment

Post by BenSeidel »

I don't think it's the cursor that is misaligned, but that the hitbox area to place the caret is calculated using the whole glyph instead of your expected behaviour where the hitbox uses half of the adjacent glyphs.

It's the difference between clicking at the character vs clicking at the space.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14561
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: small but very inconvenient Cursor misalignment

Post by Rseding91 »

BenSeidel wrote:I don't think it's the cursor that is misaligned, but that the hitbox area to place the caret is calculated using the whole glyph instead of your expected behaviour where the hitbox uses half of the adjacent glyphs.

It's the difference between clicking at the character vs clicking at the space.
Correct. I noticed it a year ago but never got around to fixing it.
If you want to get ahold of me I'm almost always on Discord.
Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: small but very inconvenient Cursor misalignment

Post by Dominik »

Actually I fixed it about half a year ago, then somebody refactored the textboxes and re-fixed it and now it is still wrong. It is not about the cursor itself, but about calculating which letter is under it.
User avatar
Proxy
Fast Inserter
Fast Inserter
Posts: 165
Joined: Mon Mar 30, 2015 11:10 am
Contact:

Re: small but very inconvenient Cursor misalignment

Post by Proxy »

i see, and i hope it is minor enough to just be fixed whenever possible?
Post Reply

Return to “Resolved Problems and Bugs”