[Icon Applet] Reject unacceptable drags
ClosedPublic

Authored by broulik on Feb 23 2017, 10:12 AM.

Details

Test Plan
  • Dragged a color from color picker onto any icon widget → it rejected it
  • Dragged a file onto an icon widget pointing to an image file → it rejected it
  • Dragged a file onto a folder icon widget → it accepted it (icon glow) and dropping showed KIO drop dialog
  • Dragged a file onto an icon widget pointing to a service (Kate shortcut) → it accepted it and dropping opened file in Kate
  • Dragged a file onto an icon widget pointing to a binary (/usr/bin/kate) → it accepted it and dropping opened file with this app
  • Setup shell_access KIOSK restriction and dragged a file onto a binary (/usr/bin/kate) → it rejected it

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.
broulik created this revision.Feb 23 2017, 10:12 AM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 23 2017, 10:12 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Feb 23 2017, 10:24 AM
This revision is now accepted and ready to land.Feb 23 2017, 10:24 AM
This revision was automatically updated to reflect the committed changes.