Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194602

Summary: media-video/xine-ui-0.99.5 generates keypresses, interfering with normal system use
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xine-ui-fake-key.patch
xine-ui-0.99.5.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2007-10-03 12:50:16 UTC
I discovered that while playing, xine-ui generates keypresses of shift_l and control_l in order to stop screensavers and DPMS from starting. That's not acceptable to me when I simultaneously am (for instance) browsing the web with Konqueror and the keyboard navigation keys start popping up every 10 seconds.

This should definitely be configurable behavior, but isn't. Therefore I have patched it out of my copy of xine-ui. Feel free to use the patch if it seems useful.

Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2007-10-03 12:53:29 UTC
Created attachment 132456 [details, diff]
xine-ui-fake-key.patch

This patch just rips out the code responsible. It's already been placed in an ifdef that depends on the Xtest extension being available, it's the only place that ifdef is used so I think I can say it's 100% safe.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2007-10-03 13:08:18 UTC
Created attachment 132459 [details, diff]
xine-ui-0.99.5.patch

patch for xine-ui-0.99.5.ebuild
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-03 18:49:43 UTC
This is not a Gentoo bug. Have you submitted this upstream?
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2007-10-03 19:28:44 UTC
(In reply to comment #3)
> This is not a Gentoo bug. Have you submitted this upstream?

No. This looks like intended behavior.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-12-29 21:54:29 UTC
Indeed it's intended behaviour so it won't be patched out on gentoo. Please file a feature request for xine-ui at http://bugs.xine-project.org/ for an option to disable this behaviour if you care.