Commit e315dcd8 authored by Fushan Wen's avatar Fushan Wen Committed by Nate Graham
Browse files

desktoppackage: don't focus on panel when pressing applet shortcuts

The panel focus shortcut is Meta+Alt+P. This keeps the old behavior.

BUG: 453166
FIXED-IN: 5.25
CCBUG: 352476

(cherry picked from commit c89fb196)
parent 28795dac
Pipeline #183004 passed with stage
in 8 minutes and 38 seconds
......@@ -248,26 +248,6 @@ Item {
restoreMode: Binding.RestoreBinding
Connections {
target: containment
function onActivated() {
containment.status = PlasmaCore.Types.AcceptingInputStatus;
// When the containment is set to AcceptingInputStatus he window will be given focus and
// will try to give focus to an itemof the scene, but not the one we wnant. if we call immediately
// forceActiveFocus on the one we want we'll have a race condition that won't happen if we do it later
Connections {
target: parent
function onActiveFocusChanged() {
if (!parent.activeFocus) {
containment.status = PlasmaCore.Types.PassiveStatus
PlasmaCore.FrameSvgItem {
x: root.verticalPanel || !panel.activeFocusItem
? 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment