1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #1459 on hold

One character cursor offset in commit comment editbox

Giuseppe Piscopo
created an issue

Hello. Thanks as usual for the great SW. This is a funny visual issue that I think I've been noticing since the beginning of using THg. I'll try to explain it with the to attached pictures. Version is 2.1.4

When I start writing the commit comment in its editbox, the blinking cursor black bar is of course right next to the letter I just typed (see picture 'Before'). But there are case when, after I write some letter, the cursor gets displaced by 1 letter to the right, with respect to the actual caret position (see picture 'After').

In the two attached pictures, until I press 'f', everything is ok. But as soon as I press the 'i', the cursor sits 1 more position to the right. If I type a further letter, say 'c', that is printed not at the cursor position but next to the 'i' (see picture 'After 2'). Which is all a little confusing if you are editing in the middle of some text.

It looks to me that apparently this case has to do with font ligatures. When I print 'i' after the 'f', they "get together" and it seems like they take the space of a single letter, leaving a blank between the 'i' and the blinking bar.

Thanks for your attention.

Comments (6)

  1. Giuseppe Piscopo reporter

    I don't think I'm using any other application with that library, and anyway it does not happen with any other app on my Win7. If you know one that I can easily install, I can give it a try and see what happens.

  2. Giuseppe Piscopo reporter

    Hi there

    "some years later" and the issue is still around. Especially bugging as it extends to diff view too:

    TortoiseHg Workbench diff view.png

    Is there anything we can do to change font in some preference?

    As an alternative, is there any repository/project where I can notify this issue too?


  3. Log in to comment