Bug 364276

Summary: InputText not getting keyboard input while placed into plasma panel.
Product: [Plasma] plasmashell Reporter: azubieta90
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94, plasma-bugs
Priority: NOR    
Version: 5.5.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
URL: https://paste.kde.org/pqmp5s8cb
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test Case.

Description azubieta90 2016-06-13 16:05:19 UTC
The InputText placed inside a plasmoid in the plama panel doesn't get keyboard input even with "Plasmoid.status" set to "PlasmaCore.Types.AcceptingInputStatus".

When tested in the plasmoidviewer it works well, the problem only happens when it's placed on the plasma panel.

Reproducible: Always

Steps to Reproduce:
1. Put the attached plasmoid in the plasma panel.
2. Try input some text.
Comment 1 azubieta90 2016-06-13 16:07:22 UTC
Created attachment 99479 [details]
Test Case.
Comment 2 Marco Martin 2016-06-13 17:05:02 UTC
Git commit 9ffcb3178cea8b06fdf964fd05cf28319d1ffc8b by Marco Martin.
Committed on 13/06/2016 at 17:02.
Pushed by mart into branch 'master'.

force focus to the panel on AcceptingInputStatus

when the containment (or an applet in it)
gains the state Plasma::AcceptingInputStatus
force the focus to the panel window, restoring
the behavior of Plasma4

M  +2    -0    shell/panelview.cpp

http://commits.kde.org/plasma-workspace/9ffcb3178cea8b06fdf964fd05cf28319d1ffc8b