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

2.0 Regression: wrong cursor position after clicking right half of characters #15

Open
dram opened this issue Aug 25, 2022 · 2 comments

Comments

@dram
Copy link

dram commented Aug 25, 2022

Both in BlackBox-2.0-a1.098 and BlackBoxMDI-2.0-a1.098, if right half of a character is clicked, the cursor with be positioned left side of that character, which I think should be right side.

In bbcb-1.8-b1.166, it works properly.

Steps to reproduce:

  1. Open BlackBox-2.0-a1.098 under Windows 11
  2. Type aWa in Log window
  3. Click right half of W
@adimetrius
Copy link
Member

Hey, thanks for checking BB2.0 out!
Did you run it on Windows or Linux?
'Wrong cursor position' - well, just what makes it wrong do you think? It's probably changed in 2.0, but i'd call it different, not wrong. How does this change in behavior affect you actual user experience?

This change was introduced when I was working on a bug in older versions; under certain circumstances, characters in the line holding the caret would be drawn with a little offset with every keystroke. This looked like 'dancing characters'.

@dram
Copy link
Author

dram commented Aug 26, 2022

Hi @adimetrius,

I tested it on Windows.

I think it is "wrong" because current behaviour is not consistant with other applications, e.g. Notepad, Edge. It will be effected when I trying to change cursor or select characters by mouse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants