When selecting or navigating text with CTRL + LEFT ARROW or RIGHT, or even just mouse clicking within text, the cursor jumps backwards and forwards erratically

Bug #1954762 reported by Adam Bishop
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Undecided
Unassigned

Bug Description

This started happening recently. Perhaps after a kernel update. I'm now on Ubuntu 21.10, running kernel Linux 5.13.0-22-generic, on a Huawei Matebook Pro X (2020).

Revision history for this message
Adam Bishop (adambishop-it) wrote : Re: When selecting or navigating text with CTRL + LEFT ARROW or RIGHT, the cursor jumps backwards and forwards erratically

Xev correctly reports key presses.

summary: - When selecting text with CTRL + LEFT ARROW or RIGHT, the cursor jumps
- backwards and forwards erratically
+ When selecting or navigating text with CTRL + LEFT ARROW or RIGHT, the
+ cursor jumps backwards and forwards erratically
summary: - When selecting or navigating text with CTRL + LEFT ARROW or RIGHT, the
- cursor jumps backwards and forwards erratically
+ When selecting or navigating text with CTRL + LEFT ARROW or RIGHT, or
+ even just mouse clicking within text, the cursor jumps backwards and
+ forwards erratically
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1954762/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Adam Bishop (adambishop-it) wrote :

This may be to do with fractional scaling in Xorg (not Wayland). I'm using fractional scaling at 150% - it has never been a problem until now. However, I will test to see if the problem appears at 100% or 200% scaling. It would be a shame if, because of this, I have to use 100 or 200% scaling, since 150% scaling is perfect for this HDPI screen.

affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Adam Bishop (adambishop-it) wrote :

With fractional scaling at 150%, it occurs only after some time. On a fresh reboot it isn't apparent, but it gradually gets worse when manipulating text. It's as if some error accumulates with time. After a while it becomes really annoying when working with text. The cursor position is correct, but often isn't where you see it. The cursor may appear at the end of a word while you are actually editing the beginning of the word.

Revision history for this message
Adam Bishop (adambishop-it) wrote (last edit ):

Have been testing at 100% and 200% scaling - so far the problem hasn't appeared at these scalings, which makes me suspect it is a problem with fractional scaling. It's a new problem, as, about a month ago, there was no such problem with the same fractional scaling - I have always preferred 150% on this system.

Revision history for this message
Adam Bishop (adambishop-it) wrote (last edit ):

On 100% scaling it is certainly less noticeable, though the cursor sometimes appears slightly moved to the right of where it actually is. The screen resolution I am using is (and always has been) 3000x2000. Maybe it has something to do with this less common screen ratio.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report. Which apps are affected?

affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
tags: added: impish
Revision history for this message
Adam Bishop (adambishop-it) wrote :

It seems to affect different apps. Certainly it affects Mozilla Firefox, Gnome Text Editor Gedit, a Java-based translation app I use called OmegaT, and Microsoft Office Word and Excel 2006 running under Wine32.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can't seem to reproduce the issue in those apps, on Xorg with fractional scaling. Although I am using 22.04.

Does the same happen in a Wayland session?

Does the same happen if you use a USB keyboard?

Revision history for this message
Adam Bishop (adambishop-it) wrote :

A few days ago an Xorg update came in. After this update, the problem hasn't presented itself again. Therefore, I think we can consider this bug now resolved. Many thanks to Daniel and Brian for taking a look at it.

Revision history for this message
Adam Bishop (adambishop-it) wrote :

The bug has returned unfortunately. Terribly annoying. Only restarting my computer seems to set it back to normal. Affects all text entry apps, including Terminal.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please answer the questions in comment #9.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.