Bug 156821

Summary: Laptop music-control buttons freeze Amarok
Product: [Applications] amarok Reporter: Chris <seahen123>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED NOT A BUG    
Severity: crash CC: unnamedrambler
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2008-01-28 00:23:11 UTC
Version:           1.4.? (using KDE 4.0.0)
Compiler:           Ubuntu package
OS:                Linux

(Previously reported by me at https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/160014)

Binary package hint: amarok

I'm not sure whether this would be better to fix in Amarok or in one of the Toshiba-specific hardware packages/drivers.

I have a Toshiba Satellite 5000, which has buttons on the front to control audio playback. Sometimes the play/pause, fast-forward or rewind button will register repeatedly and Amarok will spend hours pausing and unpausing, or skipping songs repeatedly. Besides sounding awful, this takes so many CPU cycles that it becomes nearly impossible to do anything else and clicks can take several minutes to handle. The only thing that will stop it is to kill Amarok, and even then it can take several minutes to get KSysGuard to start and register all the necessary clicks for a kill. I consider this a security vulnerability since it can effectively disable the computer's other functionality for a time, and malware could exploit this if it were capable of generating false button presses.

Possible solutions might be to limit the size of the button buffer or the number of presses of each button that would be acknowledged per second.
Comment 1 Lydia Pintscher 2008-04-08 23:19:04 UTC
Which version of Amarok are you using?
Comment 2 Casey Link 2008-10-09 20:21:36 UTC
No response from author. Closing. 

Also multimedia buttons don't work in Amarok 2 yet.