Diffusion Elisa 5847d0e03f5e

Global shortcut for play/pause action using spacebar key

Authored by ashwind on Jan 15 2019, 4:13 PM.

Description

Global shortcut for play/pause action using spacebar key

Summary:
Assign SpaceBar key as the global shortcut for play/pause action. Most of the media player out there already use spacebar as the global shortcut for play/pause action. So, it would be good to do the same for Elisa.
Modified ElisaMainWindow.qml to add the shortcut component.
Modified MediaPlayerControl.qml to prevent elements from getting focus as it causes interference with the shortcut keypressed events.

BUG: 392989
FIXED-IN: elisa 0.3.80

Reviewers: Elisa, ngraham, mgallien

Reviewed By: Elisa, ngraham, mgallien

Subscribers: shubham, mgallien, ngraham

Tags: Elisa

Differential Revision: https://phabricator.kde.org/D17994

Details

Committed
mgallienJan 15 2019, 4:23 PM
Reviewer
Elisa
Differential Revision
D17994: Global shortcut for play/pause action using spacebar key
Parents
R255:a3577b301e11: fix most problems of keyboard navigation in most views
Branches
Unknown
Tags
Unknown