Set focus on widgets in system tray popup
ClosedPublic

Authored by davidedmundson on Jan 6 2017, 5:42 AM.

Details

Summary

Fixes the issue most noticable with klipper's text field not having
focus; though use of debug rectangle showed it affected all applets.

Plasma popups get focus, which is given to our StackView, because that's a
focus scope that will give activeFocus to the focussed item within that scope.
However, nothing was explicity set, so nothing got focus.

Test Plan

Debug rectangles followed by checking the original bug of opening klipper twice and on
both occasions typing immediately went into the text box

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson retitled this revision from to Set focus on widgets in system tray popup.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 6 2017, 5:42 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Jan 10 2017, 3:06 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Jan 10 2017, 3:06 PM
This revision was automatically updated to reflect the committed changes.