Button presses during lag are applied in an incorrect order during while lagging.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Button presses during lag are applied in an incorrect order during while lagging.
While the computer is lagging, keystrokes are buffered so they are applied after the lagging is over. This means that when the user types a word while the computer is lagging, no letters appear on screen during the lag, but the letters typed during the lag appear after the lag is over.
There is one problem: sometimes, when pressing keyboard combinations, the order of keystrokes goes wrong.
For example, when pressing CTRL+V to paste the text "456" after manually typing "123" during a lag, the resulting text after the lag is "456123", while it should be "123456".
Another example: When pressing button combinations in web browsers during a lag, the order is reversed. Pressing Alt+Home goes to the home page and pressing Ctrl+Tab goes to the next tab. When doing so during a lag, it first goes to the next tab and then puts the next tab into "home".
This is one of those annoyances that first seem minor, but become significant due to repetition.
Some of the keystrokes are handled by the window manager while some - directly by the program e.g. alt-home is the system shortcut while ^tab is browser-specific and handled by the browser, default system shortcut for the next tab is ^pgdn. This could be the reason for reordering under heavy load, try using only system shortcuts. You may redefine them to your liking in system settings, at least in KDE. Won't help for the mixture of shortcuts and plain text, of course.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.