** Summary changed:

- Evince takes over global shortcut keys
+ Evince hijacks global multimedia keys

** Description changed:

- Binary package hint: evince
+ When Evince starts after a media player in GNOME, The multimedia player
+ keys no longer control the media player, but control Evince instead.
  
- Hello all, another fun bug!
- 
- When some of GNOME's global hotkeys correspond to Evince's ones, Evince
- takes them over and doesn't restore the previous behaviour when it
- exits.
- 
- Here's how I see it on my system (Ubuntu 8.10):
- 1. Set Previous Track/PlayPause/Next track to Ctrl-Alt-Z,X,C respectively in 
System->Preferences->Keyboard Shortcuts
- 2. Launch Banshee or Rhythmbox (tested with both). Observe that the global 
hotkeys work as expected
- 3. Launch Evince
- 4. Make sure Evince is not the active window and hit ctrl-alt-x. Evince 
fullscreens itself
- 5. Exit Evince
- 6. Try to use any of the hotkeys set in step 1. None of them work
+ Test Case:
+ 1. Start Rhythmbox
+ 2. Press media player keys, and observe that Rhythmbox responds
+ 3. Start Evince
+ 4. Press media player keys, and observe that Evince responds.
+ 5. Switch to another window, and press media player keys. Observe that there 
is no response from Rhythmbox or Evince
+ 6. Close Rhythmbox and start it again.
+ 7. Press media player keys. Observe that Rhythmbox responds.
  
  What should happen:
- (In my opinion) Evince shouldn't be taking over global hotkeys that the user 
has set previously. A good first step is to make it detect if they are set and 
not override them. In the future these keys should either be settable by Evince 
preferences or (ideally) in Keyboard Shortcuts in GNOME. Evince should release 
the bindings when it exits to not clobber future applications.
- 
- Thanks all.
+ Evince registers with gnome-settings-daemon with time=1, whereas Rhythmbox 
registers with gnome-settings-daemon with time=0, which is a special value for 
"current time". Hence, Rhythmbox should have priority over Evince when it comes 
to grabbing the multimedia keys, even if Evince is started after Rhythmbox.

-- 
Evince hijacks global multimedia keys
https://bugs.launchpad.net/bugs/263779
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to