[Folder View] Don't process mime data if immutable
ClosedPublic

Authored by broulik on Aug 10 2017, 8:10 PM.

Details

Summary

In Desktop containment we reject any drops in the first place but in Folder you can always drop a file where we would then also offer to create an applet which will do nothing if widgets are locked.

BUG: 383371
FIXED-IN: 5.10.5

Test Plan

Verified that dropping a folder onto the desktop when locked no longer offers to create an icon or FV plasmoid. When widgets are unlocked it still works as before.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Aug 10 2017, 8:10 PM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 10 2017, 8:10 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Aug 11 2017, 12:33 PM
This revision is now accepted and ready to land.Aug 11 2017, 12:33 PM
This revision was automatically updated to reflect the committed changes.