Score:0

Fix I-beam cursor offset, caret moves to the wrong side of letters

cn flag

I have Ubuntu 20.04 in a VirtualBox. In text editors (e.g. gedit, Qt Creator, etc.), the caret is placed on the wrong side of the letter when I click approximately the middle of the letter:
Screenshot and photo
(The sub-pixel layout is red on the left, green in the middle and blue on the right.)
The I-beam cursor is marked in green, the caret in red. In this case, the caret is placed to the right of the m, even though it would end up closer to the cursor if it was placed to the left. (I have not seen it the othe way around, where it is misplaced on the left.)

You might imagine how annoying this is when editing code.

Is there any way of fixing this behavior?
For example, can I change the hotspot offset of the I-beam cursor?

I am not sure that this issue is Ubuntu-specific. It might actually be caused by VirtualBox.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.