LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-05-2025, 11:38 AM   #1
exerceo
Member
 
Registered: Oct 2022
Posts: 156

Rep: Reputation: 31
Question How come keys pressed during a lag are applied in the wrong order after the lag?


[Log in to get rid of this advertisement]
Keys pressed during lag are applied in an incorrect order. For example, pressing CTRL+W and then Ctrt+Shift+Tab during a lag should close the current tab and then go to the last tab after the lag, but the opposite happens: it switches to the last tab and closes the last tab.

Is this a known bug? Is this deliberate?

(Regarding the lag: It's not the fault of Linux. It's due to my habit of hoarding too many tabs.)
 
Old 10-05-2025, 08:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,112
Blog Entries: 28

Rep: Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417Reputation: 6417
A quick web search indicates that maybe you should tell us more about the hardware. For example, is this a USB keyboard, a laptop, or what?
 
Old 10-05-2025, 08:43 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.6
Posts: 5,918

Rep: Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320Reputation: 2320
Also, in which application? A web browser? (which one?) Something else?
 
Old Yesterday, 02:03 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,999

Rep: Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203Reputation: 8203
lag means something does not (cannot) work properly, in this case the key event processing. Don't forget, both pressing and releasing a key may generate an event. The event must also be delivered to the focused window, which may be invisible in case of delay like this. (so the keypress will be processed by something which is not [yet] displayed). This behavior also depends on the implementation of the given software.
Returning to the original question, yes, it is known that if you overload the system, this can happen.
 
Old Yesterday, 11:11 AM   #5
exerceo
Member
 
Registered: Oct 2022
Posts: 156

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by frankbell View Post
A quick web search indicates that maybe you should tell us more about the hardware. For example, is this a USB keyboard, a laptop, or what?
Wireless (non-bluetooth) keyboard connected through a USB receiver.

Quote:
Originally Posted by scasey View Post
Also, in which application? A web browser? (which one?) Something else?
Firefox.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Button presses during lag are applied in an incorrect order during while lagging. exerceo Linux - Software 4 02-21-2024 03:49 AM
Logi Sales Manager on Ncurses (invoice, invoicing, orders, order, sale order, sales order...)? Xeratul Linux - Software 0 03-25-2017 02:45 PM
Map a keypress to a GUI button (when keycode 175 pressed a GUI button pressed) wikapuki Linux - Desktop 0 09-16-2010 09:08 AM
How to make shell script wait for a particular key pressed in order to proceed? Caed Lucin Linux - General 5 01-31-2010 06:08 PM
Kde shortcuts with more then 2 keys pressed not working cuk Slackware 11 01-25-2006 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration