bbcp icon indicating copy to clipboard operation
bbcp copied to clipboard

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

Open dram opened this issue 2 years ago • 2 comments

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

dram avatar Aug 25 '22 13:08 dram

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'.

adimetrius avatar Aug 26 '22 21:08 adimetrius

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.

dram avatar Aug 26 '22 22:08 dram